🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Josh Renzema Thu, 25 Apr 1996 00:00
How to limit # of connections per user
#6912
Author: Josh Renzema
Date: Thu, 25 Apr 1996 00:00
22 lines
1174 bytes
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?

Cheers!

Josh


--
 *Josh G. Renzema - You Tools/FASTNET - josh@youtools.com - (610) 954-5910
     -=-=-=- www.youtools.com - FASTNET(tm) PA/NJ/DE Internet -=-=-=-

Re: How to limit # of connections per user
#6942
Author: Joe Greco
Date: Fri, 26 Apr 1996 00:00
34 lines
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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads