🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72847

Re: INN peering configuration example

#72847
From: Xavier Roche
Date: Sun, 18 Dec 2005 09:04
83 lines
3843 bytes
zguoqi@gmail.com wrote:
> For example, if I want to peer with sitex.com, I will do the following.
> newsfeed.conf
> test2\
> 	:nl.*,es.*,uk.*,fr.*,it.*,!junk*,!control*\
> 	:Tf,Wf:

First I'm not sure to understand what you want to acheive - do you 
intend to get a "real" feed with a peering partner ?

In this case, why Tf,Wf ? (type of feed: file, and only token from 
storage API sent ?)
This is probably good for suck but not for a real feed.

And I'm not sure !control* is necessary (this is a virtual group)
You can also add @*.bina*,@*.bain*,@unidata.* in the path i you want to 
be sure that no binaries are included (text feed only ?)

Example of entry (taken from my newsfeeds.conf)

foo.example.com/foo.example.com\
	:*,@*.bina*,@*.bain*,@unidata.*,!local.*\
	:Tm:innfeed!

or in your case:
test2/test2\
	:nl.*,es.*,uk.*,fr.*,it.*,@*.bina*,@*.bain*,@unidata.*,!local.*\
	:Tm:innfeed!

(note: if you are taking only text, exchanging all groups does not takes 
too much bandwidth - approx. 5KB/s average)

Ensure that the control channel is handled in newsfeeds:

# The special feed that handles all newsgroup control messages.  Only
# disable this if you want to ignore all newsgroup control messages; INN
# no longer handles any control messages except cancel internally.
controlchan!\
	:!*,control,control.*,!control.cancel\
	:Tc,Wnsm:/usr/lib/news/bin/controlchan

(change the controlchan path if necessary)

and ensure that innfeed is enabled:

# innfeed funnel master.
innfeed!\
	:!*\
	:Tc,Wnm*:/usr/lib/news/bin/startinnfeed

(change the startinnfeed path if necessary)

And you can re-enable this if you disabled it (suck):

# Empty default subscription list, reject all incoming articles with a
# distribution of "local" or "collabra-internal," accept all others.
ME:!*/!local,!collabra-internal::

> incoming.conf
> peer test2 {
>   hostname:         "sitex.com"
>  patterns:             *
> }

patterns: * is not necessary (default)

> nntpsend.ctl
> test2:in.sitex.com:2m
> Does above right? Do I missing something here?

If you intend to make a real feed, forget nntpsend and configure 
innfeed.conf:

peer test2 {
	ip-name:                sitex.com
}

And of course disable all cron jobs that were potentially doing things 
(such as nnptsend/suck jobs)

After restarting the server on both sides, you should have two sockets 
connected (one from your server to the remote :119, the other one from 
the remote server to your :119)
Technical Details
Message-ID: <do38ma$876$1@news.httrack.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!feed.ac-versailles.fr!news.httrack.net!not-for-mail
References: <1134870170.029713.29840@g44g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <do38ma$876$1@news.httrack.net>
Subject: Re: INN peering configuration example
Date: Sun, 18 Dec 2005 10:04:09 +0100
From: Xavier Roche <xroche@free.fr.NOSPAM.invalid>
References: <1134870170.029713.29840@g44g2000cwa.googlegroups.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!feed.ac-versailles.fr!news.httrack.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Nowhere Corp.
Lines: 83
NNTP-Posting-Host: machine-1.localnet
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.httrack.net 1134896650 8422 192.168.1.1 (18 Dec 2005 09:04:10
 GMT)
X-Complaints-To: usenet@httrack.com
NNTP-Posting-Date: Sun, 18 Dec 2005 09:04:10 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
X-Accept-Language: fr,en,ja
In-Reply-To: <1134870170.029713.29840@g44g2000cwa.googlegroups.com>