Article View: news.software.nntp
Article #82731NNRPD - connect message in syslog
From: D. Stussy
Date: Tue, 02 Feb 2010 20:35
Date: Tue, 02 Feb 2010 20:35
22 lines
1628 bytes
1628 bytes
Hint: It would be nice if the NNRPD connection message in the syslog
indicated the server's port number (so one can tell if a peer executed
"mode reader" on port 119, or if someone came in on port 563, etc.). This
is especially helpful when NNRPD is spawned as a child process of INN or
inetd.
inn-2.5.1/nnrpd/nnrpd.c - line 612:
notice("%s (%s) connect", Client.host, Client.ip);
becomes
notice("%s (%s) connect - port %u", Client.host, Client.ip,
ListenPort);
Also, at line 1034, should we "free(path);"? I think we should keep the
filename of our PID file around and unlink it as we exit - i.e. in
ExitWithStats() starting at line 196.
Technical Details
Message-ID:
<hka2rk$3p4$1@snarked.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.snarked.org!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <hka2rk$3p4$1@snarked.org> Subject: NNRPD - connect message in syslog Date: Tue, 2 Feb 2010 12:35:19 -0800 From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 22 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: 71.118.51.220 X-Trace: snarked.org 1265143476 3876 71.118.51.220 (2 Feb 2010 20:44:36 GMT) X-Complaints-To: newsmaster+complaints@snarked.org NNTP-Posting-Date: Tue, 2 Feb 2010 20:44:36 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478