Article View: news.software.nntp
Article #11109Re: Netscape and Win/NT vs. NNTP
From: Joe Greco
Date: Tue, 24 Sep 1996 00:00
Date: Tue, 24 Sep 1996 00:00
65 lines
3154 bytes
3154 bytes
In news.software.nntp article <slrn541n9a.4kl.cbbrowne@wolfe.brownes.org>, cbbrowne@unicomp.net wrote:
:It ain't a feature if the user can't read news because he took down the news
:server.
:
:This sounds like a good case for NNTP servers that require user
:authentication. Wouldn't it be interesting if the server were to refuse
:multiple simultaneous connections?
:e.g.
:====
:% telnet newshost.brownes.org 119
:user cbbrowne
:password blah, blah, blah
:666 Too Many Simultaneous Connections - Access Denied.
:Connection closed by foreign host.
:%
You do not need authentication, at least in some environments. Since
people were running Netscape (or MIE, or whatever) on PPP dialups,
limiting by hostname is very effective and very ruthless.
I have code... and while I am not yet pressing it into official service,
the hit rate recorded by the central controlling process suggests that a
minimum of 10% of the connections I see at one client's site would be
rejected...
if ((rval = comm(host, REQ_SIGNON)) == ERR_OK) {
return(0);
}
return(0);
if (rval == ERR_PERMISSION) {
printf("502 You are not authorized to connect here. Goodbye.\n"
);
exit(1);
}
if (rval == ERR_TOOMANY) {
printf("502 You have too many connections open. Goodbye.\n");
exit(1);
}
if (rval == ERR_RESPAWN) {
printf("502 You are opening connections too rapidly. Goodbye.\n
");
exit(1);
}
Note the second return(0); is the only thing preventing it from actually
happening.
(Due to the distributed environment this is working in, there is a central
process on a separate machine which tracks NNRP sessions via network
communications... each session "signs on" and "signs off" unless the server
returns a code indicating that the user needs to take a hike).
The limits we have in mind are 4 simultaneous connections and 6 connections
per minute, max. (Any input in this area is welcome).
All you NNTP sh*tware authors out there - beware. You are being targeted.
... Joe
-------------------------------------------------------------------------------
Joe Greco - Systems Administrator jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Technical Details
Message-ID:
<529bo4$6kr@brasil.moneng.mei.com>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:
<DxuEJx.IpG@rsvl.unisys.com> <51pktq$ae8@earth.alpha.net> <32407EB0.2DE0@netscape.com> <slrn541n9a.4kl.cbbrowne@wolfe.brownes.org>Show Full Headers
Complete Article Headers
Message-ID: <529bo4$6kr@brasil.moneng.mei.com> Subject: Re: Netscape and Win/NT vs. NNTP Date: Tue, 24 Sep 1996 00:00:00 +0000 From: jgreco@brasil.moneng.mei.com (Joe Greco) References: <DxuEJx.IpG@rsvl.unisys.com> <51pktq$ae8@earth.alpha.net> <32407EB0.2DE0@netscape.com> <slrn541n9a.4kl.cbbrowne@wolfe.brownes.org> 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: 185090047 Distribution: inet Organization: Marquette Electronics, Inc. - Milwaukee, WI. Newsgroups: news.software.nntp,news.software.readers