Article View: news.software.nntp
Article #13580Re: INN - port other than 119?
From: Cracker Buster
Date: Sat, 28 Dec 1996 00:00
Date: Sat, 28 Dec 1996 00:00
82 lines
3942 bytes
3942 bytes
On 27 Dec 1996, Odd Einar Aurbakken wrote:
> > We've just moved innd to port 120, and runs nnrpd out of inetd at port
> > 119, this ment a great improvement for our readers connect time.
>
> This has the disadvantage that clients that connect and close/drop and
> reconnect over and over get much faster, making it harder to convince
> the lusers to change to a real news reader. Otherwise it's a good idea.
With some flavor of INN 1.5 (line numbers may vary):
> diff -c /usr/local/etc/rc.news /usr/local/etc/rc.news-orig
*** /usr/local/etc/rc.news Fri Dec 13 20:37:39 1996
--- /usr/local/etc/rc.news-orig Sun Nov 17 01:13:32 1996
***************
*** 16,22 ****
## RFLAG is set below; set FLAGS as appropriate.
RFLAG=""
! FLAGS="-i100 -H1 -X60"
## Clean shutdown?
if [ -f ${SERVERPID} ] ; then
--- 16,22 ----
## RFLAG is set below; set FLAGS as appropriate.
RFLAG=""
! FLAGS="-i0"
## Clean shutdown?
if [ -f ${SERVERPID} ] ; then
[If you want to be polite to certain newsreaders, you could use -H2 and
-X30, for example.]
ln -s /usr/local/news/hosts.nntp.nolimit /usr/local/news/hosts.nntp
[Your path probably will vary. If you want local flexibility, copy the
second file above to the first and add to the latter the hosts you read
from or your boss reads from or which otherwise deserve special
treatment. Be sure to update the nolimit file anytime you add a peer.]
> diff -c include/nntp.h include/nntp.h-orig
*** include/nntp.h Wed Dec 18 14:52:07 1996
--- include/nntp.h-orig Mon Nov 11 15:51:26 1996
***************
*** 82,88 ****
#define NNTP_CANTPOST_VAL 440
#define NNTP_SERVER_TOOBUSY "504 Server overloaded, try later"
#define NNTP_SERVER_TOOBUSY_VAL 504
! #define NNTP_TOO_MANY_CONNECTS "505 Get a real newsreader, you Netscrape lamer."
#define NNTP_TOO_MANY_CONNECTS_VAL 505
/* new entries for the "streaming" protocol */
--- 82,88 ----
#define NNTP_CANTPOST_VAL 440
#define NNTP_SERVER_TOOBUSY "504 Server overloaded, try later"
#define NNTP_SERVER_TOOBUSY_VAL 504
! #define NNTP_TOO_MANY_CONNECTS "505 Connection rejected, you're making too many connects per minute"
#define NNTP_TOO_MANY_CONNECTS_VAL 505
/* new entries for the "streaming" protocol */
Then you can watch your news.daily report fill up with 505's. (It looks
like the innreport.pl supplied with 1.5 takes these into consideration,
but I'm using Fabien Tassin's innreport.pl which, as of 2.1b6, treats
these as unknown messages, filling numerous lines in the report as
frustrated readers nearby repeatedly try to get the latest fetish pictures.)
Or, for more fun, tail -f news.notice and watch, relishing the frustration
of the clueless lusers as they agonizingly connect in vain every two or
three seconds.
Barry Bouwsma
Radio Praha BNAFH
Technical Details
Message-ID:
<Pine.LNX.3.93.961228204109.257C-100000@wedgehog.radio.cz>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<850284672.17820@dejanews.com> <vxku3ptaws6.fsf@pocari-sweat.jprc.com> <58qkl2$pck@news0-alterdial.uu.net> <8engu5jnu.fsf@rodan.UU.NET> <slrn5ba5bc.e3l.hwr@pilhuhn.de> <59psqk$9h@epimetheus.algonet.se> <32c11cc1.1279771393@news.inet.tele.dk> <5a1c28$llu@ratatosk.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.93.961228204109.257C-100000@wedgehog.radio.cz> Subject: Re: INN - port other than 119? Date: Sat, 28 Dec 1996 00:00:00 +0000 From: Cracker Buster <luser@Radio.CZ> References: <850284672.17820@dejanews.com> <vxku3ptaws6.fsf@pocari-sweat.jprc.com> <58qkl2$pck@news0-alterdial.uu.net> <8engu5jnu.fsf@rodan.UU.NET> <slrn5ba5bc.e3l.hwr@pilhuhn.de> <59psqk$9h@epimetheus.algonet.se> <32c11cc1.1279771393@news.inet.tele.dk> <5a1c28$llu@ratatosk.uio.no> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 206444254 Content-type: TEXT/PLAIN; charset=US-ASCII Organization: Radio Praha -- Cesky Rozhlas 7 Mime-version: 1.0 Reply-to: Barry Bouwsma <ag786@yfn.ysu.edu> Newsgroups: news.software.nntp Nntp-posting-user: luser