🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87905

Re: nnrpd log (SOLVED)

#87905
From: Julien ÉLIE
Date: Mon, 17 Dec 2018 20:27
34 lines
2332 bytes
Hi Paolo,

> Il Mon, 17 Dec 2018 17:00:44 +0100, Julien ÉLIE ha scritto:
> 
>> Also, when nnrpd does not handle a connection because of a high load
>> average, the IP / hostname is not logged.
> 
> imho this is a bad rule, probably a bug.
> If when the load is too high the server does not log which IPs have
> generated the traffic, the newsmaster can not know which IP has to ban.
> 
> but it's only my opinion

I agree.
I have a pending patch that I'll soon commit for INN 2.6.3.  I'm just 
waiting for innreport to run once.

Logs now look like:

Dec 17 20:50:38 news nnrpd[32756]: localhost (127.0.0.1) connect - port 563
Dec 17 20:50:38 news nnrpd[32756]: localhost failure to negotiate TLS 
session
Dec 17 20:50:38 news nnrpd[32756]: localhost times user 0.020 system 
0.000 idle 0.000 elapsed 0.021
Dec 17 20:50:38 news nnrpd[32756]: localhost time 24 nntpwrite 0(1)

and a similar log at the second line in case of high load.

-- 
Julien ÉLIE

« Corruptissima republica plurimae leges. »

Technical Details
Message-ID: <pv90so$2pa$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> <pv8h7h$15l$1@news.trigofacile.com> <pv8hlj$2o5$2@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <pv90so$2pa$1@news.trigofacile.com>
Subject: Re: nnrpd log (SOLVED)
Date: Mon, 17 Dec 2018 21:27:55 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <pv8dui$1im4$1@gioia.aioe.org> <pv8fs2$1s75$1@gioia.aioe.org> <pv8h7h$15l$1@news.trigofacile.com> <pv8hlj$2o5$2@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 20:28:08 -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="2858"; 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: <pv8hlj$2o5$2@gioia.aioe.org>
Content-Language: fr
X-Received-Bytes: 2363
X-Received-Body-CRC: 2767254255