Re: [Dnsmasq-discuss] [RESEND PATCH] Only bind IPv6 wildcard when it is enabled

2021-01-21 Thread Pali Rohár
On Thursday 21 January 2021 14:52:22 Matthias May wrote: > On 21/01/2021 14:20, Pali Rohár wrote: > > Hello! > > > > On Thursday 21 January 2021 14:00:10 Matthias May wrote: > >> On Linux when IPv6 is disabled, one would not expect Dnsmasq to bind > >> the IPv6 wildcard. > > > > And it is a probl

Re: [Dnsmasq-discuss] [RESEND PATCH] Only bind IPv6 wildcard when it is enabled

2021-01-21 Thread Geert Stappers
On Thu, Jan 21, 2021 at 02:20:58PM +0100, Pali Rohár wrote: > Hello! > > On Thursday 21 January 2021 14:00:10 Matthias May wrote: > > On Linux when IPv6 is disabled, one would not expect Dnsmasq to bind > > the IPv6 wildcard. > > And it is a problem? I would expect that if IPv6 is disabled then >

Re: [Dnsmasq-discuss] [RESEND PATCH] Only bind IPv6 wildcard when it is enabled

2021-01-21 Thread Matthias May
On 21/01/2021 14:20, Pali Rohár wrote: > Hello! > > On Thursday 21 January 2021 14:00:10 Matthias May wrote: >> On Linux when IPv6 is disabled, one would not expect Dnsmasq to bind >> the IPv6 wildcard. > > And it is a problem? I would expect that if IPv6 is disabled then > applications (includin

Re: [Dnsmasq-discuss] [RESEND PATCH] Only bind IPv6 wildcard when it is enabled

2021-01-21 Thread Pali Rohár
Hello! On Thursday 21 January 2021 14:00:10 Matthias May wrote: > On Linux when IPv6 is disabled, one would not expect Dnsmasq to bind > the IPv6 wildcard. And it is a problem? I would expect that if IPv6 is disabled then applications (including dnsmasq) cannot bind to the IPv6 address for listen

[Dnsmasq-discuss] [RESEND PATCH] Only bind IPv6 wildcard when it is enabled

2021-01-21 Thread Matthias May
On Linux when IPv6 is disabled, one would not expect Dnsmasq to bind the IPv6 wildcard. This patch adds a condition to the wildcard bind function, which checks on Linux if IPv6 is disabled. Signed-off-by: Matthias May Signed-off-by: Zefir Kurtisi --- src/dnsmasq.h | 1 + src/network.c | 24 +++