Article View: news.software.nntp
Article #4538Re: antispam proposal: USP (Usenet Speed Penalty)
From: The Gentleman
Date: Thu, 01 Feb 1996 00:00
Date: Thu, 01 Feb 1996 00:00
71 lines
3893 bytes
3893 bytes
In article <qumlomok7uk.fsf@cyclone.Stanford.EDU>,
Russ Allbery <rra@cs.stanford.edu> wrote:
}In news.admin.net-abuse.misc, The Gentleman <gentlman@alinc.com> writes:
}> Russ Allbery <rra@cs.stanford.edu> wrote:
}
}>> I've never needed to kill on anything not returned by XOVER (assuming
}>> that XOVER returns Xref, which it should).
}
}> Can you explain this to me a little more? Although I am sure no
}> existing Windows software does it, I might dust off my own project.
Just to qualify this for the readers in news.software.nntp, the 'it' I
am referring to here is killfiling based on the References: or Newsgroups:
line.
}
}I'm really asking for it, posting this to news.software.nntp. At least
}any errors will be corrected quickly.
}
}If you telnet into your NNTP server and say something like:
}
} group news.admin.net-abuse.misc
} xover
}
}you'll get an XOVER entry (if you have a good news server). It contains,
}in order, the message ID, the subject, the from line, the date, the
}message ID, the references, the size of the message in bytes, the number
}of lines, and (on many systems) the Xref header (basically the
}newsgroups). (This is site configurable but extremely standard. It's
}given by overview.fmt in the lib directory of INN on INN sites.)
}
}The original intention of this entry was to do threading, which is why it
}contains the message id and the references. trn and the like use it. But
}it also has all the information necessary to do killfiling, and it's
}*extremely* fast for the news server to get (since it's stored in separate
}files and doesn't require reading the actual articles).
}
}The typical XOVER-aware newsreader connects to the news server, issues a
}group command, and uses that returned information and the .newsrc (or
}equivalent) to determine which articles to get. It then issues an XOVER
}request for that article range, and the news server dumps them all down to
}the client.
In one batch, rather than using recursing HEAD and NEXT commands?
That would be much faster.
} A well-constructed news reader does killfile and thread
}processing at this point, and then only sends an ARTICLE request when the
}user actually reads the article (or if the user has a body killfile). The
}news reader may also need to send a HEAD request for the article header if
}the user is killfiling on arbitrary headers, but I've never needed to do
}that; the XOVER ones are sufficient.
Yeah. More work to count XRef: segments than commas in Newsgroups:,
but the other advantages outweigh that. Come to think, you could just count
colons or spaces. I assume that an XAPT request is related?
Looks like there a lot to writing newsreaders that didn't make the
RFC's. I think I need to add another group to my reading.
Regards,
The Gentleman
--
Semi-pro, Semi-competent web author, programmer, and all-around
computer geek. Life? I had one of those once. My computer ate it.
White Knight Consulting Web Page at:
http://www.alinc.com/~gentlman
Please don't laugh, it'll get better.
Technical Details
Message-ID:
<4epl8n$c1o_001@ttyCd.alinc.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<4dunqp$g8s@hustle.rahul.net> <4e0c6e$6ap@hptemp1.cc.umr.edu>Show Full Headers
Complete Article Headers
Message-ID: <4epl8n$c1o_001@ttyCd.alinc.com> Subject: Re: antispam proposal: USP (Usenet Speed Penalty) Date: Thu, 01 Feb 1996 00:00:00 +0000 From: gentlman@alinc.com (The Gentleman) References: <4dunqp$g8s@hustle.rahul.net> <4e0c6e$6ap@hptemp1.cc.umr.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 137473423 Distribution: world Organization: White Knight Consulting Newsgroups: news.admin.net-abuse.misc,news.software.b,news.software.nntp,alt.current-events.net-abuse