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

2021-03-17 Thread Simon Kelley
I've just created the first release candidate for dnsmasq-2.85. Since 2.84 this has a couple of stand-alone configuration enhancements, a fix for DNS retries which addresses a regression in 2.84, and a large fix which address a historic error. Way back, when Dan Kaminsky revealed the birthday att

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

2021-03-17 Thread Amit
On Wed, Mar 17, 2021 at 2:55 PM Simon Kelley wrote: > > I've just created the first release candidate for dnsmasq-2.85. > [snip] > TL;DR > > There's no problem unless you use > > server=8.8.8.8@eth0 or server=8.8.8.8@1.2.3.4 > > (or their DBus equivalents) > > OR if you use NetWorkManager with d

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

2021-03-17 Thread Simon Kelley
2.85 will go into Debian unstable on the day it's released and into testing after the normal delay. A backport to the 2.80 package in Buster will happen, but may take a little longer. Simon. On 17/03/2021 23:11, Amit wrote: > On Wed, Mar 17, 2021 at 2:55 PM Simon Kelley wrote: >> >> I've just c

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

2021-03-17 Thread Matthias Andree
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

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

2021-03-17 Thread Matthias Andree
Following up on my own message, I have added a FreeBSD port named dnsmasq-devel that is at 2.85rc1 currently and includes the added rename of ifr_ifindex to ifr_index to make it compile, for testing purposes. Will there be an official, terser, security advisory? I have for now written ⅔s of FreeBS

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

2021-03-18 Thread Daniel via Dnsmasq-discuss
Hello Le 17/03/2021 à 22:48, Simon Kelley a écrit : [...] https://thekelleys.org.uk/dnsmasq/release-candidates/dnsmasq-2.85rc1.tar.gz Thanks Simon. FYI I didn't get it compiled (as well as 2,84) on Debian Buster getting cc  -o dnsmasq cache.o rfc1035.o util.o option.o forward.o network.o

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

2021-03-18 Thread Petr Menšík
Feel free to use RH bug [1] or vulnerability page [2], if that helps. 1. https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2021-3448 2. https://access.redhat.com/security/cve/CVE-2021-3448 On 3/18/21 1:17 AM, Matthias Andree wrote: > Following up on my own message, > I have added a FreeBSD port nam

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

2021-03-18 Thread Petr Menšík
Hi. It seems this should be reported to nettle (development) package. "pkg-config --libs nettle hogweed" should report all required libraries. I am not sure how it could be improved on dnsmasq side. Does it use any defines enabling gmp usage on compilation time? On 3/18/21 9:38 AM, Daniel via D

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

2021-03-19 Thread Petr Menšík
Hi Matthias, I am attaching candidate patch. We already use if_nametoindex for IPv6 scope, I think it should be used here as well. Because no good error recovery is available, use ifindex just if it has correct value. Reduces a few lines. Regards, Petr On 3/18/21 12:53 AM, Matthias Andree wrote:

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

2021-03-19 Thread Daniel via Dnsmasq-discuss
Hi Le 18/03/2021 à 13:04, Petr Menšík a écrit : Hi. It seems this should be reported to nettle (development) package. "pkg-config --libs nettle hogweed" should report all required libraries. I am not sure how it could be improved on dnsmasq side. Does it use any defines enabling gmp usage on

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

2021-03-19 Thread Simon Kelley
On 18/03/2021 08:38, Daniel via Dnsmasq-discuss wrote: > Hello > > Le 17/03/2021 à 22:48, Simon Kelley a écrit : >> [...] >> >> https://thekelleys.org.uk/dnsmasq/release-candidates/dnsmasq-2.85rc1.tar.gz >> > > Thanks Simon. FYI I didn't get it compiled (as well as 2,84) on Debian > Buster gettin

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

2021-03-19 Thread Simon Kelley
On 17/03/2021 23:53, Matthias Andree wrote: > 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

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

2021-03-19 Thread Matthias Andree
Am 19.03.21 um 23:20 schrieb Simon Kelley: > On 17/03/2021 23:53, Matthias Andree wrote: >> 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 >>

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

2021-03-20 Thread Simon Kelley
>> >> 2) On *BSD this is moot anyway, since the index we're deriving is used >> for binding a UDP socket to an interface, and *BSD doesn't, as far as I >> know, have an equivalent of the SO_BINDTODEVICE linux ioctl, so it's not >> supported. Matthias, you can't test any code, since to do so you'

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

2021-03-20 Thread Daniel via Dnsmasq-discuss
Le 19/03/2021 à 23:37, Simon Kelley a écrit : On 18/03/2021 08:38, Daniel via Dnsmasq-discuss wrote: Hello Le 17/03/2021 à 22:48, Simon Kelley a écrit : [...] https://thekelleys.org.uk/dnsmasq/release-candidates/dnsmasq-2.85rc1.tar.gz Thanks Simon. FYI I didn't get it compiled (as well as

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

2021-03-20 Thread Simon Kelley
On 20/03/2021 11:11, Daniel via Dnsmasq-discuss wrote: > > Le 19/03/2021 à 23:37, Simon Kelley a écrit : >> On 18/03/2021 08:38, Daniel via Dnsmasq-discuss wrote: >>> Hello >>> >>> Le 17/03/2021 à 22:48, Simon Kelley a écrit : [...] https://thekelleys.org.uk/dnsmasq/release-candid

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

2021-03-21 Thread Daniel via Dnsmasq-discuss
Le 20/03/2021 à 22:55, Simon Kelley a écrit : On 20/03/2021 11:11, Daniel via Dnsmasq-discuss wrote: Le 19/03/2021 à 23:37, Simon Kelley a écrit : On 18/03/2021 08:38, Daniel via Dnsmasq-discuss wrote: Hello Le 17/03/2021 à 22:48, Simon Kelley a écrit : [...] https://thekelleys.org.uk/dns

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

2021-03-21 Thread Simon Kelley
On 21/03/2021 12:12, Daniel via Dnsmasq-discuss wrote: > > Le 20/03/2021 à 22:55, Simon Kelley a écrit : >> >> On 20/03/2021 11:11, Daniel via Dnsmasq-discuss wrote: >>> Le 19/03/2021 à 23:37, Simon Kelley a écrit : On 18/03/2021 08:38, Daniel via Dnsmasq-discuss wrote: > Hello > >>

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

2021-03-22 Thread Daniel via Dnsmasq-discuss
Le 21/03/2021 à 23:39, Simon Kelley a écrit : On 21/03/2021 12:12, Daniel via Dnsmasq-discuss wrote: Le 20/03/2021 à 22:55, Simon Kelley a écrit : On 20/03/2021 11:11, Daniel via Dnsmasq-discuss wrote: Le 19/03/2021 à 23:37, Simon Kelley a écrit : On 18/03/2021 08:38, Daniel via Dnsmasq-dis

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

2021-03-22 Thread Petr Menšík
-DHAVE_CRYPTOHASH is needed only when -DHAVE_DNSSEC is NOT enabled. Please turn off either DNSSEC or CRYPTOHASH. When DNSSEC is enabled, CRYPTOHASH is always used without explicit declaration. It is there to use cryptohash only without DNSSEC support compiled in. It is unsolved corner case in my s

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

2021-03-22 Thread Daniel via Dnsmasq-discuss
Hi Petr Le 22/03/2021 à 13:56, Petr Menšík a écrit : -DHAVE_CRYPTOHASH is needed only when -DHAVE_DNSSEC is NOT enabled. Please turn off either DNSSEC or CRYPTOHASH. When DNSSEC is enabled, CRYPTOHASH is always used without explicit declaration. It is there to use cryptohash only without DNSSEC

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

2021-03-23 Thread Petr Menšík
Hi, More below... On 3/20/21 10:26 AM, Simon Kelley wrote: > > >>> >>> 2) On *BSD this is moot anyway, since the index we're deriving is used >>> for binding a UDP socket to an interface, and *BSD doesn't, as far as I >>> know, have an equivalent of the SO_BINDTODEVICE linux ioctl, so it's not >