Re: Scoring macro for posting hosts?
"Just a User" <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Mar 16, 2008 at 10:09 PM, Sven Guckes <[email protected]> wrote: > * Just a User <[email protected]> [2008-03-14 14:29]: > > > > Some of the newsgroups I subscribe to are suffering badly > > from splorge attacks - large number of messages sent > > in quick succession from a single compromised host. > > > > Adding a scorefile entry against the NNTP-Posting-Host header > > kills each individual splorge, but it needs to be done often > > enough to make it a pain to do it manually each time. > > > > Can one of the slang-masters here provide a little > > macro that with one key press will add a scorefile > > entry of -9999 for messages in the current group whose > > NNTP-Posting-Header matches that in the currently > > displayed post (say expiring in 7 days)? > > "a scorefile entry which ... matches.."? > > so - you want slrn to find all the "bad" posts > based on the current one as being "bad" - > and then suggest a *pattern* which matches > the "bad" posts, but not the "good" ones? What I mean is a macro that's run when there's a post currently being displayed, which does the following: 1) Look at the headers of the current post. Find the line that looks like NNTP-Posting-Host: 1.2.3.4 2) Create a new score-file entry that will score as -9999 all posts in the current group, with an NNTP-Posting-Host header matching the one just found, for the next 7 days. Does that make sense? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/