Article View: news.software.nntp
Article #79793Re: A pair of small patches I'd like to see in the mainstream.
From: Julien ÉLIE
Date: Mon, 01 Dec 2008 18:43
Date: Mon, 01 Dec 2008 18:43
39 lines
2492 bytes
2492 bytes
Hi D. Stussy,
>> Even though force-ipv4: is set to true in innfeed.conf, IPv6 addresses
>> are showing up. It may be confusing.
>
> That's possible. My server is dual-stack (IPv4+IPv6) so I don't notice
> IPv6-isms in an IPv4 environment. Probably needs an #ifdef.
My news server is also dual-stack. I have IPv4 and IPv6.
But if I set force-ipv4: to true, innfeed does not use IPv6 (bindaddress6: none)
and, yet, the IPv6 address is written.
That looks strange.
Bug spotted in fact for force-ipv4 (only in INN 2.5.0):
--- host.c (révision 8200)
+++ host.c (copie de travail)
@@ -2739,8 +2739,9 @@
if (p->bindAddr6)
{
free(p->bindAddr6);
- p->bindAddr6 = xstrdup("none");
}
+ /* Force bindaddress6: to "none". */
+ p->bindAddr6 = xstrdup("none");
}
It now works much better!
If bindaddress6: is unset in innfeed.conf, force-ipv4: was not taken into account.
--
Julien ÉLIE
« Cela n'a rien de remarquable. Il suffit d'appuyer sur la
bonne touche au bon moment et l'instrument
joue tout seul. » (J.-S. Bach)
Technical Details
Message-ID:
<gh1b96$vgd$1@news.trigofacile.com>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!feeds.phibee-telecom.net!side3.eu!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<gdb2rs$7av$1@snarked.org> <ggtqg6$mbg$1@news.trigofacile.com> <ggv47q$dc4$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <gh1b96$vgd$1@news.trigofacile.com> Subject: Re: A pair of small patches I'd like to see in the mainstream. Date: Mon, 1 Dec 2008 19:43:46 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <gdb2rs$7av$1@snarked.org> <ggtqg6$mbg$1@news.trigofacile.com> <ggv47q$dc4$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!feeds.phibee-telecom.net!side3.eu!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 39 NNTP-Posting-Host: aaubervilliers-151-1-26-147.w83-112.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1228157030 32269 83.112.17.147 (1 Dec 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Mon, 1 Dec 2008 18:43:50 +0000 (UTC) In-Reply-To: <ggv47q$dc4$1@snarked.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049