🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66840

Re: inn, limit download per user

#66840
From: 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
Technical Details
Message-ID: <bmjtvh$2ca$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!news.maxwell.syr.edu!news.litech.org!not-for-mail
References: <3f8d665d$1@news.swissonline.ch>

Show Full Headers
Complete Article Headers
Message-ID: <bmjtvh$2ca$1@puck.litech.org>
Subject: Re: inn, limit download per user
Date: Wed, 15 Oct 2003 16:52:01 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <3f8d665d$1@news.swissonline.ch>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!news.maxwell.syr.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 23
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1066236721 2442 66.218.0.75 (15 Oct 2003 16:52:01 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Wed, 15 Oct 2003 16:52:01 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)