Article View: news.software.nntp
Article #80939Re: IPv6 changes vs. Documentation, and "nicety" of news.daily - was Re: [ANNOUNCE] INN 2.5.0 release candidate available
From: Russ Allbery
Date: Fri, 08 May 2009 21:54
Date: Fri, 08 May 2009 21:54
25 lines
2420 bytes
2420 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:
> "nnrpd -b ::" no longer works. It now requires "nnrpd -6 ::" AND
> "nnrpd -b 0.0.0.0".
Yeah, that's because nnrpd doesn't support listening on multiple sockets
and supporting IPv4-mapped addresses is just too weird. We cleaned up a
lot of IPv6 code by doing things this way.
The right solution here is to keep moving forward and add support to
nnrpd for listening to multiple sockets, allow both -b and -6 to be
given at the same time, and provide a way to trigger network_bind_all(),
which is the behavior you really want but which may return multiple
sockets. It's not a particularly hard change, but it requires a
slightly more complex listening loop in nnrpd.c that selects on multiple
file descriptors for incoming connections similar to what innd does.
Out of curiosity, why do you run nnrpd as a daemon rather than using
xinetd or inetd, which will also handle IPv6 for you?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87hbzvs1k8.fsf@windlord.stanford.edu>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.ams.giganews.com!nntp.giganews.com!transit4.hitnews.eu!feeder8.cambrium.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!headwall.stanford.edu!news.stanford.edu!not-for-mailReferences:
<878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net> <gu249p$t8$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <87hbzvs1k8.fsf@windlord.stanford.edu> Subject: Re: IPv6 changes vs. Documentation, and "nicety" of news.daily - was Re: [ANNOUNCE] INN 2.5.0 release candidate available Date: Fri, 08 May 2009 14:54:31 -0700 From: Russ Allbery <rra@stanford.edu> References: <878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net> <gu249p$t8$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!border1.nntp.ams.giganews.com!nntp.giganews.com!transit4.hitnews.eu!feeder8.cambrium.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!headwall.stanford.edu!news.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 25 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.stanford.edu 1241819671 29169 171.67.225.134 (8 May 2009 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) Cancel-Lock: sha1:ujTGV0q5auUYqgLxtQ1VeEzWq+c=