🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9722

Problems with Netscape 2.0x and INN1.4

#9722
From: Peter Jeremy
Date: Mon, 29 Jul 1996 00:00
33 lines
2054 bytes
I have found my news logs getting filled with messages like
Jul 29 09:59:11 gsms01 nnrpd[13643]: ? cant getpeername Connection reset by peer
Jul 29 10:00:41 gsms01 innd: ME cant accept RCreader Protocol error
sometimes more than 100 log entries in 5 seconds.

Looking at what is going on, it seems that some versions of Netscape 2.0x
are opening excessive numbers of connections to the NNTP port, and closing
them almost immediately.

Has anyone else seen this behaviour?

I feel that forking an nnrpd solely so that it can report that it's input
channel was closed before it could even determine who was at the other end
is a waste of system resources - especially when this is being done about
as fast as the system can spawn nnrpd's.

Has anyone come up with a way of alleviating this problem?  Telling users
to upgrade to a `fixed' version of Netscape doesn't seem to work.  What I
would like is something that lets me restrict the number and rate of
incoming NNTP connect requests, without needing more system resources that
the current nnrpd takes to die.  Given the architecture of INN, this tends
to imply some sort of leaky bucket, indexed by IP address, in innd.

If anyone has any ideas (or better still, some solutions), please send me
some E-mail.
-- 
Peter Jeremy (VK2PJ)                    peter.jeremy@alcatel.com.au
Alcatel Australia Limited
41 Mandible St                          Phone: +61 2 690 5019
ALEXANDRIA  NSW  2015                   Fax:   +61 2 690 5247

Technical Details
Message-ID: <4tha01$hrd@gsms01.alcatel.com.au>
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

Show Full Headers
Complete Article Headers
Message-ID: <4tha01$hrd@gsms01.alcatel.com.au>
Subject: Problems with Netscape 2.0x and INN1.4
Date: Mon, 29 Jul 1996 00:00:00 +0000
From: jeremyp@gsms01.alcatel.com.au (Peter Jeremy)
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: 170785004
Distribution: inet
Organization: Alcatel Australia Limited
Newsgroups: news.software.nntp