🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44626

Re: User appearing as 0.0.0.0 ?

#44626
From: Andrew Gierth
Date: Tue, 29 Feb 2000 00:00
53 lines
3039 bytes
>>>>> "News" == News News <news@cpca14.uea.ac.uk> writes:

 News> I'm suspicious about one of our users (and I've anonymised him
 News> in the lines below). Before I tackle him, can anyone tell me
 News> what the "localhost" and "0.0.0.0" lines mean in these extracts
 News> from the news.daily log file ?

"localhost" means what it says. 0.0.0.0 is used in place of an IP
address when referring to innd's local domain socket (which if you
have your permissions right is accessible only to the 'news' user and
group). Due to the way that data from different logs is combined,
connections on the local socket are listed under 'localhost' in one
table and 0.0.0.0 in the other.

The most common use of the local socket is by nnrpd. When a user posts
an article, nnrpd does the initial processing of it, then tries to
feed it to innd via the local socket so that innd can file it in the
spool and propagate it to outgoing feeds.

 News> We have 2 news servers, from netnews.ja.net. "localhost" has
 News> appeared in the Incoming Feeds section, and "0.0.0.0" in the
 News> Bad Articles section for several days.

 News> I believe the culprit is using the machine listed under
 News> "Curious NNRP server explorers", because the number of
 News> connections is always very close to that under "Sites sending
 News> bad articles".

You need to look at the "NNRP readership statistics" too.

A "curious server explorer" is a client that connects and then
disconnects without doing any actual reader activity. That's
consistent with your results from nnrpd.track.

Connections that actually do things are summarised in the readership
stats.

 News> Also, how can I find out which groups the articles were posted
 News> to ?

For rejected articles the article is not kept. For successful posts,
you can get the message-ids from news.notice, and either read them by
message-id using nnrpd, or extract them from the spool using
grephistory and sm (or cat if you're running traditional spool).

Incidentally, a high number for 'too old' rejects from localhost I
would treat as suspicious and investigate; there's no good reason
for that to happen.

-- 
Andrew.

Technical Details
Message-ID: <87u2irztp6.fsf@erlenstar.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <89gpcf$api$1@cpca14.uea.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <87u2irztp6.fsf@erlenstar.demon.co.uk>
Subject: Re: User appearing as 0.0.0.0 ?
Date: Tue, 29 Feb 2000 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <89gpcf$api$1@cpca14.uea.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 591440222
X-Mayan-Date: Long count = 12.19.6.17.19; tzolkin = 3 Cauac; haab = 7 Kayab
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha