🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by News News Tue, 29 Feb 2000 00:00
User appearing as 0.0.0.0 ?
#44617
Author: News News
Date: Tue, 29 Feb 2000 00:00
57 lines
2908 bytes
I'm suspicious about one of our users (and I've anonymised him in
the lines below). Before I tackle him, can anyone tell me what the
"localhost" and "0.0.0.0" lines mean in these extracts from the
news.daily log file ? 

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

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

I tried turning on nnrpd.track, but didn't get anything useful, ie only
a lot of log files containing:
  the.suspect.uea.ac.uk Tracking Enabled (xxx)
  the.suspect.uea.ac.uk Tracking Disabled (xxx)
Should user tracking give more details than this ? I can get all the
useful information by using grep on news.notice.

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

Pat Newby, p.newby@uea.ac.uk

                           _______________

  Incoming Feeds (INN):  (I've trimmed %Accpt and Elapsed)

  Server                Connects  Offered   Taken Refused  Reject
  server1.netnews.ja.net     131   378244  132794   12536  232914
  server2.netnews.ja.net      30   342894    8545  312592   21757
  localhost                 1095      950      51       0     899

  TOTAL: 3                  1256   722088  141390  325128  255570


  Sites sending bad articles: (I've trimmed Site, Line and Other)

  Server                   Total  Group  Dist Duplic Unapp TooOld
  server1.netnews.ja.net  234086 233761     0    311    14      0
  server2.netnews.ja.net   21748  21678     0     67     3      0
  0.0.0.0                    899      0     0      0     0    893

  TOTAL: 3                256733 255439     0    378    17    893


  Curious NNRP server explorers:
  System                                                     Conn
  the.suspect.uea.ac.uk                                       893

                           _______________
-- 
Pat Newby, IT and Computing Services (ITCS),
           University of East Anglia, Norwich, NR4 7TJ, UK.
           Email news@uea.ac.uk

Re: User appearing as 0.0.0.0 ?
#44626
Author: 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.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads