Article View: news.software.nntp
Article #85587Re: Inbound connection issue
From: Richard Kettlewell
Date: Mon, 17 Jun 2013 12:58
Date: Mon, 17 Jun 2013 12:58
62 lines
4815 bytes
4815 bytes
Tony <tony@darkstorm.invalid> writes: > I don't understand why inn2 reports the IPv6 as 2a01:4f8:140:6362::2:48 > rather than 2a01:4f8:140:6362::2 in those first two lines. :48 is INN’s internal connection identifier. The peer address is 2a01:4f8:140:6362::2 in both cases. This is nnrpd: > 09:28:03.530408 IP matrix.darkstorm.co.uk.46664 > ns2.ghst.net.domain: 29698+ PTR? 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.6.3.6.0.4.1.0.8.f.4.0.1.0.a.2.ip6.arpa. (90) > 09:28:03.557242 IP ns2.ghst.net.domain > matrix.darkstorm.co.uk.46664: 29698 1/3/5 PTR aquila.v.weretis.net. (330) > 09:28:03.557568 IP matrix.darkstorm.co.uk.36349 > ns1.ghst.net.domain: 17685+ A? aquila.v.weretis.net. (38) > 09:28:03.557607 IP matrix.darkstorm.co.uk.36349 > ns1.ghst.net.domain: 6184+ AAAA? aquila.v.weretis.net. (38) > 09:28:03.622139 IP ns1.ghst.net.domain > matrix.darkstorm.co.uk.36349: 17685 1/5/11 A 46.4.82.166 (405) > 09:28:03.622187 IP ns1.ghst.net.domain > matrix.darkstorm.co.uk.36349: 6184 1/5/11 AAAA 2a01:4f8:140:6362::2 (417) nnrpd looked up the peer address, and then looked up the name as a consistency check, which passed. > 09:28:03.622405 IP matrix.darkstorm.co.uk.46744 > ns2.ghst.net.domain: 17172+ PTR? 0.d.4.5.e.5.e.f.f.f.e.3.6.1.2.0.3.4.0.0.0.c.d.0.8.9.b.4.1.0.0.2.ip6.arpa. (90) > 09:28:03.642704 IP ns2.ghst.net.domain > matrix.darkstorm.co.uk.46744: 17172 1/2/2 PTR matrix.darkstorm.co.uk. (204) nnrpd looked up the local address, but does _not_ do a DNS lookup of the name it gets back. “reverse lookup validation failed” shows that the consistency check nevertheless failed, so getaddrinfo() must have succeeded. Based on this I predict that your /etc/hosts contains: 92.243.25.93 matrix.darkstorm.co.uk but doesn’t mention the IPv6 address. You need to either add the IPv6 address, or delete the IPv4 address and rely on DNS. If this prediction is correct then it explains why nnrpd behaves as it does. It doesn’t explain why the connection is handed to nnrpd instead of handle by innd though. > So, this set of logs presents another question. When innd checkpoints > and then drops the connections at 9:07 and 9:27, why does it report the > IPv6 address there, rather than the hostname. > > Is this the cause of the issue, at some point, innd loses the link > between the host I've got in incoming.conf (which in this case, as > advised by the news admin in question is darkstorm-out.news.weretis.net) > and the IPv4/6 address. Since it starts using the address, new incoming > connections don't reverse properly to the darkstorm-out.news.weretis.net > name, but instead to the real server name, and it decides it can't > authenticate them. RChostname() will return the address rather than the site name if no site matches the address, so I suspect that you’re right that for reasons unknown the list of sites has lost at least this particular address (and perhaps all addresses for the site). That would also explain why it hands it subsequent connections to nnrpd, and why reloading fixes it. I notice that the name you quote has two IPv6 addresses; perhaps that case is mishandled somehow? -- http://www.greenend.org.uk/rjk/
Technical Details
Message-ID:
<87d2rkrj0t.fsf@araminta.anjou.terraraq.org.uk>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!backlog2.nntp.ams3.giganews.com!backlog2.nntp.ams2.giganews.com!backlog2.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeds.phibee-telecom.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!163.1.2.201.MISMATCH!feeds.news.ox.ac.uk!news.ox.ac.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!nntp.anjou.terraraq.org.uk!.POSTED!not-for-mailReferences:
<kp9gtv$vt0$3@trinity.darkstorm.co.uk> <kpmugd$a6u$1@trinity.darkstorm.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <87d2rkrj0t.fsf@araminta.anjou.terraraq.org.uk>
Subject: Re: Inbound connection issue
Date: Mon, 17 Jun 2013 13:58:26 +0100
From: Richard Kettlewell <rjk@greenend.org.uk>
References: <kp9gtv$vt0$3@trinity.darkstorm.co.uk> <kpmugd$a6u$1@trinity.darkstorm.co.uk>
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!backlog2.nntp.ams3.giganews.com!backlog2.nntp.ams2.giganews.com!backlog2.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeds.phibee-telecom.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!163.1.2.201.MISMATCH!feeds.news.ox.ac.uk!news.ox.ac.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!nntp.anjou.terraraq.org.uk!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Anjou
Lines: 62
NNTP-Posting-Host: araminta6.anjou.terraraq.org.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: araminta.anjou.terraraq.org.uk 1371473906 25063
X-Complaints-To: usenet@sfere.greenend.org.uk
NNTP-Posting-Date: Mon, 17 Jun 2013 12:58:26 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;
ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY, {EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
Cancel-Lock: sha1:HTQlO0gwZUckiXl7iQaGoNnSxnw=