Article View: news.software.nntp
Article #6942Re: How to limit # of connections per user
From: Joe Greco
Date: Fri, 26 Apr 1996 00:00
Date: Fri, 26 Apr 1996 00:00
34 lines
2065 bytes
2065 bytes
In news.software.nntp article <4lmg4l$2ig_001@wiley.youtools.com>, josh@youtools.com (Josh Renzema) wrote: :Greetings all! : We run a news server that has many open connections at any given time, :but we have a few people that connect (their news programs are all different) :and open anywhere from 5 to 50+ connections to the news server. Obviously, :this is very bad. : : Is there a way to limit the number of connections that a user can open :to the news server? I don't want to limit the total number of connections, :but the number of connections to any given IP address.... : :Any ideas? If you're not adverse to writing code, you might want to consider looking at the "connectd" that I wrote to replace the INN port 119 listener. It sits on 119 and accepts/spawns off nnrpd's, and already has minimal code to see who's calling. What you could do is to extend it a bit, read a configuration file listing hosts and numbers of nnrp's allowed, and then use the fact that you have a single point of launch control to implement your policy. All you need to write is the code to track sessions, not all the grungy code to do the rest of the dirty work. :-) If you do, send your changes back to me.. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Technical Details
Message-ID:
<4lrcc9$52g@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:
<4lmg4l$2ig_001@wiley.youtools.com>Show Full Headers
Complete Article Headers
Message-ID: <4lrcc9$52g@brasil.moneng.mei.com> Subject: Re: How to limit # of connections per user Date: Fri, 26 Apr 1996 00:00:00 +0000 From: jgreco@brasil.moneng.mei.com (Joe Greco) References: <4lmg4l$2ig_001@wiley.youtools.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-mail X-Deja-AN: 151591478 Distribution: inet Organization: Marquette Electronics, Inc. - Milwaukee, WI. Newsgroups: news.software.nntp