Thread View: news.software.nntp
4 messages
4 total messages
Started by brian moore
Thu, 30 Oct 1997 00:00
news.cmc.net is finally fixed
Author: brian moore
Date: Thu, 30 Oct 1997 00:00
Date: Thu, 30 Oct 1997 00:00
75 lines
3918 bytes
3918 bytes
A few here know my sad sad story of the accident my news server had, but I guess I'll share it with others so they don't let it happen to them! It seems I made a horrible and tragic mistake when editing nnrp.access and allowed ANYONE in the world to read and post news on my server. That is a very very bad thing, since some people will hunt down an open server and use it to insert lots of things they shouldn't. VERY VERY BAD! To make matters worse, within 3 days, the folks at pervert.net found my news server and started injecting well over two thousand posts a day. That means 2000 posts to every news server in the world, and 2000 subsequent cancels. Not good at all! If that weren't enough though, it seems that I had a horrible bug in my filter_nnrpd.pl. I had downloaded Andrew Gierth's modified version of the perl hooks and installed it and I guess I wasn't so good at checking my perl code: every post that didn't have 'cmc.net' on the NNTP-Posting-Host line was being flagged with 'SPOOL'! It seems that didn't actually "SPOOL to send" as I thought. It put it in /var/spool/news/in.coming/spam instead. I was telling the folks at pervert.net that I was accepting their articles and I wasn't! VERY VERY VERY BAD! As Tom Lehrer says, "Lying is a sin". I thought I owed it to the folks at pervert.net to notify them that their posts weren't working, so I changed it to "DROP" the connection on each post. But they kept injecting them! So I modified it more and thought maybe if I selected the articles for them, they would notice them in their newsreader. I added a select(NULL,NULL, NULL,0.25) for each post thinking this would alert them to the situation at hand. They didn't seem to notice. In fact, looking at my logs, of all the hundreds of people who were using news.cmc.net for news access, the folks at pervert.net never read a single article. I then read up on the perl filter from Andrew and it seems that DROP doesn't drop the connection at all: it discards the article! And, like the SPOOL result, it LIES and tells the poster everything is well and good. At this point, I sought out the help of a few trusted news administrators to help me in my plight. They laughed at me and offered me no help! Fluffy told me I had to buy him a new keyboard. For over a week, the folks at pervert.net injected thousands of pieces of spam into my server and I was helpless to stop it. I was also just losing articles! Unfortunately no one was willing to help me fix these bugs and I just didn't have the time to figure them out myself, so the situation continued. It seems to have finally ended, so now I can tell my story. For the past couple of days, the folks at pervert.net seem to have found some other news server, or they're at least no longer using mine. This has afforded me the time to research the problems with my news server and to close the open port. Again, it is VERY VERY bad to run an open news server. It is even WORSE to drop articles from posters on that server on the floor. I promise to never ever ever do it again. Unless I get bored with all the probes of my machine again. -- Brian Moore Kill A Spammer For Jesus Sysadmin, C/Perl Hacker
Re: news.cmc.net is finally fixed
Author: Joe Greco
Date: Thu, 30 Oct 1997 00:00
Date: Thu, 30 Oct 1997 00:00
24 lines
1325 bytes
1325 bytes
In news.software.nntp article <63alja$f8c$1@news.cmc.net>, bem@news.cmc.net wrote: :[...] :For over a week, the folks at pervert.net injected thousands of pieces of :spam into my server and I was helpless to stop it. I was also just losing :articles! :[...] :Again, it is VERY VERY bad to run an open news server. It is even WORSE to :drop articles from posters on that server on the floor. : :I promise to never ever ever do it again. : :Unless I get bored with all the probes of my machine again. They say that when an open server is closed, an angel earns its wings. I don't know if it's true in general, but I think it is this time. :-) ... JG
Re: news.cmc.net is finally fixed
Author: brian moore
Date: Fri, 31 Oct 1997 00:00
Date: Fri, 31 Oct 1997 00:00
15 lines
1160 bytes
1160 bytes
In article <63bgse$9ni$1@earth.execpc.com>, jgreco@ns.sol.net (Joe Greco) writes: > They say that when an open server is closed, an angel earns its > wings. > > I don't know if it's true in general, but I think it is this time. Ah, but grep DROP news.notice gave me such a warm feeling every morning. -- Brian Moore Kill A Spammer For Jesus Sysadmin, C/Perl Hacker
Re: news.cmc.net is finally fixed
Author: Fluffy
Date: Fri, 31 Oct 1997 00:00
Date: Fri, 31 Oct 1997 00:00
24 lines
1416 bytes
1416 bytes
In article <63alja$f8c$1@news.cmc.net>, bem@news.cmc.net wrote: : I was telling the folks at pervert.net that I was accepting their articles : and I wasn't! VERY VERY VERY BAD! As Tom Lehrer says, "Lying is a sin". Sure you were accepting them. You were just putting them into a /special/ spool all their own, underneath the server where they wouldn't get harmed by all those other mean articles. : At this point, I sought out the help of a few trusted news administrators : to help me in my plight. They laughed at me and offered me no help! Fluffy : told me I had to buy him a new keyboard. And I'm still waiting for it. : Again, it is VERY VERY bad to run an open news server. It is even WORSE to : drop articles from posters on that server on the floor. : : I promise to never ever ever do it again. Darn.
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