Article View: news.software.nntp
Article #68870Re: Way to limiting the reader-download ?
From: Russ Allbery
Date: Tue, 30 Mar 2004 03:43
Date: Tue, 30 Mar 2004 03:43
27 lines
2307 bytes
2307 bytes
Geoff Brozny <gbrozny@glorb.columbus.oh.us> writes:
> max_rate:
> If this parameter is present (and nonzero) it is used for nnrpd�s
> rate-limiting code. The client will only be able to download at
> this speed (in bytes/second). Note that if SSL is being used,
> limiting is applied to the pre-encryption datastream.
> I don't know if this will rate limit that client regardless of how many
> connections they open up, or if it will just rate limit each connection,
It only rate-limits each connection.
> I was unable to find at this time if and/or how to limit the amount of
> connections one host can open at one time, hopefully someone else
> reading this will be able to tell you..
There isn't any built-in functionality to do this; you'd have to roll your
own using the Perl or Python filter. There are enough hooks to do a
proper job in the Perl or Python filter, though.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87isgn9ezl.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<4068ad4b$0$62830$a8266bb1@news.titannews.com> <c4ab0c$uv6$1@ratbert.glorb.com> <4068bb13$0$62781$a8266bb1@news.titannews.com> <c4apl4$287$1@ratbert.glorb.com>Show Full Headers
Complete Article Headers
Message-ID: <87isgn9ezl.fsf@windlord.stanford.edu> Subject: Re: Way to limiting the reader-download ? Date: Mon, 29 Mar 2004 19:43:26 -0800 From: Russ Allbery <rra@stanford.edu> References: <4068ad4b$0$62830$a8266bb1@news.titannews.com> <c4ab0c$uv6$1@ratbert.glorb.com> <4068bb13$0$62781$a8266bb1@news.titannews.com> <c4apl4$287$1@ratbert.glorb.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 26 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.Stanford.EDU 1080618206 4374 171.64.19.147 (30 Mar 2004 03:43:26 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux) Cancel-Lock: sha1:1S6cypmf4kn2IlmSa32rI6pWidA=