Article View: news.software.nntp
Article #87008Re: STARTTLS testing
From: Julien ÉLIE
Date: Sat, 26 Sep 2015 19:23
Date: Sat, 26 Sep 2015 19:23
38 lines
2497 bytes
2497 bytes
Hi Steve, Thanks to your further testing. I think the explanation of what you're seeing is that your news client does not authenticate after using STARTTLS. INN currently determines the permissions of an user when: 1/ he connects; 2/ he authenticates (via the use of AUTHINFO USER/PASS or AUTHINFO SASL). When the connection is encrypted from the start (for instance via port 563), auth groups using require_ssl are taken. When the connection is not encrypted from the start, such auth groups are not taken into account. An AUTHINFO command has to be sent after STARTTLS so that they are seen. Does it explain your test case? Now, the question is: should we change that behaviour, that is to say updating the permissions after a successful use of STARTTLS? Personally, I think it would be a good change to do. Any other thoughts? I also see that if AUTHINFO SASL is used and negotiates a security layer, INN currently does not take that fact into account (that is to say auth groups with require_ssl set to true still won't be matching that connection). I believe it should. -- Julien ÉLIE « – C'est une bonne situation ça, scribe ? – Oh, c'est une situation assise. » (Astérix)
Technical Details
Message-ID:
<mu6rbm$nir$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.(19219).mbox.7z!not-for-mailReferences:
<slrnn0aagq.tso.steve@snorky.mixmin.net> <mu4a0d$s4e$1@news.trigofacile.com> <slrnn0d4eu.tso.steve@snorky.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <mu6rbm$nir$1@news.trigofacile.com> Subject: Re: STARTTLS testing Date: Sat, 26 Sep 2015 21:23:34 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <slrnn0aagq.tso.steve@snorky.mixmin.net> <mu4a0d$s4e$1@news.trigofacile.com> <slrnn0d4eu.tso.steve@snorky.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 26 Sep 2015 19:23:34 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-323-87.w83-200.abo.wanadoo.fr:83.200.90.87"; logging-data="24155"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: <slrnn0d4eu.tso.steve@snorky.mixmin.net> X-Received-Body-CRC: 317794783 X-Received-Bytes: 2494