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)
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)