[news.software.nntp] Load-limit on remote connections only?

rsalz@bbn.com (Rich Salz) (10/03/89)

I like the load-limiting feature, but wish it could be specified on a
per-{site,net,subnet} basis.  Has anyone done this?  It would involve
a bit of code restructuring.

For now, I just duplicated some code with a hard-wired check on the
address ("does it end with bbn.com"?)...
	/r$
-- 
Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.
Use a domain-based address or give alternate paths, or you may lose out.

tadguy@cs.odu.edu (Tad Guy) (10/04/89)

In article <1992@prune.bbn.com> rsalz@bbn.com (Rich Salz) writes:
   I like the load-limiting feature, but wish it could be specified on a
   per-{site,net,subnet} basis.  Has anyone done this?  It would involve
   a bit of code restructuring.

They way I do it here is to look to see if the incoming connection is
xfer only, and if so do a load check.  I also use the domain-matching
nntp_access file, so local domains are exempt (since they aren't xfer
only).  This allows local users to read/post, but our feeds are
stifled if we're too busy.

	...tad