🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Robert Meyer Wed, 15 Oct 2003 15:22
inn, limit download per user
#66839
Author: Robert Meyer
Date: Wed, 15 Oct 2003 15:22
9 lines
1302 bytes
Hi,

is there a way to limit the amount of data, that
can be downloaded from a particular IP?

Thanks in advance

Robert
Re: inn, limit download per user
#66840
Author: Jeffrey M. Vinocur
Date: Wed, 15 Oct 2003 16:52
23 lines
1969 bytes
In article <3f8d665d$1@news.swissonline.ch>,
Robert Meyer  <romeye@hispeed-nospam.ch> wrote:
>
>is there a way to limit the amount of data, that
>can be downloaded from a particular IP?

You can limit the amount of bandwidth per connection, easily.
I think you'd have to use the Perl hooks to write some code for
tracking multiple connections per IP.  Trying to do a bytes/day
cap would be tricky in nnrpd itself.

A better solution may be to run INN on a separate port for your
newsfeeds to talk to, and use a separate tool like xinetd to
listen for client connections and launch nnrpd; I'm not sure
exactly what sort of limits xinetd supports, but probably the way
to go about this is to find a solution like xinetd that's
independent of any particular server software.  I don't know
where to best send you to find out about that, though.


-- 
Jeffrey M. Vinocur
jeff@litech.org
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