🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #28177

Re: XREPLIC

#28177
From: Mark Hittinger
Date: Fri, 15 May 1998 00:00
53 lines
2725 bytes
wh@singapura.singnet.com.sg (Wang Haw) writes:
>Could someone please tell me how can I implement the "Xref header trasferred
>method" for INN master/slave(s) to work.  

Set up your master and let it take some articles.  Make sure that articles
that are not crossposted are getting Xref headers generated for them.  This
was a problem in older versions of the patch.  With a good cut of the server
software you don't have to do anything special to the master, it creates
good Xref headers for you always.

Take out the Xreplic mode switch for innxmit in your nntpsend.ctl file, i.e:

slave-001:slave-001.yourhost.org::-t300

Innxmit will be using ordinary streaming to send articles, an example
newsfeeds entry is:

    slave-001:*,!junk:Ap,Tf,Wnm:

Those articles will include the Xref header, it won't be stripped by innxmit.

The destination slave machine will need xref slaving enabled, so you can 
include a "-b" INND flag on pre-2.0beta versions or "xrefslave:yes" in inn.conf
on 2.0beta versions.

The slave enables the master to send articles by placing the master hostname
in hosts.nntp (pre-2.0beta) or incoming.conf (2.0beta).

This leaves a hole for how to deal with nnrp posts.  In 2.0beta you can include
a "nnrpdposthost: yourhost.org" parameter in inn.conf so that nnrpd and rnews
know where to send posts to.  I think you might have to hack that in yourself
on pre-2.0beta systems.

I patched my pre-2.0beta systems to have a (-N host) switch on INND which was 
passed to nnrpd's as the host to post to (rather than -S).  If you are already
using a "spool posts" patch for nnrpd then all you need to do is have the
rnews program use a -S (in pre-2.0beta) to send the posts to the master.
In 2.0beta rnews will use the "nnrpdposthost:" parameter in inn.conf.

Its worth switching from XREPLIC to Xref slaving because of the performance
increases (thanks Clayton!), especially if you have some network latency 
between your master and your slaves.  Xreplic code is also mostly gone in 
2.0beta.

Regards,

Mark Hittinger
ICGNetcom/DallasOps
msh@freebsd.org
bugs@freebsd.netcom.com

Technical Details
Message-ID: <6ji0mt$8bi@dfw-ixnews7.ix.netcom.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.mbox.zip!not-for-mail
References: <6jgmnc$jnm$1@columbine.singnet.com.sg>

Show Full Headers
Complete Article Headers
Message-ID: <6ji0mt$8bi@dfw-ixnews7.ix.netcom.com>
Subject: Re: XREPLIC
Date: Fri, 15 May 1998 00:00:00 +0000
From: bugs@freebsd.netcom.com (Mark Hittinger)
References: <6jgmnc$jnm$1@columbine.singnet.com.sg>
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: 353582091
Organization: ICGNetcom
X-NETCOM-Date: Fri May 15 1:14:58 PM CDT 1998
Newsgroups: news.software.nntp