🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68906

Re: Way to limiting the reader-download ?

#68906
From: pbs
Date: Sun, 04 Apr 2004 22:32
43 lines
3770 bytes
Kai Henningsen wrote:
> rra@stanford.edu (Russ Allbery)  wrote on 30.03.04 in <874qs69ryh.fsf@windlord.stanford.edu>:
> 
> 
>>Matthias Wach <webmaster@salimbo.com> writes:
>>
>>
>>>I am a little confused. INN supports so many functions, think it can
>>>cook coffee. But this very important feature is not supported...
>>
>>All features are important to someone.  :)  This particular feature is
>>unfortunately somewhat difficult to implement in INN's architecture, since
>>it requires storing state across multiple independent nnrpd processes.
>
> That kind of thing is something Exim (the MTA) does all the time. It does  
> this by having a few databases (Berkeley DB, I believe), in which the  
> various processes can drop and get back the necessary information.  (In  
> Exim's case, stuff like "this host was not reachable at this time", "we  
> have this many connections open from that host", and so on.)
> 
> Inn currently does not have any database with those characteristics (many  
> writers, many readers, typically short retention for small pieces of  
> data), but I can see no reason why that would be a particular problem. It  
> might even be a generally useful mechanism to have.

One quick way to do this would be to take the ideas in the relay-yEnc 
proxy junking the yEncoding and putting in a simple database of 
connections. This would be able to do the job for all versions of the 
inn news server and save the need for inn system integration testing. It 
is a pity that the licence on yEnc is not a little more liberal 
otherwise their code could be used as a base for doing this.
http://ziberex.dk/ENG-yEnc.htmI
                               ^upper case i

dnntpd is another candidate for alteration but I think that it does more
than is necessary for a simple authentication/authorization proxy.
http://www.netsw.org/net/news/proxy/dnntpd

Perhaps someone else knows of a proxy which can do 
authentication/authorization that is already available and ready to go.

If not this seems like a perfect small self contained undergraduate 
project :-)
Technical Details
Message-ID: <c4q2dd$408$1@squay.lomarline.freeserve.co.uk>
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!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed3.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!c03.atl99!news.usenetserver.com!news02.tsnz.net!news.iconz.co.nz!lomarline.freeserve.co.uk!not-for-mail
References: <4068ad4b$0$62830$a8266bb1@news.titannews.com> <c4apl4$287$1@ratbert.glorb.com> <87isgn9ezl.fsf@windlord.stanford.edu> <c4b8hh$uca$02$1@news.t-online.com> <874qs69ryh.fsf@windlord.stanford.edu> <96EZ576Xw-B@khms.westfalen.de>

Show Full Headers
Complete Article Headers
Message-ID: <c4q2dd$408$1@squay.lomarline.freeserve.co.uk>
Subject: Re: Way to limiting the reader-download ?
Date: Mon, 05 Apr 2004 10:32:12 +1200
From: pbs <pnews@lomarline.freeserve.co.uk>
References: <4068ad4b$0$62830$a8266bb1@news.titannews.com> <c4apl4$287$1@ratbert.glorb.com> <87isgn9ezl.fsf@windlord.stanford.edu> <c4b8hh$uca$02$1@news.t-online.com> <874qs69ryh.fsf@windlord.stanford.edu> <96EZ576Xw-B@khms.westfalen.de>
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!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed3.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!c03.atl99!news.usenetserver.com!news02.tsnz.net!news.iconz.co.nz!lomarline.freeserve.co.uk!not-for-mail
Newsgroups: news.software.nntp
Organization: InterNetNews site lomarline.freeserve.co.uk
Lines: 43
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en, en-us
In-Reply-To: <96EZ576Xw-B@khms.westfalen.de>
X-Original-NNTP-Posting-Host: ip-210-185-8-219.internet.co.nz
X-Original-Trace: 5 Apr 2004 12:39:20 +1200, ip-210-185-8-219.internet.co.nz
NNTP-Posting-Host: 210.48.22.5
X-Complaints-To: abuse@tsnz.net
X-Trace: news02.tsnz.net 1081125564 210.48.22.5 (Mon,
NNTP-Posting-Date: Mon, 05 Apr 2004 12:39:24 NZST