Article View: news.admin.peering
Article #3548? Is this a valid example of a peering configuration ? And other questions ?
From: G.K.
Date: Sat, 02 Aug 2025 06:26
Date: Sat, 02 Aug 2025 06:26
70 lines
5048 bytes
5048 bytes
I am trying to absorb all the documentation for all the moving parts of INN2. RTFM is no good without solid examples and pointers from experience. This quest is onerous! Help me wrap my mind around this.
My node is peer-1.net. The remote is peer-2.net.
```
peer news.peer-1.net {
type feed
hostname news.peer-1.net
port 119
send comp.*:all,news.*:all,sci.*:all,alt.test
receive comp.*,news.*,sci.*,alt.test
allowed-groups comp.*,news.*,sci.*,alt.test
max-crosspost 3
max-connections 5
}
```
My purpose is as follows. I expect that the remote peer operator adds this to incoming.conf. Later if I wanted to add some local hierarchy groups, this would ensure that the remote peer is not allowing me to send them over (hopefully) and my config below would also prevent my peer from trying to send them over.
Then I would add the following to my incoming.conf with the expectation that my peer should receive the three hierarchies [comp.*, news.*, sci.*] and the single group [alt.test] and reject articles cross-posted to more than 3 groups ... and my peer should reciprocate the same original rules when sending to the remote.
```
peer news.peer-2.net {
type feed
hostname news.peer-2.net
port 119
send comp.*:all,news.*:all,sci.*:all,alt.test
receive comp.*,news.*,sci.*,alt.test
allowed-groups comp.*,news.*,sci.*,alt.test
max-crosspost 3
max-connections 5
}
```
Of course, many peers operators would have different preferences for what my peer should send to theirs, so my local config would necessarily be different than the example. But let's stick to this mirroring example. Is this valid as shown herein? Would it do what I think it should, which is for my peer to only receive the three hierarchies [comp.*, news.*, sci.*] and the single group [alt.test] and reject articles cross-posted to more than 3 groups, and vice-versa for the remote peer? If not, why not? If not, what should I change? Is there a better way to do it?
Also, I see many peers have the tokens, 'Aj' and 'Tm' in their preferred peer configurations for the 'newsfeed' file, often next to the max article size sign ('<'). What exactly do those tokens instruct INN2 to do? I presume 'Aj' means, 'automatically junk' or something like that, but what exactly does that entail? Then I presume that 'Tm' has something to do with time or timeout. What exactly do they cause to happen under the hood?
For example, I found this 'newsfeeds' file config online:
```
usenet.blueworldhosting.com\
:*,!unidata.*,!control.*,!junk/!local\
:Aj,Tm,<1000000:innfeed!
```
I presume this means to reject messages for group names containing starting tokens, 'unidata', 'control', 'junk', and 'local'. But then what are the tokens, 'Aj', 'Tm', and '<1000000:innfeed!' supposed to be doing? Are articles less than 1000000 bytes being sent to 'innfeed'? What is 'innfeed' and what does it do? How do the 'Aj' and 'Tm' tokens modify this token? What effect would these tokens have on my local server if peered with this other server?
Then there is this innfeed.conf from the same source:
```
peer usenet.blueworldhosting.com {
ip-name: usenet.blueworldhosting.com
}
```
The syntax seems pretty self-explanatory. So for the remote peer connecting to my peer I presume the remote peer should have this within its innfeed.conf:
```
peer news.peer-1.net {
ip-name: news.peer-1.net
}
```
And I presume the parameter 'ip-name' causes INN2 to resolve the domain name to its IP address then connect. Or is something else going on there?
I have to ask a lot of questions to get up to speed on how this system works because there is no way I will ever have time to comb through the source code. I would be here a month with caffeine psychosis trying to figure it out that way.
What else should I be asking and inspecting to wrap my mind around this for my purpose? What am I missing?
Technical Details
Message-ID:
<106kb1i$18bqr$1@paganini.bofh.team>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!paganini.bofh.team!tor-network!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <106kb1i$18bqr$1@paganini.bofh.team> Subject: ? Is this a valid example of a peering configuration ? And other questions ? Date: Sat, 2 Aug 2025 01:26:32 -0500 From: "G.K." <g@k.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!paganini.bofh.team!tor-network!not-for-mail Newsgroups: news.admin.peering,news.software.nntp Organization: To protect and to server Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Sat, 2 Aug 2025 06:25:55 -0000 (UTC) Injection-Info: paganini.bofh.team; logging-data="1322843"; posting-host="7g12e7hN73sWB2PDhBIi1g.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A"; X-Notice: Filtered by postfilter v. 0.9.3 X-TOR-Router: sha256:MmEwZDpiYmM3OjpmODE2OjNlZmY6ZmU4MzpmYTQ1 --