🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.archives
Article #4684

[news.software.b] News fan-out program available

#4684
From: Matthias Urlichs
Date: Thu, 09 May 1991 01:18
46 lines
2467 bytes
Archive-name: news/nntp/newsdist/0--
Archive: iraun1.ira.uka.de:/pub/news/newsdist.pl [129.13.10.90]
Original-posting-by: urlichs@smurf.sub.org (Matthias Urlichs)
Original-subject: News fan-out program available
Reposted-by: emv@msen.com (Edward Vielmetti, MSEN)


Newsdist is a program which contacts a number of other systems and feeds
netnews to all of them in parallel.

Thus, you need only one process slot for NNTP-feeding N systems (N = about 10
or 25, depending on how many files one process can have open).

What you need:
- Newsdist, available from iraun1.ira.uka.de, /pub/news.
- Perl.
- C News, with relaynews-daemon patches (ESSENTIAL).

When a connection times out, breaks, or whatever, newsdist leaves the file
name in a Reject file, which then can be processed by your regular nntpxmit.
Newsdist has aggressively short timeouts, necessarily.

Newsdist will reopen new log files dynamically, shortly after you send the
hangup signal to the relaynews daemon.

Currently, newsdist is a Perl program. I'll rewrite it in C sometime after
I'm back from my vacation if nobody else beats me to it. However, it's fast
enough as it is.

NB: Please be aware that the C News and relaynews.daemon patches which are
available on iraun1.ira.uka.de, are _not_ the latest versions.
(When I'm back from vacation... see above. ;-)

NB2: You'll have to adapt newsdist to your directory layout and other
preferences -- ours are somewhat different from the standard C News
distribution.

-- 
Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de     /(o\
Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49-721-621127(0700-2330)   \o)/

-- comp.archives file verification
iraun1.ira.uka.de
/pub/news/newsdist.pl
found newsdist ok
iraun1.ira.uka.de:/pub/news/newsdist.pl
Technical Details
Message-ID: <1991May9.011811.18978@ox.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!ox.com!msen.com!emv

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!ox.com!msen.com!emv
From: urlichs@smurf.sub.org (Matthias Urlichs)
Newsgroups: comp.archives
Subject: [news.software.b] News fan-out program available
Message-ID: <1991May9.011811.18978@ox.com>
Date: 9 May 91 01:18:11 GMT
Article-I.D.: ox.1991May9.011811.18978
Sender: emv@msen.com (Edward Vielmetti, MSEN)
Reply-To: urlichs@smurf.sub.org (Matthias Urlichs)
Followup-To: news.software.b
Organization: University of Karlsruhe, FRG
Lines: 46
Approved: emv@msen.com (Edward Vielmetti, MSEN)
X-Original-Newsgroups: news.software.b