[Dnsmasq-discuss] Announce 2.85rc1 and security warning.

Matthias Andree matthias.andree at gmx.de
Wed Mar 17 23:53:55 UTC 2021


Am 17.03.21 um 22:48 schrieb Simon Kelley:
> Please download
>
> https://thekelleys.org.uk/dnsmasq/release-candidates/dnsmasq-2.85rc1.tar.gz
>
> and test it thoroughly. Then look at the diff at

Simon,

thanks for your and Petr's efforts on this.

Unfortunately, 2.85rc1 does not compile on FreeBSD 12.2 out of the box.

> cc -O2 -pipe  -Wall -Wno-unused-function -Wno-unused-parameter
> -Wno-unused-value -Wno-unused-variable -DHAVE_LIBIDN2 -DHAVE_DNSSEC
> -I/usr/local/include -DLIBICONV_PLUG -fstack-protector-strong
> -fno-strict-aliasing  -O2 -pipe  -Wall -Wno-unused-function
> -Wno-unused-parameter -Wno-unused-value -Wno-unused-variable
> -DHAVE_LIBIDN2 -DHAVE_DNSSEC -I/usr/local/include -DLIBICONV_PLUG
> -fstack-protector-strong -fno-strict-aliasing 
> -DLOCALEDIR='"/usr/local/share/locale"' -DVERSION='"2.85rc1"'  
> -I/usr/local/include       -I/usr/local/include  -I/usr/local/include
> -DLIBICONV_PLUG -c network.c    
> network.c:729:25: error: no member named 'ifr_ifindex' in 'struct ifreq'
>            serv->ifindex = ifr.ifr_ifindex;
>                            ~~~ ^
> 1 error generated.

This name isn't defined on FreeBSD, but it does have this:

/usr/include/net/if.h:427:#define       ifr_index      
ifr_ifru.ifru_index     /* interface index */

What would be a good smoke test to see if this works as intended, how do
I need to stimulate dnsmasq?

Regards,
Matthias





More information about the Dnsmasq-discuss mailing list