Article View: news.software.nntp
Article #89388Re: INN nnrpd-ssl error: "can't read: Permission denied"
From: Julien ÉLIE
Date: Sun, 29 May 2022 09:57
Date: Sun, 29 May 2022 09:57
50 lines
3274 bytes
3274 bytes
Hi Thomas, > sometimes nnrpd, using TLS, will log an error message I don't understand: > | May 28 xx:52:38 nnrpd-ssl[25759]: 2a02:8108:8dc0:[...] can't read: Permission denied > > It's always the same user, AFAIS Do you happen to know which news reader he is using? > and it's logged together with a > "timeout" message, before the connection terminates, like that > (identifying information removed): > | May 28 xx:06:10 nnrpd-ssl[25759]: starttls: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) no authentication > | May 28 xx:06:10 nnrpd-ssl[25759]: ? reverse lookup for 2a02:8108:8dc0:[...] failed: Name or service not known -- using IP address for access > | May 28 xx:06:10 nnrpd-ssl[25759]: 2a02:8108:8dc0:[...] (2a02:8108:8dc0:[...]) connect - port 119 Is nnrpd-ssl listening to port 119 with implicit TLS (session directly encrypted)? Or is this client using explicit TLS (connecting to port 119 and then sending a STARTTLS command)? > | May 28 xx:06:15 nnrpd-ssl[25759]: 2a02:8108:8dc0:[...] group [...] 0 > | May 28 xx:52:38 nnrpd-ssl[25759]: 2a02:8108:8dc0:[...] can't read: Permission denied > | May 28 xx:52:38 nnrpd-ssl[25759]: 2a02:8108:8dc0:[...] timeout > > This does not happen on every connect from that user, and it's not always > the same group before or after the timeout. > > Where does that message come from, and what may be the reason? Thanks to tests with Michael, I've recently improved how nnrpd handles timeouts during TLS sessions. The following change will be in INN 2.7.0: https://github.com/InterNetNews/inn/commit/e078fd53a4839593d79402e1ca6c672298ef577b I hope it will fix the error you see. Especially when the change consists of no longer SSL_read'ing incoming data after the close_notify shutdown alert. nnrpd now does the right logic, described in the (complex) OpenSSL documentation. -- Julien ÉLIE « Il n'y a que le premier pas qui coûte. » (Mme du Deffand)
Technical Details
Message-ID:
<t6vg2r$1lhc4$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:
<nsn.20220529112245.919@scatha.ancalagon.de>Show Full Headers
Complete Article Headers
Message-ID: <t6vg2r$1lhc4$1@news.trigofacile.com> Subject: Re: INN nnrpd-ssl error: "can't read: Permission denied" Date: Sun, 29 May 2022 11:57:46 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <nsn.20220529112245.919@scatha.ancalagon.de> 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, 29 May 2022 09:57: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="1754500"; 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.1 Cancel-Lock: sha1:ltNFB6No9bOAt0K3lSmVVVpvP5c= sha256:/ekfEvXsykw+lJuf9s/cljEICpB8yYpwl2N3EAiDTnY= sha1:fDyR0XdEknctwmwtwhG1RdJLZf4= sha256:m2VcHng8sLrXCil+As+FiZ5dAJZbrTxcp57Deo8OjyM= In-Reply-To: <nsn.20220529112245.919@scatha.ancalagon.de>