Article View: news.software.nntp
Article #79021Re: Possible Innfeed bug - Destination has unspecified address.
From: D. Stussy
Date: Sat, 10 May 2008 19:14
Date: Sat, 10 May 2008 19:14
43 lines
3520 bytes
3520 bytes
"Ray Banana" <rayban@banana.shacknet.nu> wrote in message news:80bq3ewqdt.fsf@banana.shacknet.nu... > Thus spake "D. Stussy" <spam@bde-arc.ampr.org> > >> > The fact that the unspecified address is an invalid destination is why I > >> > called it a bug. > >> If it's a bug, it's a bug of the underlying operating system and its > >> network stack. INN does not do any address resolution by itself. > > Regardless of whether the underlying OS will connect it to somewhere or not, > > it's still not a valid destination and needs to be checked for and ignored > > (passed over in favor of the "next" address or spool if no other address is > > available). Don't forget the same with IPv6's "::". > > From an architecture point of view INN is an application using network > services. Thus it should not and should not have to implement the > lower levels of the OSI model. IOW, I prefer a consistent behaviour of > all applications using the same services and http://0.0.0.0 should get > me to the same destination as telnet 0.0.0.0 119. And "telnet 0.0.0.0 119" and "http://0.0.0.0/" are also technically invalid. Specifying 0.0.0.0 (or for IPv6, "::") as the destination address is universally invalid. INN (or any other program) should not be making invalid connection requests. 0.0.0.0 is valid only as a SOURCE address - during host/IP autoconfiguration. The remaining 2^32-1 IPv4 and 2^128-1 IPv6 addresses are all valid destinations (for this purpose). Regardless of whether the underlying OS accepts or rejects the connection, it is semantically wrong to attempt such. Linux accepts it only for a single reason: Inn's inbound socket has been bound to 0.0.0.0 as the unspecified address - and that's a literal match. I bet if I were to specifically bind the socket to ONLY my main IPv4 address (via the "bindaddress" configuration command), then no connection would be made. I may be testing this later. Whether this is ALSO a Linux-only bug I shall deterime later. I don't know why this peer decided to change its address to 0.0.0.0 instead of deleting the A record completely, but I'm momentarily glad it did - as it exposed the problem.
Technical Details
Message-ID:
<g04s6o$rdc$1@snarked.org>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!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!news.kjsl.com!news-xfer.nntp.sonic.net!news.snarked.org!not-for-mailReferences:
<fvt1bf$qug$1@snarked.org> <fvt49o$d71$1@news.trigofacile.com><fvtej5$skm$1@snarked.org> <80y76lh0w8.fsf@banana.shacknet.nu><g02ae2$idr$1@snarked.org> <80bq3ewqdt.fsf@banana.shacknet.nu>Show Full Headers
Complete Article Headers
Message-ID: <g04s6o$rdc$1@snarked.org> Subject: Re: Possible Innfeed bug - Destination has unspecified address. Date: Sat, 10 May 2008 12:14:33 -0700 From: "D. Stussy" <spam@bde-arc.ampr.org> References: <fvt1bf$qug$1@snarked.org> <fvt49o$d71$1@news.trigofacile.com><fvtej5$skm$1@snarked.org> <80y76lh0w8.fsf@banana.shacknet.nu><g02ae2$idr$1@snarked.org> <80bq3ewqdt.fsf@banana.shacknet.nu> 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!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!news.kjsl.com!news-xfer.nntp.sonic.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 43 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-118-49-180.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1210446873 28076 71.118.49.180 (10 May 2008 19:14:33 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Sat, 10 May 2008 19:14:33 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478