Article View: news.software.nntp
Article #86766Re: Unicode in USENET article headers
From: Julien ÉLIE
Date: Fri, 08 May 2015 18:02
Date: Fri, 08 May 2015 18:02
48 lines
3597 bytes
3597 bytes
Hi Michael,
> The RFC4643 authentication problem was a bit subtle:
> My NNTP driver normally do client to server authentication only after
> the server request it via a 480 response. Because your server advertise
> no POST capability before authentication, the driver rejected the POST
> command before execution. Therefore it received no 480 response and
> never tried to authenticate.
Yep, this is how CAPABILITIES works. If the POST capability is not
available in the current state of the connection, then it is not advertised.
See Section 3.3.1 of RFC 3977:
The server MUST ensure that the capability list accurately reflects
the capabilities (including extensions) currently available. If a
capability is only available with the server in a certain state (for
example, only after authentication), the list MUST only include the
capability label when the server is in that state. Similarly, if
only some of the commands in an extension will be available, or if
the behaviour of the extension will change in some other manner,
according to the state of the server, this MUST be indicated by
different arguments in the capability line.
> Immediate authentication is implemented in the driver as an option too,
> but is not the default, because RFC4643 specify:
> |
> | Servers SHOULD accept such unsolicited authentication requests.
> ^^^^^^
> In other words: Only "auth after 480" is mandatory and a server is
> allowed to reject an unsolicited authentication.
> Maybe I should nevertheless switch the default setting for the NNTP
> driver?
I believe switching to an encrypted connection and then authenticating
should be done as soon as possible. Indeed, the available commands can
change after that (you could have POST, NEWNEWS...) as well as the
result of the LIST command.
--
Julien ÉLIE
« – Est-ce que tu peux remettre en état un druide qui a dérapé
sur une roche d'huile ?
– Euh ?!? C'est un accident peu fréquent, mais je pense pouvoir y
parvenir ! » (Astérix)
Technical Details
Message-ID:
<miitn9$lbf$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-651-1-51-202.w81-249.abo.wanadoo.fr!not-for-mailReferences:
<AABVSz44XaQAABwE.A1.flnews@WStation3.stz-e.de> <mii6oa$rsc$1@news.trigofacile.com> <AABVTMECx4oAAAxO.A1.flnews@WStation3.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <miitn9$lbf$1@news.trigofacile.com> Subject: Re: Unicode in USENET article headers Date: Fri, 08 May 2015 20:02:16 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <AABVSz44XaQAABwE.A1.flnews@WStation3.stz-e.de> <mii6oa$rsc$1@news.trigofacile.com> <AABVTMECx4oAAAxO.A1.flnews@WStation3.stz-e.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-651-1-51-202.w81-249.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 8 May 2015 18:02:17 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-51-202.w81-249.abo.wanadoo.fr:81.249.170.202"; logging-data="21871"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; In-Reply-To: <AABVTMECx4oAAAxO.A1.flnews@WStation3.stz-e.de> Lines: 47