🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Tim Pennick Tue, 25 Jan 2000 00:00
INN and NNTP in general: a couple of queries
#43650
Author: Tim Pennick
Date: Tue, 25 Jan 2000 00:00
32 lines
2319 bytes
All,

I've got a couple of queries which after several months of coming up to speed
with INN and NNTP, I still haven't been able to answer.  Hopefully other people
in the same position may find answers to these questions as useful as I would.

1. Assumng I have an NNTP connection between me and my upstream peer, if my
server goes down, does the upstream machine spool articles against my eventual
return, or are these lost?  I have read references to 'suck' and 'newnews' but
I'm still not sure of the default procedure.  If spooling takes place, how
long are articles spooled?  Someone told me that when you bring your local
server up you need to issue the 'rnews -U' command, but as far as I understand
it, this only applies if you are using a UUCP connection.  Does a standard
setup which is intended for constant running normally have any use for the
'suck' utility, or is this just for servers using intermitent connections such
as dial-in lines?  (If I need it, where can I get 'suck' from?)

On an almost completely unrelated topic, I'm still confused by the propagation
of commands such as ctlinnd rmgroup.  The manual page for ctlinnd discusses
forwarding of this type of command, in conjunction with exploders and funnels,
neither of which is defined anywhere I've read.  Does this 'forwarding' mean
that you can forward an rmgroup to a different server, other than by actually
issuing a control message?  I'd understand this manual page better, if someone
could explain what funnels and exploders are.

Apologies for the extended post, but it would be useful to fill in the gaps.

Regards,

Tim Pennick

Re: INN and NNTP in general: a couple of queries
#43716
Author: Jan Chrillesen
Date: Wed, 26 Jan 2000 00:00
35 lines
2379 bytes
Tim Pennick <tpennick@axion.bt.co.uk> wrote:

> 1. Assumng I have an NNTP connection between me and my upstream peer, 
> if my server goes down, does the upstream machine spool articles against 
> my eventual return, or are these lost?  

Assuming you got a real news-feed (can issue IHAVE etc. to your upstream
provider) articles should be spooled. The spooled articles will be
available until the article expire on your upstream server or the admin
desire to wipe out your backlog if it has grown too big.

> I have read references to 'suck' and 'newnews' but

suck is a program that pulls news from a server for which you only have
ordinary read/post access. NEWNEWS is a reader command, that list all new
articles after some date and time.

> On an almost completely unrelated topic, I'm still confused by the 
> propagation of commands such as ctlinnd rmgroup.  

All operations are local, eg. you won't wipe out a group on all servers by
issuing a rmgroup command. The same applies to cancel etc.

> The manual page for ctlinnd discusses forwarding of this type of command, 
> in conjunction with exploders and funnels, neither of which is defined 
> anywhere I've read.  Does this 'forwarding' mean  that you can forward an 
> rmgroup to a different server, other than by actually issuing a control 
> message?

No, it means that some commands are passed on to child processes of innd.
That would be programs spawned by innd and listed in the newsfeeds file

/Jan

Re: INN and NNTP in general: a couple of queries
#43732
Author: Jan Chrillesen
Date: Thu, 27 Jan 2000 00:00
18 lines
1636 bytes
Tim Pennick <tpennick@axion.bt.co.uk> wrote:

> I'm wondering whether I should replace nntplink on my main server with 
> innfeed. Any thoughts on how  to process these batch files would be 
> gratefully received.

I have no experience with nntplink myself. We use almost exclusively
innfeed. It does realtime exchanging of news (sends out the articles as soon
as they're passed from innd, assuming the remote host can keep up).

For delayed feeds (not that I think we have any at the moment) we use
innxmit. I seem to remember that nntplink, innxmit and innfeed is compared
in the O'reilly Usenet book. Maybe one of the more experienced readers of 
this group could provide further info.

/jan 

Re: INN and NNTP in general: a couple of queries
#43754
Author: Tim Pennick
Date: Thu, 27 Jan 2000 00:00
35 lines
2626 bytes
>   From: Jan Chrillesen <chrille@isa.dknet.dk>
>Tim Pennick <tpennick@axion.bt.co.uk> wrote:
>
>> 1. Assumng I have an NNTP connection between me and my upstream peer,
>> if my server goes down, does the upstream machine spool articles against
>> my eventual return, or are these lost?
>
>Assuming you got a real news-feed (can issue IHAVE etc. to your upstream
>provider) articles should be spooled. The spooled articles will be
>available until the article expire on your upstream server or the admin
>desire to wipe out your backlog if it has grown too big.

Thanks Jan, this clarifies things a lot, but opens a whole new barrel of
worms.  I currently have a primary server running inn2.1, with nntplink, and a
test server running INN2.2.2 and innfeed.  I haven't really touched the config
of the primary server since I inherited it from my predecesor in October as it
seems to be running well.  However, a lot of files hang around in the
...../spool/outgoing directory, which have filenames consisting of the
receiving hostname.pid.  Some of these are enormous, and on the basis of your
information, I assume these are batch queue files written by nntplink when the
receiving host is down.  However, these never seem to get processed, and
eventually disappear presumably when the articles referenced by them expire.
Nntplink is called from the newsfeeds file with the -q option, and the man
page states specifically that it is up to the administrator to handle the
processing of batch files written when receiving sites are unavailable.
Presumably I could use nntpsend to process these batch files, but nntpsend
appears to look for files without the 'pid' extension.  I'm wondering whether
I should replace nntplink on my main server with innfeed.  Any thoughts on how
to process these batch files would be gratefully received.

Regards,

Tim Pennick

Re: INN and NNTP in general: a couple of queries
#43769
Author: Craig Dewick
Date: Sat, 29 Jan 2000 00:00
60 lines
3752 bytes
Tim Pennick <tpennick@axion.bt.co.uk> writes:

>I've got a couple of queries which after several months of coming up to
>speed with INN and NNTP, I still haven't been able to answer.  Hopefully
>other people in the same position may find answers to these questions as
>useful as I would.

I'll see if I can help at:

>1. Assumng I have an NNTP connection between me and my upstream peer, if my
>server goes down, does the upstream machine spool articles against my eventual
>return, or are these lost?  I have read references to 'suck' and 'newnews' but
>I'm still not sure of the default procedure.  If spooling takes place, how
>long are articles spooled?  Someone told me that when you bring your local
>server up you need to issue the 'rnews -U' command, but as far as I understand
>it, this only applies if you are using a UUCP connection. 

That's what I assumed too.

> Does a standard setup which is intended for constant running normally have
>any use for the 'suck' utility, or is this just for servers using
>intermitent connections such as dial-in lines?  (If I need it, where can I
>get 'suck' from?)

I don't know if my setup is 'standard'. I've got inn-2.2.1 running on my
news server machine. The next machine up the chain uses an nntpcache server
for handling all news except 'aus.*' (since I'm in Australia), so I use
Robert Yetman's 'suck' utility (which you can find at
"http://home.att.net/~bobyetman") to fetch most of the news for my server
via the upstream nntpcache server.

All the aus.* groups are fed directly from the upstream server via normal
NNTP, but both 'suck' and the nntp connections deposit all the articles into
the one spool, controlled by the innd process.

>On an almost completely unrelated topic, I'm still confused by the propagation
>of commands such as ctlinnd rmgroup.  The manual page for ctlinnd discusses
>forwarding of this type of command, in conjunction with exploders and funnels,
>neither of which is defined anywhere I've read.  Does this 'forwarding' mean
>that you can forward an rmgroup to a different server, other than by actually
>issuing a control message?  I'd understand this manual page better, if someone
>could explain what funnels and exploders are.

I've never completely understood control messages myself. I found that they
are mostly an annoyance, so I disabled all newgroup and rmgroup messages in
Inn's control.ctl file and changed the config so they are mailed to me and I
decide which groups to add or delete depending on the server usage and how
much free disk space is available in the filesystem containing the news
spool.

Regards,

Craig.
--
            Craig Dewick. Send email to "cdewick@lios.apana.org.au"
  Point a web browser at 'http://lios.apana.org.au/~cdewick/sun_shack.html' to
    access my archive of Sun information and links to other places. For info 
          about Sun Ripened Kernels, go to "http://www.sunrk.com.au"

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