🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66592

Re: INN+suck as transparent cache?

#66592
From: Frank Slootweg
Date: Fri, 29 Aug 2003 10:20
34 lines
2633 bytes
Alistair Happencross <alistair_happencross@hotmail.com> wrote:
> I want to set up a news cache with INN and suck.
[deleted]
> I envisage something like this:
> 
> * Point the news client to localhost:119 (or something similar) and
>   point INN+suck to my ISP's news server.
> 
> * INN presents a full list of newsgroups available on my ISP's news
>   server, even though only a small fraction of those groups are
>   currently cached.
> 
> * When entering any group, INN+suck automatically updates the overview
>   for that group, on the fly.
> 
> * When reading any message, INN+suck automatically downloads that
>   message from the ISP's server if that message is not already cached.
> 
> Is this sort of setup practical?

  I do not know (if newer versions of) INN has facilities/'hooks' for
this, but I did something similar with some home made scripts.

  Each non-sucked group had a dummy article explaining that that group
was not carried at the moment, but that it would be automatically added
by reading the article. A script processed news.log to catch newly read
non-carried groups and updated sucknewsrc and deleted the dummy article.
Another script did the reverse, if a group was not read for X days, the
group was no longer sucked and the dummy article was reposted.

  The most 'difficult' part was to make sure that the dummy articles did
not escape from my server to other servers/Usenet. I managed that by
putting a dummy host in the Path: entry and excluding that host in my
newsfeeds file.
Technical Details
Message-ID: <BNF3b.181420$0W5.5424609@pollux.casema.net>
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!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed1.easynews.com!easynews.com!easynews!news-out.nuthinbutnews.com!propagator2-sterling!In.nntp.be!cleanfeed.casema.net!pollux.casema.net.POSTED!53ab2750!not-for-mail
References: <8811f961.0308290110.782439cf@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <BNF3b.181420$0W5.5424609@pollux.casema.net>
Subject: Re: INN+suck as transparent cache?
Date: Fri, 29 Aug 2003 10:20:17 GMT
From: Frank Slootweg <this@ddress.is.invalid>
References: <8811f961.0308290110.782439cf@posting.google.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed1.easynews.com!easynews.com!easynews!news-out.nuthinbutnews.com!propagator2-sterling!In.nntp.be!cleanfeed.casema.net!pollux.casema.net.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.nntp
Organization: NOYB
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (CYGWIN_NT-5.1/20.1
 (0.3/1/1) (i1586)) Hamster/2.0.0.1
Lines: 34
NNTP-Posting-Host: 62.234.56.64
X-Trace: pollux.casema.net 1062152417 62.234.56.64 (Fri,
NNTP-Posting-Date: Fri, 29 Aug 2003 12:20:17 MEST