🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.admin.peering
9 messages
9 total messages Started by Alexander Bartolich Sun, 13 Mar 2011 00:54
Configuration change for news.albasani.net
#523
Author: Alexander Bartolich
Date: Sun, 13 Mar 2011 00:54
15 lines
1880 bytes
On 2011-03-01 news.albasani.net moved to a new machine.
IP address and feeding port changed.
Also, IPv6 is now supported.

  Feed-to:        news.albasani.net
  Accept-from:    news.albasani.net
  Port:           433
  IPv4 Address:   178.63.61.145
  IPv6 Address:   2a01:4f8:120:9382::145
  Reverse Lookup: four.schnuerpel.eu
  Path Token:     news.albasani.net
  Location:       Nürnberg/Germany
  Time Zone:      Central European Time (CET)

http://albasani.net/technical/peering.html
Re: Configuration change for news.albasani.net
#524
Author: D. Stussy
Date: Sun, 13 Mar 2011 02:32
26 lines
2099 bytes
"Alexander Bartolich" <alexander.bartolich@gmx.at> wrote in message
news:ilh4ji$3jc$1@news.albasani.net...
> On 2011-03-01 news.albasani.net moved to a new machine.
> IP address and feeding port changed.
> Also, IPv6 is now supported.
>
>   Feed-to:        news.albasani.net
>   Accept-from:    news.albasani.net
>   Port:           433
>   IPv4 Address:   178.63.61.145
>   IPv6 Address:   2a01:4f8:120:9382::145
>   Reverse Lookup: four.schnuerpel.eu
>   Path Token:     news.albasani.net
>   Location:       Nürnberg/Germany
>   Time Zone:      Central European Time (CET)
>
> http://albasani.net/technical/peering.html

You might want to take a look at your current feeds.  I noted a few DEAD
ones listed....

[We share about 5 peers, but I already have one that's in your locality.  I
like to diversify by geography, except for my own local area, as well as
network connectedness.]

Re: Configuration change for news.albasani.net
#525
Author: Christof Meerwald
Date: Sun, 13 Mar 2011 09:32
30 lines
2650 bytes
On Sun, 13 Mar 2011 00:54:10 +0000 (UTC), Alexander Bartolich wrote:
> On 2011-03-01 news.albasani.net moved to a new machine.
> IP address and feeding port changed.
> Also, IPv6 is now supported.

Do you still need to manually allow me to connect via IPv6
(newsfeed.cmeerw.net has IPv4 address 84.200.12.153 and IPv6 address
2001:1608:10:3::8)? As I only seem to be getting to NNRP when trying
to connect via IPv6, e.g.

$ telnet -b 2001:1608:10:3::8 -6 news.albasani.net 433
Trying 2a01:4f8:120:9382::145...
Connected to four.schnuerpel.eu.
Escape character is '^]'.
200 news.albasani.net InterNetNews NNRP server INN 2.5.1 ready (no
posting)
quit
205 Bye!

BTW, the IPv6 route even seems to be a bit better than IPv4:

IPv6 ping: rtt min/avg/max/mdev = 6.210/6.442/6.679/0.160 ms
IPv4 ping: rtt min/avg/max/mdev = 7.022/7.349/7.696/0.242 ms


Christof

-- 
http://cmeerw.org                              sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org
Re: Configuration change for news.albasani.net
#526
Author: Alexander Bartolich
Date: Sun, 13 Mar 2011 11:37
31 lines
2750 bytes
Christof Meerwald wrote:
> [...]
> Do you still need to manually allow me to connect via IPv6
> (newsfeed.cmeerw.net has IPv4 address 84.200.12.153 and IPv6 address
> 2001:1608:10:3::8)? As I only seem to be getting to NNRP when trying
> to connect via IPv6, e.g.

Dammit. What is the correct way to configure incoming IPv6 connections?

  # netstat -tnap --wide | grep 'tcp6.*innd'
  tcp6       0      0 :::433                  :::*                    LISTEN      2455/innd       
  tcp6       0      0 2a01:4f8:120:9382::145:433 2001:610:1108:5011::97:39846 ESTABLISHED 2455/innd       
  tcp6       0      0 2a01:4f8:120:9382::145:433 2a01:198:292:0:230:48ff:fe51:a68b:57569 ESTABLISHED 2455/innd       
  tcp6       0      0 2a01:4f8:120:9382::145:433 2a01:4f8:140:54c1::2:62909 ESTABLISHED 2455/innd       
  tcp6       0      0 2a01:4f8:120:9382::145:433 2001:41d0:1:6d44::1:43593 ESTABLISHED 2455/innd       

Of these four connections only one worked out of the box.

  # host 2a01:198:292:0:230:48ff:fe51:a68b
  b.8.6.a.1.5.e.f.f.f.8.4.0.3.2.0.0.0.0.0.2.9.2.0.8.9.1.0.1.0.a.2.ip6.arpa domain name pointer news.babsi.de.

With the other three I had to explicitly add the IPv6 address to the
configuration, e.g.

  peer news.trigofacile.com {
    hostname: "news.trigofacile.com, 2001:41d0:1:6d44::1"
  }

Ciao

    Alexander.
Re: Configuration change for news.albasani.net
#527
Author: Thomas Hochstein
Date: Sun, 13 Mar 2011 14:01
20 lines
1630 bytes
Alexander Bartolich schrieb:

> On 2011-03-01 news.albasani.net moved to a new machine.
> IP address and feeding port changed.

You still accept the old port, 119, don't you?

> http://albasani.net/technical/peering.html

| innfeed.conf
|
| peer news.albasani.net {
|   ip-name: news.albasani.net
| }

There is
|         port-number:    433
missing in that example, I think.

-thh
Re: Configuration change for news.albasani.net
#528
Author: Alexander Bartolich
Date: Sun, 13 Mar 2011 14:51
36 lines
2507 bytes
Thomas Hochstein wrote:
> Alexander Bartolich schrieb:
>
>> On 2011-03-01 news.albasani.net moved to a new machine.
>> IP address and feeding port changed.
>
> You still accept the old port, 119, don't you?

Yes, indeed. I use iptables to redirect traffic from peers. [1]

  iptables -t nat -N REDIRECT_nntp
  iptables -t nat -F REDIRECT_nntp
  iptables -t nat -A PREROUTING -p tcp -d 178.63.61.145 --dport 119 -j REDIRECT_nntp
  iptables -t nat -A REDIRECT_nntp -p tcp -s 87.106.167.149 -j REDIRECT --to-ports 433

Unfortunately this works only for IPv4, as the IPv6 port of iptables
does not provide table "nat". Consequently all peers that automatically
switched to IPv6 once the AAAA records became available are stranded
with a dumb NNRPD that refuses "MODE STREAM".

> [...]
> There is
>|         port-number:    433
> missing in that example, I think.

Oh, thank you.

Ciao

    Alexander.

--
[1] The script that reads incoming.conf and generates these iptables
    rules is called bin/make-iptables-redirect.pl and is available at
    the usual place, http://svn.schnuerpel.eu/
-- 
Re: Configuration change for news.albasani.net
#529
Author: Arnold Schiller
Date: Sun, 13 Mar 2011 19:21
25 lines
2713 bytes
Am Sun, 13 Mar 2011 11:37:15 +0000 schrieb Alexander Bartolich:

> Of these four connections only one worked out of the box.
> 
>   # host 2a01:198:292:0:230:48ff:fe51:a68b
>   b.8.6.a.1.5.e.f.f.f.8.4.0.3.2.0.0.0.0.0.2.9.2.0.8.9.1.0.1.0.a.2.ip6.arpa
>   domain name pointer news.babsi.de.

Ok - After reading your post, I changed innfeed.conf on news.babsi.de to this: 
peer news.albasani.net {
         ip-name: news.albasani.net
         port-number: 433
         max-connections: 2
         streaming: true
}
and a paranoia-setting:
peer four.schnuerpel.eu {
        ip-name: four.schnuerpel.eu
        port-number: 433
        max-connections: 2
        streaming: true
}

Grüße,
Arnold
Re: Configuration change for news.albasani.net
#530
Author: Christof Meerwald
Date: Sun, 13 Mar 2011 19:53
29 lines
2735 bytes
On Sun, 13 Mar 2011 11:37:15 +0000 (UTC), Alexander Bartolich wrote:
> Christof Meerwald wrote:
>> [...]
>> Do you still need to manually allow me to connect via IPv6
>> (newsfeed.cmeerw.net has IPv4 address 84.200.12.153 and IPv6 address
>> 2001:1608:10:3::8)? As I only seem to be getting to NNRP when trying
>> to connect via IPv6, e.g.
> Dammit. What is the correct way to configure incoming IPv6 connections?

Not sure - I didn't have to do anything special on my inn for it to
work.

>   # netstat -tnap --wide | grep 'tcp6.*innd'
>   tcp6       0      0 :::433                  :::*                    LISTEN      2455/innd       

I am binding to specific IPv4/IPv6 addresses (via
bindaddress/bindaddress6) in my inn.conf, i.e.

tcp        0      0 84.200.12.153:119       0.0.0.0:*    LISTEN
tcp6       0      0 2001:1608:10:3::8:119   :::*         LISTEN

Not sure if that has anything to do with it...


Christof

-- 
http://cmeerw.org                              sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org
Re: Configuration change for news.albasani.net
#539
Author: Matthew Vernon as chiark news ad...
Date: Fri, 01 Apr 2011 21:34
14 lines
1728 bytes
Alexander Bartolich <alexander.bartolich@gmx.at> writes:

>   Port:           433

I reconfigured our nntpduct to you a couple of days back, and everything
is going smoothly again now.

Matthew

-- 
 `O'-----0     `O'---.       `O'---.       `O'---.
   \___| |       \___|0-/      \___|/        \___|
    |  | /\       |  |  \       |  |\         |  |
The Dangers of modern veterinary life
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads