🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #85588

Re: Inbound connection issue

#85588
From: Tony
Date: Mon, 17 Jun 2013 13:36
58 lines
3919 bytes
On 2013-06-17, Richard Kettlewell <rjk@greenend.org.uk> wrote:

<snip good stuff>

> “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.

You're correct.  That's different to how it used to be checking a backup
of /etc/hosts on the previous VPS.  I've put the IPv6 address in so that
it matches how it used to be.

Thanks for finding that.

> 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?

Now that I've changed /etc/hosts, I'll restart innd, leave the DNS trace
running, and wait and see if it misbehaves again.  

On the point about multiple IPv6 addresses, there are 13 peers in
incoming.conf, only two of them have multiple IPv6 addresses, and those 
are the only 2 that have ever exhibited this behaviour.

-- 
Tony Evans
Saving trees and wasting electrons since 1993
blog  -> http://perceptionistruth.com/
books -> http://www.bookthing.co.uk/
[ anything below this line wasn't written by me ]
Technical Details
Message-ID: <kpn3d0$fbk$2@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!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!news.mixmin.net!matrix.darkstorm.co.uk!trinity.darkstorm.co.uk!.POSTED!not-for-mail
References: <kp9gtv$vt0$3@trinity.darkstorm.co.uk> <kpmugd$a6u$1@trinity.darkstorm.co.uk> <87d2rkrj0t.fsf@araminta.anjou.terraraq.org.uk>

Show Full Headers
Complete Article Headers
Message-ID: <kpn3d0$fbk$2@trinity.darkstorm.co.uk>
Subject: Re: Inbound connection issue
Date: Mon, 17 Jun 2013 13:36:32 +0000
From: Tony <tony@darkstorm.invalid>
References: <kp9gtv$vt0$3@trinity.darkstorm.co.uk> <kpmugd$a6u$1@trinity.darkstorm.co.uk> <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!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!news.mixmin.net!matrix.darkstorm.co.uk!trinity.darkstorm.co.uk!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Nothing Nefarious
Lines: 58
Reply-To: Tony <tony@darkstorm.co.uk>
NNTP-Posting-Host: qMPbJrmGWs+fmnCOZ7sqtG+wHJ/xPuTb35GcTk6KVTQ=
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: trinity.local 1JJaEXeOrq1QgqOt8GSTsrSxD3DPCzea7fjLtVNGsfI===
X-Complaints-To: abuse@matrix.darkstorm.co.uk
NNTP-Posting-Date: Mon, 17 Jun 2013 13:36:32 +0000 (UTC)
User-Agent: slrn/pre1.0.0-18 (Linux)
X-User-ID: rcu/cnyLAPo5+B90FPaPFTOxyRS5oyokcXeG2iukZns=
X-Original-Bytes: 3666