Article View: news.software.nntp
Article #70049Re: NNTP server test script
From: Alan Connor
Date: Sat, 02 Oct 2004 01:16
Date: Sat, 02 Oct 2004 01:16
47 lines
2309 bytes
2309 bytes
On Sat, 02 Oct 2004 00:49:26 GMT, Conrad J. Sabatier <conrads@cox.net> wrote: > In article <2Sm7d.12534$Hz.12393@fed1read04>, Conrad > J. Sabatier <conrads@cox.net> wrote: > > >>In article <hTJRc.8593$_C6.863@cyclops.nntpserver.com>, John >>Kenickney <spam.trap@bigfoot.com> wrote: <snip> > One small potential problem, I just realized, with the above > statement. This will loop forever if the server returns a > "201" (no posting allowed) instead of "200" (posting allowed). > > Modify accordingly. > > Still, pretty amazing what you can do with a relatively simple > little bash script, isn't it? :-) > Nice job. I've been using telnet and thinking about writing a netcat script like yours. I'll use it as a template. Thanks. For the OP: Here's a list of relatively open (you can't post on most of them) private newsservers that isn't too old: http://tinyurl.com/34js7 If you just want to see if the server is up, will allow you to log on, and list the newsgroups it has: #!/bin/sh # put URL or IP address as argument to script name on # commandline (echo list echo quit )| netcat -vv "$1" 119 >> file AC
Technical Details
Message-ID:
<Ajn7d.520$UP1.292@newsread1.news.pas.earthlink.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!65807237!not-for-mailReferences:
<hTJRc.8593$_C6.863@cyclops.nntpserver.com> <2Sm7d.12534$Hz.12393@fed1read04> <qWm7d.12536$Hz.9114@fed1read04>Show Full Headers
Complete Article Headers
Message-ID: <Ajn7d.520$UP1.292@newsread1.news.pas.earthlink.net> Subject: Re: NNTP server test script Date: Sat, 02 Oct 2004 01:16:16 GMT From: Alan Connor <zzzzzz@xxx.yyy> References: <hTJRc.8593$_C6.863@cyclops.nntpserver.com> <2Sm7d.12534$Hz.12393@fed1read04> <qWm7d.12536$Hz.9114@fed1read04> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!65807237!not-for-mail Newsgroups: news.software.nntp Reply-To: xxxx@yyy.zzz User-Agent: slrn/0.9.7.3 (Linux) Lines: 47 NNTP-Posting-Host: 63.187.225.162 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.pas.earthlink.net 1096679776 63.187.225.162 (Fri, NNTP-Posting-Date: Fri, 01 Oct 2004 18:16:16 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net