🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87902

Re: nnrpd log (SOLVED)

#87902
From: Julien ÉLIE
Date: Mon, 17 Dec 2018 16:00
39 lines
2504 bytes
Hi Paolo,

> there is a small bug in inn 2.5.4
> If a user tries to establish an unsecured connection (plain) with nnrpd-
> ssl, the connection is not established but the IP address that attempted
> the connection is not saved in the logs.

Yep, or more generally if the initial TLS handshake fails.


> $ telnet nntp.aioe.org 563
> 
> ----------------
> 
> Dec 17 16:33:59 gioia nnrpd-ssl[61418]:  times user 0.004 system 0.004
> idle 0.000 elapsed 26.975
> Dec 17 16:33:59 gioia nnrpd-ssl[61418]:  time 26976 nntpwrite 0(1)
> ----------------

These logs are written when nnrpd exits.  In this case, the client never 
managed to initiate an NNTP session (as the implicit TLS session is not 
established).

Also, when nnrpd does not handle a connection because of a high load 
average, the IP / hostname is not logged.  This is the second case where 
nnrpd exits before trying to find IP / hostname, and it has a special 
additional log "load xx > yy".

I can have a look to try to compute the IP / hostname in these two 
cases, so that it is logged.

-- 
Julien ÉLIE

« – Ce n'était pas ma question.
   – C'était p'têt pas vot'question, oui, mais c'est ma
     réponse ! » (Georges Marchais répondant à Alain Duhamel)

Technical Details
Message-ID: <pv8h7h$15l$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-mail
References: <pv8dui$1im4$1@gioia.aioe.org> <pv8fs2$1s75$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <pv8h7h$15l$1@news.trigofacile.com>
Subject: Re: nnrpd log (SOLVED)
Date: Mon, 17 Dec 2018 17:00:44 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <pv8dui$1im4$1@gioia.aioe.org> <pv8fs2$1s75$1@gioia.aioe.org>
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: Mon, 17 Dec 2018 16:00:49 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a7750071e79a076871d2db.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:71e7:9a07:6871:d2db";
 logging-data="1205"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
In-Reply-To: <pv8fs2$1s75$1@gioia.aioe.org>
Content-Language: fr
X-Received-Bytes: 2511
X-Received-Body-CRC: 923419512