Article View: news.software.nntp
Article #15079Re: Newsfeed metrics: log/news vs. log/news.notice
From: Per Hedeland
Date: Sat, 15 Feb 1997 00:00
Date: Sat, 15 Feb 1997 00:00
58 lines
3085 bytes
3085 bytes
[ Bogus Distribution: inet removed ]
In article <330608dd.49402840@newsgate> gordy@nytimes.com (Gordy
Thompson) writes:
> If I count and array acceptance/refusal/rejection by site in
>log/news, I get this:
No way can you count refusals in log/news - they're simply not there.
Your script seems to assume that "-" means "refusal", but according to
innd(8):
If the fourth field is a minus sign, then the article was
rejected.
^^^^^^^^
(It goes on to list a number of reasons for rejection.) I believe this
is a correct description:
Refused: Innd declined to receive the article upon seeing the Message-ID
in IHAVE or CHECK - logged *only* in 'news.notice'. The only reason for
refusal is that the Message-ID is already present in the history file.
Rejected: Innd decided to take the article upon seeing the Message-ID in
IHAVE or CHECK (i.e. it wasn't present in the history file), or had no
choice in the matter in TAKETHIS, but later decided it didn't want it
after all - logged in both 'news' and 'news.notice'. There are many
reasons for rejection.
> Q: Am I wasting my time analyzing log/news because the
>acceptance/refusal/rejections by host aren't representative of
>efficiency (because it's not logging a bunch of refusals/rejections
>that occurred prior to whatever it's tallying)?
Probably.
> Q2: Assuming I am, could someone show me the way to a patch to
>(art.c? chan.c? something?) so that log/news.notice would log
>connections by =site= rather than by =host=?
You can't really do that - the "site" that you see in log/news is the
first entry in the Path: header - as per above, on a refusal innd never
even *receives* the Path: header. You could do some approximation by a)
hoping that at least one article in each connection isn't refused, b)
assume that all articles in a given connection has the same first Path:
entry, and c) use the Path: entry from the first non-refused article -
but that's pretty gross...:-)
If you're really desperate, you could configure the inner interface of
your firewall to have multiple IP addresses, and hack whatever proxy
software is running there to bind to a different local address depending
on where the connection originated - this would then show up as
different "hosts" in news.notice.
--Per Hedeland
per@erix.ericsson.se
Technical Details
Message-ID:
<5e56u3$884$1@news.du.etx.ericsson.se>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-mailReferences:
<3300d236.10115866@newsgate> <Pine.SOL.3.95.970214094239.8276F-100000@dahlia> <5e4gdh$2rm$1@news.du.etx.ericsson.se> <330608dd.49402840@newsgate>Show Full Headers
Complete Article Headers
Message-ID: <5e56u3$884$1@news.du.etx.ericsson.se> Subject: Re: Newsfeed metrics: log/news vs. log/news.notice Date: Sat, 15 Feb 1997 00:00:00 +0000 From: per@erix.ericsson.se (Per Hedeland) References: <3300d236.10115866@newsgate> <Pine.SOL.3.95.970214094239.8276F-100000@dahlia> <5e4gdh$2rm$1@news.du.etx.ericsson.se> <330608dd.49402840@newsgate> 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: 219032627 Organization: Ericsson Telecom, Stockholm, Sweden NNTP-Posting-User: per Newsgroups: news.software.nntp