🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #42925

Re: INN + Modules

#42925
From: Andrew Gierth
Date: Fri, 07 Jan 2000 00:00
75 lines
4034 bytes
>>>>> "Frank" == Frank Geldner <frank.geldner@t-online.de> writes:

 Frank> - innd is the heard of INN, and handles NNTP feeding
 Frank> connections directly. Is filtering also the task of innd and
 Frank> what kind of filtering is available?

Filtering can be done using Perl code running in an interpreter
embedded into innd. (Or TCL, but that doesn't seem so popular.)

 Frank> - innfeed for real-time outgoing feeds (-> is innd not
 Frank> suitable to handle real-time outgoing feeds? What kinds of
 Frank> feeds supports innd?

innd doesn't handle outgoing feeds at all; it merely passes on the
details of incoming articles to external programs via files or pipes,
and those programs handle the actual transmission of the articles.

innfeed is a program designed to handle multiple realtime outgoing
feeds in a single process; if an article is being fed to several
feeds at once, then innfeed will only read it from the spool once
(if possible).

 Frank> - rnews handles newsfeeds over UUCP (batch mode plus
 Frank> compression possible). One documentation mentioned that inn
 Frank> can handle UUCP.  Supports innd UUCP, if yes, why I need
 Frank> rnews?

rnews is a utility that reads in either single articles or UUCP
batches and feeds them into innd as though they were arriving from an
NNTP peer.

innd itself knows nothing about UUCP. Incoming UUCP news is handled
by having the UUCP peer invoke rnews (via uux), outgoing UUCP news is
handled by having innd write files listing articles to be fed out,
and then invoking batcher on those files to construct the actual
article batches, which are then passed to rnews on the peer via uux.

 Frank> - nnrpd handles connections from newsreaders, like the
 Frank> newsreader from Netscape or whatever. IS that right?

correct

 Frank> - nntpsend/ innxmit is used to send batches of news created by
 Frank> innd to remote site via TCP/IP. What's the advantage of this
 Frank> mode?

for small feeds it may not be necessary to do everything in realtime.

 Frank> Which modules is necessary for a full feed news server. Is
 Frank> there any rule?

The most usual combination for a transit server is innd+innfeed.
A leaf server with no outgoing feeds may use only innd+nnrpd.
Some larger sites use cluster systems with the spool stored on a
shared filesystem; the client-facing systems may only need nnrpd.

 Frank> According the control issue, is it possible with INN to have
 Frank> control over all newsgroups or articles. For example, to
 Frank> disallow some content of articles.

INN has two hooks for custom filtering. Within innd, you can pass all
incoming articles (including locally-posted articles) through the Perl
filter to decide what to accept or reject. Within nnrpd, you can pass
all locally-posted articles through a Perl filter to decide what to
accept, reject or discard.

The popular Cleanfeed package (see <http://www.exit109.com/~jeremy/news/>)
is a Perl filter suitable for innd that rejects spam and
(configurably) other things like misplaced binaries; but you can write
your own filtering code if you prefer.

-- 
Andrew.

Technical Details
Message-ID: <87r9ft66d1.fsf@erlenstar.demon.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.mbox.zip!not-for-mail
References: <387629F0.1CDEF4E4@t-online.de>

Show Full Headers
Complete Article Headers
Message-ID: <87r9ft66d1.fsf@erlenstar.demon.co.uk>
Subject: Re: INN + Modules
Date: Fri, 07 Jan 2000 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <387629F0.1CDEF4E4@t-online.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.mbox.zip!not-for-mail
X-Deja-AN: 569668853
X-Mayan-Date: Long count = 12.19.6.15.6; tzolkin = 2 Cimi; haab = 14 Kankin
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp,news.software.b
X-Post-Filter: postfilter v0.6 alpha