Article View: news.software.nntp
Article #89353Re: Usenet peering over Tor
From: Julien ÉLIE
Date: Sun, 22 May 2022 13:40
Date: Sun, 22 May 2022 13:40
57 lines
3775 bytes
3775 bytes
Hi Matija, >>> While I'm not sure if using or understanding it correctly, I use a >>> 'password' in innfeed and incoming.conf. While it seems to work >>> ok, I'm not sure why you can set a username in innfeed, but not >>> incoming.conf. It's been a while since I've spent much time on this. [...] > Although AUTHINFO password is probably just fine for most use cases (if it is > of reasonable complexity). > That is assuming that incoming.conf AUTHINFO feature actually works correctly :-) Yes, I confirm AUTHINFO works fine in both innfeed and innd. I thoroughly tested it when implementing NNTP v2. The reason behind that behaviour is historical. Prior to INN 2.6.0, released in 2015, a remote peer could just send "AUTHINFO PASS" (without a previous "AUTHINFO USER" command), which is contrary to RFC 4643, to be authenticated. innd does not historically take into account a username, but only a password. (Note that a mere "AUTHINFO USER" is allowed by RFC 4643, but not a mere "AUTHINFO PASS".) From ChangeLog in 2.6.0: %%% The NNTP protocol requires a username to be sent before a password when authentication is used. innd was wrongly allowing only a password to be sent by authenticated peers. Owing to the implementation of RFC 4643 (AUTHINFO USER/PASS) in innd, if remote peers have to authenticate in order to feed articles, they now have to send a username (which was previously wrongly optional), before sending their password. The mandatory username, though currently unused by innd, can be whatever the remote peer wishes. In previous versions of INN, inncheck was already complaining when passwd.nntp contained an empty username associated with a password. A manual review of authenticated feeds should then be done so as to ensure that they are properly working. %%% When doing that change (committed in 2009), I normally made sure other major open source NNTP servers were sending AUTHINFO USER and therefore this would not break badly existing interoperability. Seems like it did not (nobody using other NNTP servers I did not look at ever complained) :-) -- Julien ÉLIE « Tout homme devrait un jour se marier ; après tout, le bonheur n'est pas la seule chose dans la vie. »
Technical Details
Message-ID:
<t6degv$18241$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<t60624$94k$1@dont-email.me> <04d569cad213f99655ed8364caeb11b7@news.novabbs.org> <t699eg$ko8$1@tncsrv09.home.tnetconsulting.net> <d4486ae4a0726e951ed7f46be3004d01@news.novabbs.org> <t69tpm$fk2$1@tncsrv09.home.tnetconsulting.net> <slrnt8hlir.2d6.mnalis-news@leia.home.lan>Show Full Headers
Complete Article Headers
Message-ID: <t6degv$18241$1@news.trigofacile.com> Subject: Re: Usenet peering over Tor Date: Sun, 22 May 2022 15:40:47 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <t60624$94k$1@dont-email.me> <04d569cad213f99655ed8364caeb11b7@news.novabbs.org> <t699eg$ko8$1@tncsrv09.home.tnetconsulting.net> <d4486ae4a0726e951ed7f46be3004d01@news.novabbs.org> <t69tpm$fk2$1@tncsrv09.home.tnetconsulting.net> <slrnt8hlir.2d6.mnalis-news@leia.home.lan> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 22 May 2022 13:40:47 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="1312897"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Cancel-Lock: sha1:D6m0gbEpT+cJMSikwQmdF5lwfcg= sha256:4/2ELDwIHHhaw2ULg7J+xcG5Bli2HohWYbZOxcziya0= sha1:Zrbf167LVd/QfogF93tco0b5C8o= sha256:pSw6mZ5E6CCf80dIbkwBjP6dyJZFng76qQfNrBDGg54= In-Reply-To: <slrnt8hlir.2d6.mnalis-news@leia.home.lan>