Thread View: news.software.nntp
50 messages
50 total messages
Started by Jeremy
Tue, 12 Aug 1997 00:00
Diabolical anti-spam nnrpd patch
Author: Jeremy
Date: Tue, 12 Aug 1997 00:00
Date: Tue, 12 Aug 1997 00:00
135 lines
5561 bytes
5561 bytes
A certain mega-spammer signed up here again several days ago. He was nice
enough to log in, post three copies of his spam, and then log back out,
setting off the alarms and giving me ample advance notice. These guys
have spammed from here several times, so just seeing their URLs was enough
to cancel the account instantly -- but I wanted to do better than that.
So, Joe Greco provided some quick code, which I hacked into nnrpd, which
accepts the spammer's posts and then silently drops them on the floor.
Mr. Spam has been going strong here since Saturday morning, and thinks
he has posted over 95,000 copies of his sex spam -- none of which have
actually been posted. That's 95,000 spams that will never see the light
of day, 95,000 cancels that will never have to be issued, and one
spammer who is wasting his time here instead of spamming from another
ISP.
I have turned the code into a patch, which I present below. Joe did the
code, so give him the thanks; all I did was hack it into nnrpd, test it,
turn it into a patch, and write the instructions, which I'm also including
below.
Coming soon: a similar patch for those using the Perl filters, allowing
even more flexibility.
----------------------
NNRP Post Filter patch
This is a modification to nnrpd which allows you to take "bad" posts
from a spammer and drop them on the floor, while returning success
to the client. If you know a spammer is starting up, you can ensure
that he will be wasting his time with your server.
Create a file called nnrp.post-filter (you need to specify the location
in the code before compiling it). The file should contain a list
of "banned" strings, one per line. If any of these strings appears
in a post, nnrpd will return a success response to the client, but
fail to post it to the server. Obviously this is most useful if
you can keep an eye on what your spammer is doing.
For example, if a spammer tries to post ten thousand copies of "come
to http://dirty.pictures.com", you can put "http://dirty.pictures.com"
into nnrp.post-filter, and he will waste his time all evening,
thinking he's getting lots of spam out. The failures will be logged
to news.notice.
The patch is against the nnrpd in the standard INN 1.5.1 distribution.
Apply it in $INN/nnrpd. You need only recompile nnrpd (do a `make'
in the nnrpd directory) and move the new executable to the right place.
This patch for INN has been released to the public domain by
Joe Greco and sol.net Network Services, 11 Aug 1997. Please
visit http://www.nntp.sol.net/patches for other neat stuff!
Spam sucks! Kill it dead.
The code was hacked in and tested, and the patch was created, by
Jeremy Nixon. It's had a lot of testing; as of this writing, I
have over 95,000 spams dropped from a certain mega-spammer.
-8<----------cut here------------------------------------------------
*** post.c.orig Fri Aug 8 16:31:38 1997
--- post.c Mon Aug 11 20:56:31 1997
***************
*** 548,553 ****
--- 548,592 ----
return NULL;
}
+ /* Case-insensitive substring search */
+ char *strcasestr(char *str1, char *str2)
+ {
+ int len = strlen(str2);
+
+ while (*str1) {
+ if (! strncasecmp(str1, str2, len)) {
+ return(str1);
+ }
+ str1++;
+ }
+ return(NULL);
+ }
+
+ /* Takes a list of "banned strings" from a file, and */
+ /* silently drops posts containing them */
+ int NnrpPostFilter(char *article)
+ {
+ FILE *fp;
+ char buffer[1024], *ptr;
+
+ if (! (fp = fopen("/var/news/etc/nnrp.post-filter", "r"))) {
+ return(0);
+ }
+ while (! feof(fp)) {
+ fgets(buffer, sizeof(buffer), fp);
+ if (! feof(fp)) {
+ if (ptr = strrchr(buffer, '\n')) {
+ *ptr = '\0';
+ }
+ if (strcasestr(article, buffer)) {
+ fclose(fp);
+ return(1);
+ }
+ }
+ }
+ fclose(fp);
+ return(0);
+ }
/*
** Check the newsgroups and make sure they're all valid, that none are
***************
*** 785,790 ****
--- 824,836 ----
if ((error = CheckIncludedText(article, i)) != NULL)
return error;
#endif /* defined(DO_CHECK_INCLUDED_TEXT) */
+
+ /* Check the filter list */
+ if (NnrpPostFilter(article)) {
+ syslog(L_NOTICE, "%s post dropped by NNRP filter", ClientHost);
+ return(NULL);
+ }
+
if ((error = ProcessHeaders(i)) != NULL)
return error;
if (i == 0 && HDR(_control) == NULL)
-8<------------------------------------------------------------
--
Jeremy | jeremy@exit109.com
"Do you think a princess, and a guy like me..." --Han Solo
Re: Diabolical anti-spam nnrpd patch
Author: Mark Hittinger
Date: Tue, 12 Aug 1997 00:00
Date: Tue, 12 Aug 1997 00:00
59 lines
3578 bytes
3578 bytes
Jeremy <jeremy@exit109.com> writes: >So, Joe Greco provided some quick code, which I hacked into nnrpd, which >accepts the spammer's posts and then silently drops them on the floor. >Mr. Spam has been going strong here since Saturday morning, and thinks >he has posted over 95,000 copies of his sex spam -- none of which have >actually been posted. That's 95,000 spams that will never see the light >of day, 95,000 cancels that will never have to be issued, and one >spammer who is wasting his time here instead of spamming from another >ISP. >I have turned the code into a patch, which I present below. Joe did the >code, so give him the thanks; all I did was hack it into nnrpd, test it, >turn it into a patch, and write the instructions, which I'm also including >below. We have a similar patch imbedded in rnews (our nnrpd spools posts to in.coming for later processing by rnews). We do find that most spammers leave a token string in their spam which is either a url or a phone number. Software which looks for these token strings has proven to be a very powerfull tool in the anti spam war here. It may be more efficient in VM terms to reverse the string order testing in the patch. It is probably better to test each filter string against the first byte of the file, then the second byte etc. Traversing large articles for each filter string is somewhat slower. You also need some sort of counter for each filter string that is "hit" so that you can cull your database. I suppose you could get that out of the syslog entry. We find that most spammers here will hit us fairly hard for a week or so and then go away to greener pastures. After the couple of weeks goes by the filter string is never seen again here (usually). Another thing that we see here is that the spammers will either start out on the email side of things and migrate over to news with the same token string in their spam, or they will start out on news and migrate over to email. By implementing the same software modification into "smap" we've got a very good trick up our sleeve. If we obtain a token string from news spam, we can drop it into our "smap" filter and defeat the following email spam before it even goes out (or vice versa with "smap" tokens copied to the news side). Our current work here is to try and unify as much as possible our email and news filtering techniques and to automate them. We'd also like to be able to create a netwide "filter token" database so that spammers who hit one ISP (that contributes to such a netwide database) would never get anywhere by switching to another ISP. A real time query-able (and update-able) netwide filter token database would be even more diabolical MUHAHAHA! It appears that many spammers (by virtue of the scale of their operation) do not have a large list of pigeons' spools to dump their spam onto. Regards, Mark Hittinger Netcom/Dallas bugs@freebsd.netcom.com
Re: Diabolical anti-spam nnrpd patch
Author: Jeremy
Date: Tue, 12 Aug 1997 00:00
Date: Tue, 12 Aug 1997 00:00
17 lines
1218 bytes
1218 bytes
Joe Greco <jgreco@ns.sol.net> wrote: >Which is to say, Jeremy did the hard work of integrating my hypothetical >code (composed in an E-mail message) into nnrpd, finding and fixing a >think-o or two, and actually making it work, which is probably harder >than the code itself - but still, give me the thanks. Hah. Thanks. :) Incidentally, my spammer is still going strong -- 30,000 more posts since I posted the patch. He still doesn't seem to have a clue that he's wasting his time. -- Jeremy | jeremy@exit109.com The customer is always right, until he tries to say something.
Re: Diabolical anti-spam nnrpd patch
Author: aos
Date: Tue, 12 Aug 1997 00:00
Date: Tue, 12 Aug 1997 00:00
47 lines
2849 bytes
2849 bytes
Jeff Garzik <jeff.garzik@spinne.com> wrote:
> A list of "kill strings" is always effective, especially on the
> make-money-fast crowd. Check out J. Porter Clark's MMF ncms or
> someone running my Perl filter to see hundreds of MMFs still floating
> around every day.
Agreed. Jeff's Perl script works really nicely for this. Some of my
own additions to the script (which might catch a _few_ legit posts, but
I think not many):
return "AOS rejected"
if (($hdr{"Subject"} =~ /\s*pa\$\$word*/io) ||
($hdr{"Subject"} =~ /\s*1200\ssex*site*/io) ||
($hdr{"Subject"} =~ /\"+\s+[A-Z\s\-\?\!\,\']+\s+\"/o) ||
($hdr{"Subject"} =~ /\(\*\)+\s+[A-Z\s\-\?\!\,\']+\s+\(\*\)/o) ||
($hdr{"Subject"} =~ /\s*\$ex\ssite*/io) ||
($hdr{"Subject"} =~ /\s*\$ex\s\$ite*/io) ||
($hdr{"Subject"} =~ /\sregist*search\sengine*/io) ||
($hdr{"Subject"} =~ /\s2000\+\sxxx*/io) ||
($hdr{"Subject"} =~ /\**xxx*\*/io) ||
($hdr{"Subject"} =~ /\s*\.sex\s\.*/io) ||
($hdr{"Subject"} =~ /\s*minutes\sfree*/io) ||
($hdr{"Subject"} =~ /\s*free\spass*site*/io) ||
($hdr{"Subject"} =~ /\shot\sasian*sex*/io) ||
($hdr{"Subject"} =~ /\slive\svideo\sxxx/io) ||
($hdr{"Subject"} =~ /\s*quick\scash/io));
Like I said, those might catch a couple of legit posts, but all of my
users have agreed it's worth the risk.
> Simple but effective. Pause for 30-60 seconds after the transmission
> of each post, before acknowledging transfer.
I might suggest instead a _slightly_ more complex, but less annoying
solution. Acknowledge the post immediately, but require 30-60 seconds
before allowing the _next_ post. This way the [real] user doesn't have
to sit and wait while the server pauses before accepting his post, and
chances are he's not going to see the 30 second requirement at all since
it generally takes more than 30 seconds to type in an article.
--
Andrew Smith -- Sysadmin, Insync Internet Services | "Whatever you do, take
PGP: 2A 50 AE 6D 51 53 18 77 F7 6C E9 2E E9 E1 59 2C | care of your shoes."
(finger -l aos@insync.net for full key) | - Tom Marhsall
Re: Diabolical anti-spam nnrpd patch
Author: Forrest J. Cavalier III
Date: Tue, 12 Aug 1997 00:00
Date: Tue, 12 Aug 1997 00:00
31 lines
1794 bytes
1794 bytes
Interesting work. But I think that in the on-ups-manship spam-race that is currently going on, the spammers would quickly move to a superset of virtual host names, all which pointed back to the same server. This would make it harder to detect, and it wouldn't take too many spammers doing this to generating such a large lookup of strings to make it impractical. How about going back to the old Netiquette standby: you shouldn't post to newsgroups you don't read. A session where no group reading occurs: (only posting) is probably suspect. By "session," I include multiple nnrpd connects from the same IP within minutes of each other. You could do something even more powerful if you wanted to link/store previous session history per customer. (Placing newbies on "probation.") But that might be a bit too "Big Brother." ...This is just an idea. I have no "proof-of-concept" code. Sorry. (Although I do have a utility which can compute combined nnrpd data from the news.notice log. This is quite useful for finding the pullers who disconnect after 100 articles to duck under DONT_LIKE_PULLERS limits.) Forrest Cavalier, Mib Software, INN customization and consulting
Re: Diabolical anti-spam nnrpd patch
Author: Jeff Garzik
Date: Tue, 12 Aug 1997 00:00
Date: Tue, 12 Aug 1997 00:00
73 lines
2971 bytes
2971 bytes
Forrest J. Cavalier III <mibsoft@epix.net> wrote: >But I think that in the on-ups-manship spam-race that is currently >going on, the spammers would quickly move to a superset of virtual host >names, all which pointed back to the same server. >How about going back to the old Netiquette standby: you shouldn't >post to newsgroups you don't read. >A session where no group reading occurs: (only posting) is probably >suspect. By "session," I include multiple nnrpd connects from the >same IP within minutes of each other. You would eliminate all Netscape users with this method. Impatient news readers often will abort an NNTP command (by closing the cxn) and open another connection, or have multiple connections open at once. Here's some methods that would serve to eliminate spamming: * Token lookups A list of "kill strings" is always effective, especially on the make-money-fast crowd. Check out J. Porter Clark's MMF ncms or someone running my Perl filter to see hundreds of MMFs still floating around every day. Regular expressions that check for ALL CAPS!!! are fairly effective too. * Duplicate body Hash each message body, and reject NN% duplication of last several posts. * Posting rate Track the NNTP posting host IP address, and if the posting rate (for all connections) exceeds X articles per Y seconds, then it's spam. * zzzzzzzz Sleep Simple but effective. Pause for 30-60 seconds after the transmission of each post, before acknowledging transfer. * Forrest's read-then-post Require that someone enters, and retrieves articles (or headers) from group G, before being able to post to group G. The only problem here is off-line readers, who's software will connect, issue multiple post commands, and then disconnect. You wind up censoring a valid portion of the online community. Also, nnrpd itself connects to innd, posts, and then disconnects, so make sure you don't put the code in innd. * Valid headers Make sure bogus headers aren't loaded in the Path, check for a valid From: (or Reply-To) with an actual DNS MX entry, replace the message id and date with your own, etc. I'm sure I could come up with more ways given time. Jeff -- The surest sign that a man is in love is when he divorces his wife.
Re: Diabolical anti-spam nnrpd patch
Author: Joe Greco
Date: Tue, 12 Aug 1997 00:00
Date: Tue, 12 Aug 1997 00:00
21 lines
1410 bytes
1410 bytes
In news.software.nntp article <blabla.0009@news1.exit109.com>, Jeremy <jeremy@exit109.com> wrote: :I have turned the code into a patch, which I present below. Joe did the :code, so give him the thanks; all I did was hack it into nnrpd, test it, :turn it into a patch, and write the instructions, which I'm also including :below. Which is to say, Jeremy did the hard work of integrating my hypothetical code (composed in an E-mail message) into nnrpd, finding and fixing a think-o or two, and actually making it work, which is probably harder than the code itself - but still, give me the thanks. Hah. :"Do you think a princess, and a guy like me..." --Han Solo Heh (and me, wearing my Darth Vader t-shirt today..) I'll have this posted on http://www.nntp.sol.net/patches shortly. ... JG
Re: Diabolical anti-spam nnrpd patch
Author: Richard Kettlewell
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
18 lines
1336 bytes
1336 bytes
aos@insync.net writes: > I might suggest instead a _slightly_ more complex, but less annoying > solution. Acknowledge the post immediately, but require 30-60 > seconds before allowing the _next_ post. This way the [real] user > doesn't have to sit and wait while the server pauses before > accepting his post, and chances are he's not going to see the 30 > second requirement at all since it generally takes more than 30 > seconds to type in an article. Unfortunately that breaks offline readers that send their articles back in a batch with POST. -- Richard Kettlewell http://www.elmail.co.uk/~richard/
Re: Diabolical anti-spam nnrpd patch
Author: Alexis Rosen
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
35 lines
2025 bytes
2025 bytes
It's interesting to see all these strategies pop up and be refined in real time... Coincidentally, we've written some extremely effective code that will block all mass spams, whether they've been seen before or not, and will be ready to offer it for beta testing to experienced admins in just a couple more days. I'll post here then. At the moment, the kit contains patches to nnrpd, some tools to manage the database that gets generated, and a bunch of docs and sample configs. Actuially, there's more, but I'll have more details by the end of the week. One very important issue that's holding us up is deciding what to call it. :-) Actually, I would like to have a real name for it. "News Condom" is the working title but I'm none too fond of that... There are several techniques involved, but the main trick is to delay and eventually bounce postings as they reach a certain quantity in a certain time period. All these values are configurable, though we provide reasonable defaults. There's also a separately configurable control for excessive crossposting. All controls are configurable on a per-user basis. Figuring out who your users are can be tricky; right now we understand static IPs and authinfo for nnrpd users. Please don't send me mail asking for a copy, yet. I'll announce when it's ready. /a --- Alexis Rosen Owner/Sysadmin, PANIX Public Access Unix & Internet, NYC. alexis@panix.com
Re: Diabolical anti-spam nnrpd patch
Author: aos
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
38 lines
2247 bytes
2247 bytes
Alexis Rosen <alexis@panix.com> wrote:
> It's interesting to see all these strategies pop up and be refined in real
> time...
*nod* Pretty enlightening. :)
> One very important issue that's holding us up is deciding what to call it.
> :-) Actually, I would like to have a real name for it. "News Condom" is the
> working title but I'm none too fond of that...
Well, we've got a pretty talented group of geeks here... I'm sure we can
come up with some good names. :) Perhaps the birth-control road isn't one
to take though. :-)
Remember the HTTP advertisement now called WebFilter? It was originally
called NoShit, which was a great, albeit slightly offensive to some, name.
> crossposting. All controls are configurable on a per-user basis. Figuring
> out who your users are can be tricky; right now we understand static IPs
> and authinfo for nnrpd users.
User configurability is a good thing. As a previous posted indicated, he
uses leafnode for offline reading and later posting, so it'd be nice if
there was a way to make it not kill his posts. Like I said to him, sure,
it's a price we have to pay for spam, but I think it's probably one that's
worth it. It would certainly take me less time to change an access list
than it takes me to handle hundreds of complaints about one of my users
spamming.
I'll definitely be interested in looking at your code when it's ready.
--
Andrew Smith -- Sysadmin, Insync Internet Services | "Whatever you do, take
PGP: 2A 50 AE 6D 51 53 18 77 F7 6C E9 2E E9 E1 59 2C | care of your shoes."
(finger -l aos@insync.net for full key) | - Tom Marhsall
Re: Diabolical anti-spam nnrpd patch
Author: Jonathan I. Kamens
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
18 lines
1419 bytes
1419 bytes
In article <5ss6jm$sqg@panix4.panix.com>, alexis@panix.com (Alexis Rosen) writes: |> There are several techniques involved, but the main trick is to delay and |> eventually bounce postings as they reach a certain quantity in a certain |> time period. This is basically how my original spam detector, which is the basis of what Chris Lewis and some (all?) of the other spam cancelers use, worked. I said over two years ago when I posted the spam detector that it shouldn't be too difficult for someone to wire the same logic into nnrpd, innd, sendmail, etc. to automatically reject (or queue for manual intervention) waves of messages which come in too fast; I'm surprised it has taken this long for someone to do it. -- Jonathan Kamens | Veritas Software Corporation | jik@cam.ov.com
Re: Diabolical anti-spam nnrpd patch
Author: Tim Russell
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
31 lines
2096 bytes
2096 bytes
mibsoft@epix.net (Forrest J. Cavalier III) writes:
>How about going back to the old Netiquette standby: you shouldn't
>post to newsgroups you don't read.
>A session where no group reading occurs: (only posting) is probably
>suspect. By "session," I include multiple nnrpd connects from the
>same IP within minutes of each other. You could do something
>even more powerful if you wanted to link/store previous session
>history per customer. (Placing newbies on "probation.") But that
>might be a bit too "Big Brother."
Unfortunately, I don't think this is an option anymore - too many offline
newsreaders that connect up, get headers and/or messages, hang up, allow
the user to respond and queue messages for posting, then dial up and send
them out. Microsoft Internet News is definitely an example, though there
are plenty others if you're anti-MS.
Heavy posters who use such a scheme would most likely trigger any scheme
that cuts off posts coming in too fast, unless the cutoff was placed high
enough - 100-200 messages should be more than fair, I would think. Anyone
posting more than that in a single session legitimately needs to get a life.
--
Tim Russell System Admin, Probe Technology email: russell@probe.net
PGP RSA: C992 109C 6D7F 8D91 062E 817E 00D3 287A
"The worst censorship is self-censorship, because fear has no limits."
-- Grady Ward
Re: Diabolical anti-spam nnrpd patch
Author: Jonathan I. Kamens
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
28 lines
2294 bytes
2294 bytes
In article <5ss15k$9ua$2@zingo.tninet.se>, prl@algonet.se (Ragnar Lonn) writes: |> Might do some good, though, if you upped the limit so that the first |> N posts (say 10-20) were accepted without delay. But then again, a spammer |> might find that out and post 19 messages, then logout and logon again. Obviously, you need to keep a persistent hash table associating IP addresses (or some other unique authentication token if clients use dynamic IP; if you don't have a mechanism at this point for associating an incoming posting or E-mail message with a specific authenticated user, you shouldn't be running an ISP) with the number of messages recently sent via E-mail or posted. This table could be GC'd by periodically "decaying" the values in it and then deleting the ones which drop below a minimum threshold (e.g., divide by 2 once per minute and delete any entries which are less than 1). Then, each time a user sends an E-mail message or posts a message to the Usenet, his counter in the hash table is incremented (or a new counter with a value of 1 is created if one wasn't there previously), and the current counter value can be used as the input of an arbitrary function to determine the sleep time (e.g., don't sleep at all for counters less than 20, but sleep for a number of seconds equal to the counter value for anything higher). Both the decay algorithm and the sleep algorithm can be tweaked to achieve the desired delay characteristics. -- Jonathan Kamens | Veritas Software Corporation | jik@cam.ov.com
Re: Diabolical anti-spam nnrpd patch
Author: Dave Bodenstab
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
32 lines
1990 bytes
1990 bytes
In article <5sq6hq$7g6@dfw-ixnews1.ix.netcom.com>, Mark Hittinger <bugs@freebsd.netcom.com> wrote: >Jeremy <jeremy@exit109.com> writes: >>So, Joe Greco provided some quick code, which I hacked into nnrpd, which [snip] >We have a similar patch imbedded in rnews (our nnrpd spools posts to in.coming >for later processing by rnews). I've been using a modified version of suck for my individual use that does the same thing. Recently, I've begun considering moving the article content filter to either rnews or a front-end to rnews. >You also need some sort of counter for each filter string that is "hit" so that >you can cull your database. I suppose you could get that out of the syslog >entry. We find that most spammers here will hit us fairly hard for a week or >so and then go away to greener pastures. After the couple of weeks goes by >the filter string is never seen again here (usually). This is what's beginning to be the bottleneck -- my kill file has grown, in one month, from only downloading ~1000 articles/day, to near 700 lines! Ah, well, at least I no longer *see* most of the spam when I read news. So, my question: are your patches to rnews available? I'm not an ISP. I'm not a big server. I'm just an individual fighting what is looking like a soon-to-lost-battle against usenet spam. Dave Bdoenstab imdave@mcs.net
Re: Diabolical anti-spam nnrpd patch
Author: Ragnar Lonn
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
43 lines
2739 bytes
2739 bytes
In article <5sqpp3$kom$2@synthemesc.insync.net>, aos@insync.net wrote: > >> Simple but effective. Pause for 30-60 seconds after the transmission >> of each post, before acknowledging transfer. > >I might suggest instead a _slightly_ more complex, but less annoying >solution. Acknowledge the post immediately, but require 30-60 seconds >before allowing the _next_ post. This way the [real] user doesn't have >to sit and wait while the server pauses before accepting his post, and >chances are he's not going to see the 30 second requirement at all since >it generally takes more than 30 seconds to type in an article. > Well, several newsreaders store outgoing articles you write in an 'outbox' and then send them all at once when you tell it to. This means that if I read several newsgroups and on a normal session read 50 articles and write 5, I'll have to wait quite a while for my 5 articles to get posted with this scheme implemented. Might do some good, though, if you upped the limit so that the first N posts (say 10-20) were accepted without delay. But then again, a spammer might find that out and post 19 messages, then logout and logon again. The idea to let only the people that read articles in a group post anything there sounds pretty cool though. As someone mentioned, it would stop offline-readers that only logon to post stuff after they've written it at home but aren't those a pretty small group? I don't mean to ignore them - not at all. It's just that if they're a small group and (likely) pretty serious and responsible newsreaders, then one could let them logon using NNRP auth and a special username/pw. Just patch nnrpd so it won't let anyone post in a group unless s/he's already read articles in the group *unless* s/he's logged on using NNRP auth. That way you force spammers to read stuff or desist and you don't upset the poor offline-people either. If they're few enough you could even give each their own NNRP auth username/pw and you'd have complete control. /Ragnar, Algonet/TNI
Re: Diabolical anti-spam nnrpd patch
Author: aos
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
16 lines
1409 bytes
1409 bytes
Stig Sandbeck Mathisen <ssm@online.no> wrote:
> Er, I use leafnode at home, and I generally connect a few times in the
> evening. If I have answered a lot of posts one evening, it would take
> ages to send all the posts from my home machine.
Yeah I guess that problem is along the same lines as the other offline
reader problems. Part of what makes anti-spam efforts difficult. I guess
one has to decide whether or not it's a price worth paying.
--
Andrew Smith -- Sysadmin, Insync Internet Services | "Whatever you do, take
PGP: 2A 50 AE 6D 51 53 18 77 F7 6C E9 2E E9 E1 59 2C | care of your shoes."
(finger -l aos@insync.net for full key) | - Tom Marhsall
Re: Diabolical anti-spam nnrpd patch
Author: Stig Sandbeck Mathisen
Date: Wed, 13 Aug 1997 00:00
Date: Wed, 13 Aug 1997 00:00
19 lines
1683 bytes
1683 bytes
>>>>> "a" == aos <aos@insync.net> writes: a> I might suggest instead a _slightly_ more complex, but less annoying a> solution. Acknowledge the post immediately, but require 30-60 seconds a> before allowing the _next_ post. This way the [real] user doesn't have a> to sit and wait while the server pauses before accepting his post, and a> chances are he's not going to see the 30 second requirement at all since a> it generally takes more than 30 seconds to type in an article. Er, I use leafnode at home, and I generally connect a few times in the evening. If I have answered a lot of posts one evening, it would take ages to send all the posts from my home machine. -- SSM - Stig Sandbeck Mathisen Trust the Computer, the Computer is your Friend
Re: Diabolical anti-spam nnrpd patch
Author: Brian Tao
Date: Thu, 14 Aug 1997 00:00
Date: Thu, 14 Aug 1997 00:00
16 lines
1287 bytes
1287 bytes
In article <5sqfed$rvc$1@havoc.gtf.gatech.edu>, Jeff Garzik <jeff.garzik@spinne.com> wrote:
>
>* zzzzzzzz Sleep
>
>Simple but effective. Pause for 30-60 seconds after the transmission
>of each post, before acknowledging transfer.
That sounds like a bit much to me... maybe use an incremental
delay that starts with a 3-second delay, and adds one second for each
subsequent post, up to a maximum of, say, 10 seconds?
--
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"
Re: Diabolical anti-spam nnrpd patch
Author: Uncle Roadkill
Date: Thu, 14 Aug 1997 00:00
Date: Thu, 14 Aug 1997 00:00
21 lines
1504 bytes
1504 bytes
> This is basically how my original spam detector, which is the basis of > what Chris Lewis and some (all?) of the other spam cancelers use, > worked. Having never seen your code, I can tell you that one of the more influential 'bots (Cosmo Roadkill) uses a locally written spam detector that just happened to scale pretty darn well. > I said over two years ago when I posted the spam detector that > it shouldn't be too difficult for someone to wire the same logic into > nnrpd, innd, sendmail, etc. to automatically reject (or queue for > manual intervention) waves of messages which come in too fast; I'm > surprised it has taken this long for someone to do it. Some of us missed your code, the first time around. Could you post it again? Uncle "Hey, who gave that 'bot a LART?!?!" Roadkill
Re: Diabolical anti-spam nnrpd patch
Author: Petter Nilsen
Date: Thu, 14 Aug 1997 00:00
Date: Thu, 14 Aug 1997 00:00
23 lines
1742 bytes
1742 bytes
In article <5ss868$39v$1@synthemesc.insync.net>, aos@insync.net (aos) wrote: > Stig Sandbeck Mathisen <ssm@online.no> wrote: >> Er, I use leafnode at home, and I generally connect a few times in the >> evening. If I have answered a lot of posts one evening, it would take >> ages to send all the posts from my home machine. > Yeah I guess that problem is along the same lines as the other offline > reader problems. Part of what makes anti-spam efforts difficult. I guess > one has to decide whether or not it's a price worth paying. Kind of like civilian losses in a war, eh? Frankly, it's not an acceptable price to pay. It fights the problem, sure, but generates another problem. If you go to http://www.cs.uit.no/~kjelli/newschart.html, you'll see several offline capable newsreaders among the 20 most used, including one I'm co-authoring. This sounds like a support nightmare. -- - Petter Nilsen - Salgsnett AS (Icenet) - mailto:pettern@thule.no
Re: Diabolical anti-spam nnrpd patch
Author: Ron Echeverri
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
25 lines
1597 bytes
1597 bytes
In article <5t2d3n$pn0$1@pluto.whowhere.com>, Jerry Aguirre <jerry@rigel.whowhere.com> wrote: >In article <5sqnqe$gl9$1@bigred.inka.de>, >Olaf Titz <olaf@bigred.inka.de> wrote: >>Hm. This belongs into the hands of _very_ responsible administrators only. >This is an oxy-moron. Any administrator is, by definition "responsible". >They are in charge of the system arn't they? I believe he means "conscientious" or, perhaps better, "diligent". >Perhaps instead of "responsible" you meant liberal as in willing to tolerate >different oppinions? Once you make the decision that any post is unacceptable >then you have crossed the black and white line and are into shades of gray. That depends. Forgeries are unacceptable, and they always have been. rone -- rone's rules: Ron Echeverri - I don't care. Systems/Usenet Administration - It's not important. Best Internet Communications - Leave me alone. rone@best.net
Re: Diabolical anti-spam nnrpd patch
Author: Joe Greco
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
31 lines
1992 bytes
1992 bytes
In news.software.nntp article <963.7165T92T895@thule.no>, "Petter Nilsen" <pettern@thule.no> wrote: :Kind of like civilian losses in a war, eh? Frankly, it's not an acceptable :price to pay. Thanks for your opinion, but unless you're someone who is out here daily waging the war against luser spamming customers, your opinion doesn't count for too much - unless you have some code that implements a better detection and deterrent algorithm. Funny how the people who yell about unacceptable solutions never actually have implemented a better solution. (Yes, that's a flame). Besides, there are already a lot of overburdened news servers out there that take 30-120 seconds to post an article, without any additional help - so if your code expects otherwise, you've made a bad assumption. :It fights the problem, sure, but generates another problem. :If you go to http://www.cs.uit.no/~kjelli/newschart.html, you'll see several :offline capable newsreaders among the 20 most used, including one I'm :co-authoring. This sounds like a support nightmare. Well, when you have a good solution that works, please feel free to write a patch, and we'll make sure it gets posted. If enough people like it, heck, it might make it back into the INN codebase. ... JG
Re: Diabolical anti-spam nnrpd patch
Author: Ragnar Lonn
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
42 lines
2367 bytes
2367 bytes
In article <5ss6jm$sqg@panix4.panix.com>, alexis@panix.com (Alexis Rosen) wrote: > >There are several techniques involved, but the main trick is to delay and >eventually bounce postings as they reach a certain quantity in a certain >time period. All these values are configurable, though we provide reasonable >defaults. There's also a separately configurable control for excessive >crossposting. All controls are configurable on a per-user basis. Figuring >out who your users are can be tricky; right now we understand static IPs >and authinfo for nnrpd users. > I think I heard about mail filters that did the delay-trick and then analyzed the quantity of similar messages or messages from one and the same individual. It's probably the best way there is, if you're concerned with spam from e.g. dialup-users on your system and know or can easily find out what user is responsible for a certain connection to the server but if you, for example, have a whole subdomain reading news from your reader machines, then you don't have any way of finding out what *user* is responsible when something is posted (not automatically at least and before it's too late). The best thing would be some way to identify spam regardless of what we know or don't know about the poster. But having a system that relies on user identification goes a bit of the way at least and is probably a big help to some, I'd bet. One problem is that user identification is far from standardized - most ISPs have their own variants - and that means that each news admin who wants to use your spamblock must do some programming himself, most likely, and can't just type 'make install' ;) (Well, it *will* mean less acceptance, unfortunately) /Ragnar, Algonet/TNI
Re: Diabolical anti-spam nnrpd patch
Author: Ragnar Lonn
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
47 lines
3285 bytes
3285 bytes
In article <5ssf8g$e8n$3@pad-thai.cam.ov.com>, jik@cam.ov.com (Jonathan I. Kamens) wrote: >In article <5ss15k$9ua$2@zingo.tninet.se>, prl@algonet.se (Ragnar Lonn) writes: >|> Might do some good, though, if you upped the limit so that the first >|> N posts (say 10-20) were accepted without delay. But then again, a spammer >|> might find that out and post 19 messages, then logout and logon again. > >Obviously, you need to keep a persistent hash table associating IP >addresses (or some other unique authentication token if clients use >dynamic IP; if you don't have a mechanism at this point for associating >an incoming posting or E-mail message with a specific authenticated >user, you shouldn't be running an ISP) with the number of messages Hehe, are you suggesting I don't know who my users are? Well looking at the IP is useless as almost all ISPs use dynamic IP's, and as I mentioned in a note I just wrote, going by username/ID/whatever is fine as long as the newsadmin is prepared to hack that part into nnrpd himself because there are *tons* of different ways ISPs use to identify their users in their own networks. No standard way. But I guess if it's the only way to actually get rid of the spam, then one could demand they implemented it in their newsservers anyhow. Not that all will, of course. >recently sent via E-mail or posted. This table could be GC'd by >periodically "decaying" the values in it and then deleting the ones >which drop below a minimum threshold (e.g., divide by 2 once per minute >and delete any entries which are less than 1). Then, each time a user >sends an E-mail message or posts a message to the Usenet, his counter >in the hash table is incremented (or a new counter with a value of 1 is >created if one wasn't there previously), and the current counter value >can be used as the input of an arbitrary function to determine the >sleep time (e.g., don't sleep at all for counters less than 20, but >sleep for a number of seconds equal to the counter value for anything >higher). Both the decay algorithm and the sleep algorithm can be >tweaked to achieve the desired delay characteristics. > Why not accept everything but delay it and, if it falls too far from normal usage patterns, refrain from actually posting it and instead call on a human operator to decide what to do with it? Catches all, stops nothing (though introduces delays). The drawback is it requires some manual effort but that could be kept small, I think. /Ragnar, Algonet/TNI
Re: Diabolical anti-spam nnrpd patch
Author: Jerry Aguirre
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
18 lines
1403 bytes
1403 bytes
In article <5sqnqe$gl9$1@bigred.inka.de>, Olaf Titz <olaf@bigred.inka.de> wrote: >Hm. This belongs into the hands of _very_ responsible administrators only. This is an oxy-moron. Any administrator is, by definition "responsible". They are in charge of the system arn't they? Perhaps instead of "responsible" you meant liberal as in willing to tolerate different oppinions? Once you make the decision that any post is unacceptable then you have crossed the black and white line and are into shades of gray. Regardless this patch appears to control only postings to that server, not messages posted to other servers. As such any capricious behavior an the part of the news administrator is a local issue. The users can take it up with managment, bring legal action, or vote with their feet.
Re: Diabolical anti-spam nnrpd patch
Author: Richard Kettlewell
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
12 lines
967 bytes
967 bytes
Talking of anti-spam measures, has anyone here already done the patch to reject articles posted to more than N newsgroups? (I skimmed Mib's site but didn't spot anything appropriate.) I'm thinking more of innd than nnrpd... What would be a good value of N to choose? -- Richard Kettlewell http://www.elmail.co.uk/~richard/
Re: Diabolical anti-spam nnrpd patch
Author: Jeremy
Date: Sat, 16 Aug 1997 00:00
Date: Sat, 16 Aug 1997 00:00
22 lines
1450 bytes
1450 bytes
Richard Kettlewell <richard@elmail.co.uk> wrote: >Talking of anti-spam measures, has anyone here already done the patch >to reject articles posted to more than N newsgroups? (I skimmed Mib's >site but didn't spot anything appropriate.) I'm thinking more of innd >than nnrpd... > >What would be a good value of N to choose? I'm rejecting anything posted to more than 15 groups unless followups are set to fewer than 8. Seems liberal enough. I use the Perl filter for that, with a small modification to innd to give the filter access to more headers (like Followup-To). It's a trivial modification, but if you want a patch I can make one... -- Jeremy | jeremy@exit109.com "I think I speak for everyone here when I say, 'Huh?'" --Buffy
Re: Diabolical anti-spam nnrpd patch
Author: Richard Kettlewell
Date: Mon, 18 Aug 1997 00:00
Date: Mon, 18 Aug 1997 00:00
20 lines
1348 bytes
1348 bytes
Richard Kettlewell <richard@elmail.co.uk> writes:
> Talking of anti-spam measures, has anyone here already done the patch
> to reject articles posted to more than N newsgroups? (I skimmed Mib's
> site but didn't spot anything appropriate.) I'm thinking more of innd
> than nnrpd...
http://www.elmail.co.uk/~richard/news/
Is it considered sensible to include a diff against config.data for
this kind of thing, or just to list the extra text that must be
inserted?
--
Richard Kettlewell, ElectricMail Ltd
phone: +44 1223 501333 fax: +44 1223 501444
richard@elmail.co.uk http://www.elmail.co.uk/~richard/
Re: Diabolical anti-spam nnrpd patch
Author: Jeremy
Date: Mon, 18 Aug 1997 00:00
Date: Mon, 18 Aug 1997 00:00
21 lines
1424 bytes
1424 bytes
Olaf Titz <olaf@bigred.inka.de> wrote:
>Not exactly. The point is that with this patch the server pretends to
>have posted the article while in fact it has not. Basically, it lies
>about what is done. In fact, deception (of spammers) is the stated
>purpose of this.
>
>This is not wrong IMHO to stop spam; I think to stop spam just
>everything is justified. But it's extremely dangerous to have such a
>perfect censorship tool that can be trivially misused to stop anything
>which is not spam. It just makes me nervous.
But you have to trust your newsadmin -- if he wants to silence you,
he can already do so, with our without the patch.
--
Jeremy | jeremy@exit109.com
"Bunch of savages in this town!" --Dante ("Clerks")
Re: Diabolical anti-spam nnrpd patch
Author: Alexis Rosen
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
36 lines
2538 bytes
2538 bytes
jik@cam.ov.com (Jonathan I. Kamens) writes: >In article <5ss15k$9ua$2@zingo.tninet.se>, prl@algonet.se (Ragnar Lonn) writes: >|> Might do some good, though, if you upped the limit so that the first >|> N posts (say 10-20) were accepted without delay. But then again, a spammer >|> might find that out and post 19 messages, then logout and logon again. >Obviously, you need to keep a persistent hash table associating IP >addresses (or some other unique authentication token if clients use >dynamic IP; if you don't have a mechanism at this point for associating >an incoming posting or E-mail message with a specific authenticated >user, you shouldn't be running an ISP) with the number of messages >recently sent via E-mail or posted. This table could be GC'd by >periodically "decaying" the values in it and then deleting the ones >which drop below a minimum threshold (e.g., divide by 2 once per minute >and delete any entries which are less than 1). Then, each time a user >sends an E-mail message or posts a message to the Usenet, his counter >in the hash table is incremented (or a new counter with a value of 1 is >created if one wasn't there previously), and the current counter value >can be used as the input of an arbitrary function to determine the >sleep time (e.g., don't sleep at all for counters less than 20, but >sleep for a number of seconds equal to the counter value for anything >higher). Both the decay algorithm and the sleep algorithm can be >tweaked to achieve the desired delay characteristics. Good ideas, all. Been there, done that, announcing public beta test in my next post... /a --- Alexis Rosen Owner/Sysadmin, PANIX Public Access Unix & Internet, NYC. alexis@panix.com
Re: Diabolical anti-spam nnrpd patch
Author: Alexis Rosen
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
23 lines
1700 bytes
1700 bytes
jik@cam.ov.com (Jonathan I. Kamens) writes: >In article <5ss6jm$sqg@panix4.panix.com>, alexis@panix.com (Alexis Rosen) writes: >|> There are several techniques involved, but the main trick is to delay and >|> eventually bounce postings as they reach a certain quantity in a certain >|> time period. >This is basically how my original spam detector, which is the basis of >what Chris Lewis and some (all?) of the other spam cancelers use, >worked. I said over two years ago when I posted the spam detector that >it shouldn't be too difficult for someone to wire the same logic into >nnrpd, innd, sendmail, etc. to automatically reject (or queue for >manual intervention) waves of messages which come in too fast; I'm >surprised it has taken this long for someone to do it. The original perl code actually predates this by just a bit. It did take me another two years to get off my ass and [get an employee to] rewrite the thing in C for nnrpd... I'm glad I waited, though- he did a much better job than I'd ever have done... /a
Re: Diabolical anti-spam nnrpd patch
Author: Alexis Rosen
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
14 lines
1151 bytes
1151 bytes
Richard Kettlewell <richard@elmail.co.uk> writes: >Talking of anti-spam measures, has anyone here already done the patch >to reject articles posted to more than N newsgroups? (I skimmed Mib's >site but didn't spot anything appropriate.) I'm thinking more of innd >than nnrpd... The nnrpd patch we're betaing now has that as a separate feature, but if you really want it in INND (serves a very different purpose) then what about using the "E" flag? /a
Re: Diabolical anti-spam nnrpd patch
Author: Jonathan I. Kamens
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
12 lines
1087 bytes
1087 bytes
In article <31y23134.0@bofh.int>, Uncle Roadkill <uncle.roadkill%bofh.int@rauug.mil.wi.us> writes: |> Some of us missed your code, the first time around. Could you post |> it again? I don't think there's any point. The technology has improved considerably since I stopped working on my detector. -- Jonathan Kamens | Veritas Software Corporation | jik@cam.ov.com
Re: Diabolical anti-spam nnrpd patch
Author: Alexis Rosen
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
44 lines
2943 bytes
2943 bytes
prl@algonet.se (Ragnar Lonn) writes: >In article <5ss6jm$sqg@panix4.panix.com>, alexis@panix.com (Alexis Rosen) >wrote: >> >>There are several techniques involved, but the main trick is to delay and >>eventually bounce postings as they reach a certain quantity in a certain >>time period. All these values are configurable, though we provide reasonable >>defaults. There's also a separately configurable control for excessive >>crossposting. All controls are configurable on a per-user basis. Figuring >>out who your users are can be tricky; right now we understand static IPs >>and authinfo for nnrpd users. >I think I heard about mail filters that did the delay-trick and then analyzed >the quantity of similar messages or messages from one and the same >individual. Our code is completely modular and is uninterested in news guts so it could be trivially adapted for sendmail or other mail agents. Of course IDing the sender in mail can be a very different problem than it is for news... >It's probably the best way there is, if you're concerned with spam from e.g. >dialup-users on your system and know or can easily find out what user is >responsible for a certain connection to the server but if you, for example, >have a whole subdomain reading news from your reader machines, then >you don't have any way of finding out what *user* is responsible when >something is posted (not automatically at least and before it's too late). > [etc., it's good but won't always work, some people will just lose] Our first cut at this just used the IP address since we have a rather nifty setup that lets us use statics for our PPP users. However, since the goal was to get the code distributed *widely* (ultimately I'd like to give it to the ISC and have it become part of INN) and since we're gradually adopting dynamics too (the Internic will send ninja assasins if we don't), we wrote some more code to use AUTHINFO in nnrpd. This seems to work well, so far, although it's had very little testing here yet. That's why we're doing the beta now... It's too early to be sure, but I *think* that that could work as an almost universal solution, *except* for multiuser hosts. We've got a solution for that, too, but we haven't gotten around to it yet. /a
Re: Diabolical anti-spam nnrpd patch
Author: Jonathan I. Kamens
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
37 lines
2467 bytes
2467 bytes
In article <5t9j8c$e5u$1@bigred.inka.de>, olaf@bigred.inka.de (Olaf Titz) writes: |> Jerry Aguirre <jerry@rigel.whowhere.com> wrote: |> > Regardless this patch appears to control only postings to that server, not |> > messages posted to other servers. As such any capricious behavior an the |> > part of the news administrator is a local issue. |> |> Not exactly. The point is that with this patch the server pretends to |> have posted the article while in fact it has not. Basically, it lies |> about what is done. In fact, deception (of spammers) is the stated |> purpose of this. |> |> This is not wrong IMHO to stop spam; I think to stop spam just |> everything is justified. But it's extremely dangerous to have such a |> perfect censorship tool that can be trivially misused to stop anything |> which is not spam. It just makes me nervous. Any legitimate user who suspects that his postings are not actually being posted to the Net can easily confirm or refute this hypothesis. He can check in the newsgroup to see if the article actually appeared there, and then, if he's still suspicious, he can check DejaNews or one of the other free News archive sites to see if it actually made it out to the world. A spammer, on the other hand, isn't going to do these things; in fact, he's never going to look at the newsgroups in which he spams. So I think that the risk that the "claim it was posted and then drop it" patch will be used to censor users is low. I personally check to make sure that every one of my articles is posted to the local newsgroup. And since I run the News server, I know that it's fed to the Net from there :-). -- Jonathan Kamens | Veritas Software Corporation | jik@cam.ov.com
Re: Diabolical anti-spam nnrpd patch
Author: Ron Echeverri
Date: Wed, 20 Aug 1997 00:00
Date: Wed, 20 Aug 1997 00:00
20 lines
1168 bytes
1168 bytes
In article <87k9hgiaxj.fsf@erlenstar.demon.co.uk>, Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: [90+% alt.*] >Remainder by hierarchy only: > 72155 alt > 5227 comp [etc.] Hell, i'm almost tempted to drop alt.*. `Course, i'd get crushed by the complaints from my users. Sigh. rone -- rone's rules: Ron Echeverri - I don't care. Systems/Usenet Administration - It's not important. Best Internet Communications - Leave me alone. rone@best.net
USENET2 (was: Re: Diabolical anti-spam nnrpd patch)
Author: Joe Greco
Date: Wed, 20 Aug 1997 00:00
Date: Wed, 20 Aug 1997 00:00
50 lines
2824 bytes
2824 bytes
In news.software.nntp article <87iux0gr8d.fsf@erlenstar.demon.co.uk>, Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: :How much is it costing *you*, in admin time and server hardware, to :sustain the excess volume of spam and cancels/NoCeMs? It's costing me a fortune. A little more than half a year ago, I spent a small fortune on a big machine to transit news. Nice box, spared little expense. Lots of feeds. Did it because I believed in Usenet. The upgrades and network bandwidth needed to support current spam levels is ridiculous. These days, I keep wondering if it wouldn't more fun to make it into the world's largest ???????? server. Gripe mode *on* Part of the problem is a lack of established rules. It's nice to have an anarchy, but OTOH it can really suck too. There is no one accepted standard for an administrative contact at a Usenet node. There should be a rule. Path names must be FQDN's, and "news@pathname" must resolve to a mailbox read by a human. Failure to do this should be grounds for removal from Usenet. Nodes that ignore spamming problems should have their links dropped, at some predefined level of spam. Period. As part of participation in Usenet, nodes need to be required to police themselves and their direct peers. ISPs with Terms of Service should write such TOS's to allow them to collect fees for excessive amounts of spam. ISPs should be required to maintain an "abuse@domainname" trouble-ticket system. Software should be written to deter spam. This won't have a long- term effect, but it's a matter of principle. Software should not allow "wide open" operation. It should be considered an error, by definition. Posting systems should deter multiple posts; posting systems should provide better logging facilities; posting systems should provide ident-style services and X-Trace headers. BI cancel thresholds should be re-engineered. A BI>4 in a day's time, BI>10 in a week's time, or BI>20 in six week's time should be grounds for automatic cancellation. Etc. Gripe mode *off* ... JG
Re: Diabolical anti-spam nnrpd patch
Author: Andrew Gierth
Date: Wed, 20 Aug 1997 00:00
Date: Wed, 20 Aug 1997 00:00
13 lines
1134 bytes
1134 bytes
>>>>> "Uncle" == Uncle Roadkill <uncle.roadkill%bofh.int@rauug.mil.wi.us> writes: Uncle> According to Andrew Gierth's reports, Cosmo generated a Uncle> horrifying 1,221,408 cancels last week. And I count cancels in the big-8 and alt.* only.... -- Andrew.
Re: Diabolical anti-spam nnrpd patch
Author: Uncle Roadkill
Date: Wed, 20 Aug 1997 00:00
Date: Wed, 20 Aug 1997 00:00
32 lines
1930 bytes
1930 bytes
JIK writes... > I don't think there's any point. The technology has improved > considerably since I stopped working on my detector. I don't really know too much about the algorithms that had been traditionally used to locate spam. As author and owner of one of the detectors with (possibly) "improved technology", that does not prevent me from being curious about where this all began, because it has to end soon (death of net, film at 11, etc). Usenet is rapidly being overrun by spam. The growth rate is explosive, with worthless traffic and spam cancels accounting for over 80% of article count, by some reports. According to Andrew Gierth's reports, Cosmo generated a horrifying 1,221,408 cancels last week. That's about 174,485 cancels per day, 7,270 per hour, or almost precisely two per second. That's roughly four times the 274,078 cancels counted during Cosmo's first week of real operation, back in late June. I do know that if the spam keeps coming at ever greater rates, Usenet will soon cease to be viable, as nobody is able to handle the required article-per-second rates. USENET2, anyone? Uncle "Where's NetScum, damn it?" Roadkill
Re: Diabolical anti-spam nnrpd patch
Author: William Kronert
Date: Wed, 20 Aug 1997 00:00
Date: Wed, 20 Aug 1997 00:00
43 lines
2228 bytes
2228 bytes
[posted and e-mailed]
On 21 Aug 1997, Andrew Gierth wrote:
> >>>>> "William" == William Kronert <wk@rohan.sdsu.edu> writes:
> William> Of those 1,221,408 cancels I wonder how many of those are
> William> for the alt.* and/or specifically the alt.sex.*
> William> groups.....just curious.
>
> These are from the above-mentioned Cosmo cancels only.
Thanks for the quick note and info.
[snip]
> 1472093 alt.sex
> 1364592 alt.binaries
I kind of figured that the vast amount of cancels were coming from
these two sources based upon my own experience. What I have noticed is
that there is so much porn spam ads being posted into these alt.sex
groups, they are not even useable and thats with all the cancels. There
is so much massive porn spam being pump into these groups (every second
of every day), I fear its almost hopeless. Note: based on my own
experience a lot of binary porn spams are being either posted or
crossposted into the alt.sex (non-binary) groups.
At the rate of spam and spam cancels which taken together is causing
servers to go down all over.....I wonder if its time to seriously consider
atleast working for a real solution to the alt.sex groups problems. I am
unsure what that might be. It may even serve as a model for re-developing
usenet later. I do not believe NoCem's are the end all answer, in fact in
the end analysis there not that much better then using cancels...its just
another short term help tool.
Perhaps its time to really work towards a usenet2?
Bill
Re: Diabolical anti-spam nnrpd patch
Author: William Kronert
Date: Wed, 20 Aug 1997 00:00
Date: Wed, 20 Aug 1997 00:00
15 lines
1042 bytes
1042 bytes
Andrew Gierth (andrew@erlenstar.demon.co.uk) wrote:
: >>>>> "Uncle" == Uncle Roadkill <uncle.roadkill%bofh.int@rauug.mil.wi.us>
: writes:
: Uncle> According to Andrew Gierth's reports, Cosmo generated a
: Uncle> horrifying 1,221,408 cancels last week.
:
: And I count cancels in the big-8 and alt.* only....
Of those 1,221,408 cancels I wonder how many of those are for the
alt.* and/or specifically the alt.sex.* groups.....just curious.
Bill
Re: Diabolical anti-spam nnrpd patch
Author: Andrew Gierth
Date: Thu, 21 Aug 1997 00:00
Date: Thu, 21 Aug 1997 00:00
28 lines
2181 bytes
2181 bytes
>>>>> "coneill" == coneill <coneill@blah.erols.com> writes: >> If you don't want to see the spam, then a *lot* more cooperation is >> needed in getting it stopped or reduced at *source*. The current >> tactics are provably not working (a more than 30 times increase in a >> year; a 6 times increase in 3 months; extrapolate the figures for >> yourself). coneill> I tend to think that the spam will continue as long as it's coneill> profitable. Probably the only way to prevent this stuff is coneill> to kill it at the source, unfortunately, we're not very well coneill> equiped to do this right now. How can you make it unprofitable? The spammers can effectively spam for free as long as there are open servers available; even when they spam through throwaway dialups they are getting tens or hundreds of thousands of spams out for only a few bucks. Until spamming starts to cost the spammers real money, they'll keep at it (especially the phonesex and adult-website spammers). How much is it costing *you*, in admin time and server hardware, to sustain the excess volume of spam and cancels/NoCeMs? -- Andrew.
Re: Diabolical anti-spam nnrpd patch
Author: Andrew Gierth
Date: Thu, 21 Aug 1997 00:00
Date: Thu, 21 Aug 1997 00:00
99 lines
2867 bytes
2867 bytes
>>>>> "William" == William Kronert <wk@rohan.sdsu.edu> writes:
William> Of those 1,221,408 cancels I wonder how many of those are
William> for the alt.* and/or specifically the alt.sex.*
William> groups.....just curious.
These are from the above-mentioned Cosmo cancels only.
This counts crossposts for each group, so the total is much higher
than the total number of cancels. Stuff outside the big-8 and alt.* is
counted only if part of a crosspost into those hierarchies.
Two-level breakdown:
1472093 alt.sex
1364592 alt.binaries
14451 alt.fan
13768 alt.binaires
12201 alt.personals
8485 alt.music
7626 alt.business
6676 alt.fuck
5272 alt.sports
4897 alt.magick
4675 alt.sexy
4247 alt.homosexual
4068 alt.tv
3934 alt.christnet
3889 us.jobs
3658 alt.sexual
3524 alt.politics
3386 misc.jobs
3025 alt.support
2893 soc.culture
2737 alt.sexzilla
2688 alt.binary
2434 alt.games
2368 alt.motss
2133 alt.religion
2120 comp.sys
2117 alt.teens
1885 il.jobs
1836 comp.jobs
1798 alt.alt
1745 misc.forsale
1725 alt.bbs
1670 alt.naughty
1668 alt.culture
1638 alt.flame
1581 alt.stories
1487 alt.angst
1451 alt.romance
1401 rec.arts
1392 alt.fetish
1388 alt.startrek
1312 alt.magazines
1275 alt.2600
1241 biz.jobs
1241 comp.os
1203 rec.music
1195 rec.games
1190 alt.hardcore
1190 alt.comp
1154 alt.spatch
1102 alt.books
1093 alt.japanese
1064 alt.make
1017 alt.autos
Remainder by hierarchy only:
72155 alt
5227 comp
4474 rec
3275 misc
1270 sci
955 soc
853 biz
769 sex
745 prg
554 aus
546 chi
538 es
521 aol
516 news
489 uw
476 talk
456 iijnet
449 usa
388 de
[smaller numbers, mainly misspellings, removed]
--
Andrew.
Re: USENET2 (was: Re: Diabolical anti-spam nnrpd patch)
Author: Art Walker
Date: Thu, 21 Aug 1997 00:00
Date: Thu, 21 Aug 1997 00:00
45 lines
2683 bytes
2683 bytes
On 20 Aug 1997 23:22:40 -0500, Joe Greco <jgreco@ns.sol.net> wrote: >Software should be written to deter spam. This won't have a long- >term effect, but it's a matter of principle. Software should not >allow "wide open" operation. It should be considered an error, by >definition. Posting systems should deter multiple posts; posting >systems should provide better logging facilities; posting systems >should provide ident-style services and X-Trace headers. What's *really* needed is digital certificate support (i.e. Each user of a news server must authenticate to the server before posting is allowed and each message should have the user's and ISP's digital signature in the message header). Binary postings (obsolete due to widespread IP connectivity) should be prohibited. Posting HTML markup should be grounds for immediate removal from Usenet. (But consideration should be given to eventually move towards something like Unicode for better international support.) News servers should also enforce standard formatting conventions (line lengths no longer than 72 characters, reject excessive quoting, no all-uppercase postings, no .signature blocks, etc.) Eliminate crossposting. One message, one topic, one newsgroup. Define (and enforce) a standard quoting mechanism. A requirement should be in place for newsgroups to be moderated whenever possible. Either the 'alt' domain should be eliminated, or a 'sunset rule' put into place where 'alt' groups are automatically removed after 180 days. The idea here is if the newsgroup is still in use, it should be moved over to the 'Big-8'. As a more radical idea, follow the lead of InterNIC, and charge a fee to create new newsgroups. ISPs might also consider implementing 'per-post' charges to post messages to Usenet, with the proceeds going towards server administration. - Art
Re: Diabolical anti-spam nnrpd patch
Author: Andrew Gierth
Date: Thu, 21 Aug 1997 00:00
Date: Thu, 21 Aug 1997 00:00
30 lines
2011 bytes
2011 bytes
>>>>> "coneill" == coneill <coneill@blah.erols.com> writes: coneill> Of course, you could just stop issuing the cancels and coneill> switch to NoCeM's, saving many of us a lot of work. That's one possibility. But even the NoCeM load is now significant, and NoCeMs don't work at all well for partial feeds. Another possibility, not as unlikely as it might sound, is that the major cancellers simply shut down completely. Think about it. How much have you (collectively) got staked on the actions of a dozen or so volunteers? If you don't want to see the spam, then a *lot* more cooperation is needed in getting it stopped or reduced at *source*. The current tactics are provably not working (a more than 30 times increase in a year; a 6 times increase in 3 months; extrapolate the figures for yourself). DNews (and to a lesser extent Netscape) are particular offenders here. A substantial amount of spam at present is coming from servers that are open to the whole world for posting; these are often *staying* open despite repeated attempts to contact the operators. -- Andrew.
Re: Cancellers shutting down completely
Author: Onno Hovers
Date: Sun, 31 Aug 1997 00:00
Date: Sun, 31 Aug 1997 00:00
63 lines
3825 bytes
3825 bytes
I cancelled my original article, because I thought something like: Why the %@$ am I advocating that everyone stop canceling and noceming? Oh well, I hope this is not going to be used against me, when I discuss third party canceling with the local dutch kooks. Bill Stewart-Cole <bill@scconsult.com> wrote: > In article <5uah84$h63@surfer.xs4all.nl>, onno@stack.nl wrote: > > I remember the times when some wacko posted a religious spam in every > > single newsgroup and it was big news on usenet. That must have happened > > three years ago. > Clarence Thomas IV, and it was just about exactly 3.5 years ago. > He was a junior admin at an Adventist college in Michigan. (Andrews?) I > believe he was canned for it. I had already forgotten his name. He was indeed fired. And all the spam was cancelled. IIRC it was Larry Wall who did the canceling. > [...] > > The problem of spamming is a social one. It is a problem of administrators > > not willing to disconnect rogue sites. It is a problem of large ISPs not > > putting enough money into their abuse staff. This applies to e-mail > > spam as well as to usenet spam. > > > > But the despamming of usenet is only covering up the whole usenet > > problem. I think news administrators should take matters into their > > own hands and stop leaning on the despammers to fix their problems. > I wholeheartedly agree. > A very public cessation of all despamming of Usenet for 2 weeks would be a > very interesting demonstration. They've gone halfway a couple times, > continuing nocem's while not announcing shorter cancel moratorium, but > have never done the full demo. Such a demo is needed to pound the message > into the thick skulls of some providers. Ceasing the propagated despamming > operations for long enough to crush a few news servers would be a perfect > way to wake up providers to their own responsibilities. Lots of providers are having trouble keeping up with their newsfeed right now. But many providers do not even know that they receive only half of the articles. The amount of spam is increasing exponentially. Nowadays most of the spam goes to alt.binaries, alt.sex and the rest of alt. I do not think it will be much longer until the Big8 gets hit by spammers in the way alt.* is getting hit right now. I agree that some providers could use a good demonstration of what is going on. It is just too easy to abuse electronic networks, like e-mail and usenet. The cost of such abuse is almost zero. And the gain for all these brave volunteer despammers is almost zero, as well. Regards, Onno Hovers -- < >-> Onno Hovers (onno@stack.nl http://www.stack.nl/~onno/) Student physics at the University of Technology Eindhoven No, I do not want ANY unsollicited bulk e-mail
Re: Cancellers shutting down completely
Author: Bill Stewart-Cole
Date: Sun, 31 Aug 1997 00:00
Date: Sun, 31 Aug 1997 00:00
68 lines
3857 bytes
3857 bytes
In article <5uah84$h63@surfer.xs4all.nl>, onno@stack.nl wrote: > Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: > > >>>>> "coneill" == coneill <coneill@blah.erols.com> writes: > > > coneill> Of course, you could just stop issuing the cancels and > > coneill> switch to NoCeM's, saving many of us a lot of work. > > > That's one possibility. But even the NoCeM load is now significant, > > and NoCeMs don't work at all well for partial feeds. > > > Another possibility, not as unlikely as it might sound, is that the > > major cancellers simply shut down completely. > > > Think about it. How much have you (collectively) got staked on the > > actions of a dozen or so volunteers? > > > If you don't want to see the spam, then a *lot* more cooperation is > > needed in getting it stopped or reduced at *source*. The current > > tactics are provably not working (a more than 30 times increase in a > > year; a 6 times increase in 3 months; extrapolate the figures for > > yourself). > > I remember the times when some wacko posted a religious spam in every > single newsgroup and it was big news on usenet. That must have happened > three years ago. Clarence Thomas IV, and it was just about exactly 3.5 years ago. He was a junior admin at an Adventist college in Michigan. (Andrews?) I believe he was canned for it. [...] > The problem of spamming is a social one. It is a problem of administrators > not willing to disconnect rogue sites. It is a problem of large ISPs not > putting enough money into their abuse staff. This applies to e-mail > spam as well as to usenet spam. > > But the despamming of usenet is only covering up the whole usenet > problem. I think news administrators should take matters into their > own hands and stop leaning on the despammers to fix their problems. I wholeheartedly agree. A very public cessation of all despamming of Usenet for 2 weeks would be a very interesting demonstration. They've gone halfway a couple times, continuing nocem's while not announcing shorter cancel moratorium, but have never done the full demo. Such a demo is needed to pound the message into the thick skulls of some providers. Ceasing the propagated despamming operations for long enough to crush a few news servers would be a perfect way to wake up providers to their own responsibilities. > Spam-filtering, rate filtering, aliasing out rogue sites, closed > networks, usenet 2, soundness. All these tools are available. Exactly true. It is actually not terribly hard to keep a server relatively clean, and if every admin just took local steps to control spam, we would not need the despammers. It takes a little courage and more importantly it takes attention, which is the worst deficit among news admins. -- Bill Stewart-Cole bill@scconsult.com I'm not spam-blocked because I like playing the hardass net-fascist. Cruelty to the clueless on Usenet is my way of dealing with stress.
Cancellers shutting down completely
Author: Onno Hovers
Date: Sun, 31 Aug 1997 00:00
Date: Sun, 31 Aug 1997 00:00
49 lines
2821 bytes
2821 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: > >>>>> "coneill" == coneill <coneill@blah.erols.com> writes: > coneill> Of course, you could just stop issuing the cancels and > coneill> switch to NoCeM's, saving many of us a lot of work. > That's one possibility. But even the NoCeM load is now significant, > and NoCeMs don't work at all well for partial feeds. > Another possibility, not as unlikely as it might sound, is that the > major cancellers simply shut down completely. > Think about it. How much have you (collectively) got staked on the > actions of a dozen or so volunteers? > If you don't want to see the spam, then a *lot* more cooperation is > needed in getting it stopped or reduced at *source*. The current > tactics are provably not working (a more than 30 times increase in a > year; a 6 times increase in 3 months; extrapolate the figures for > yourself). I remember the times when some wacko posted a religious spam in every single newsgroup and it was big news on usenet. That must have happened three years ago. Nowadays a million spams cross usenet every week. Especially the alt.binaries and alt.sex hierarchies are full of spam. But the Big8 is also beginning to get hit by the spammers. The problem of spamming is a social one. It is a problem of administrators not willing to disconnect rogue sites. It is a problem of large ISPs not putting enough money into their abuse staff. This applies to e-mail spam as well as to usenet spam. But the despamming of usenet is only covering up the whole usenet problem. I think news administrators should take matters into their own hands and stop leaning on the despammers to fix their problems. Spam-filtering, rate filtering, aliasing out rogue sites, closed networks, usenet 2, soundness. All these tools are available. Regards, Onno -- < >-> Onno Hovers (onno@stack.nl http://www.stack.nl/~onno/) Student physics at the University of Technology Eindhoven No, I do not want ANY unsollicited bulk e-mail
Re: Cancellers shutting down completely
Author: Forrest J. Cavalier III
Date: Tue, 02 Sep 1997 00:00
Date: Tue, 02 Sep 1997 00:00
40 lines
2472 bytes
2472 bytes
In article <5uccvv$jie@surfer.xs4all.nl>, onno@surfer.xs4all.nl wrote... [snip] >Bill Stewart-Cole <bill@scconsult.com> wrote: >> A very public cessation of all despamming of Usenet for 2 weeks would be a >> very interesting demonstration. They've gone halfway a couple times, >> continuing nocem's while not announcing shorter cancel moratorium, but >> have never done the full demo. Such a demo is needed to pound the message >> into the thick skulls of some providers. Ceasing the propagated despamming >> operations for long enough to crush a few news servers would be a perfect >> way to wake up providers to their own responsibilities. > >Lots of providers are having trouble keeping up with their newsfeed right >now. But many providers do not even know that they receive only half of >the articles. > [snip] Yes, most providers are having trouble keeping up with their newsfeed, and I would agree that many of them are not even aware of it. Suppose you have 25% excess transfer capacity, and despamming stopped. You would get 25% more, the rest would probably be dropped. Since most sites DON'T have 25% excess transfer capacity, they aren't even going to notice an increase in traffic, spool storage, and other resource usage from getting all the spam. It is going to look like any other day.... The admins who WILL notice, are the "conscientious" ones who are probably already aware of the volume of spam which is cancelled. You can't teach a student who does not pay attention. Forrest Cavalier, Mib Software, INN customization and consulting
Re: Cancellers shutting down completely
Author: Uncle Roadkill
Date: Fri, 05 Sep 1997 00:00
Date: Fri, 05 Sep 1997 00:00
29 lines
2044 bytes
2044 bytes
Forrest Cavalier writes... > The admins who WILL notice, are the "conscientious" ones who are > probably already aware of the volume of spam which is cancelled. No argument there. Part of the motivation behind Cosmo was to allow my news server to survive the spam. It wasn't even the volume of cancels which caused me to notice all the spam, it was simply watching inbound news logs and being amazed at the number of substantially similar Message-IDs. IIRC (and maybe I don't), when I was experimenting with Cosmo in the days before I started operations, I was detecting over two spam messages for every cancel coming in. Onno Hovers writes... > The cost of such abuse is almost zero. And the gain for all > these brave volunteer despammers is almost zero, as well. The gain for me, at least, is not having to worry as much about my news server. I consider that to be a gain substantially greater than zero. Of course, one must always consider the BOFH angle. Cosmo has the potential for being a legendary auto-LART. Uncle Roadkill
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