🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Tor Lillqvist Sun, 01 Nov 1992 00:09
Restricting access to nnrpd (INN)
#1590
Author: Tor Lillqvist
Date: Sun, 01 Nov 1992 00:09
14 lines
1277 bytes
What would be the cleverest way to restrict the number of
simultaneosuly active nnrpd connections from "outside" hosts?

Is this a good idea: Replace nnrpd with a short script that does a
getpeername lookup and based on that checks if there are too many
clients from the corresponding class of hosts already active. Possibly
other factors could also be taken into consideration, like time of
day. If things are OK it then execs the real nnrpd, else outputs a
message and quits.
--
Tor Lillqvist,
working, but not speaking, for the Technical Research Centre of Finland,
Laboratory for Information Processing (VTT/TIK).
Re: Restricting access to nnrpd (INN)
#1599
Author: Rich Salz
Date: Mon, 02 Nov 1992 15:22
13 lines
1188 bytes
In <TML.92Nov1000959@hemuli.tik.vtt.fi> tml@tik.vtt.fi (Tor Lillqvist) writes:
|Is this a good idea: Replace nnrpd with a short script that does a
|getpeername lookup and based on that checks if there are too many
|clients from the corresponding class of hosts already active. Possibly
|other factors could also be taken into consideration, like time of
|day. If things are OK it then execs the real nnrpd, else outputs a
|message and quits.
Yes, that's a pretty good way to do it.

A simpler way might be to have an external shell script that replaces
the hosts.nnrp file as needed.
	/r$
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