Re: [Dnsmasq-discuss] dnsmasq and NXNSAttack

2020-05-21 Thread Geert Stappers
On Wed, May 20, 2020 at 07:26:22PM -0400, Neal P. Murphy wrote: > Is dnsmasq vulnerable to NXNSAttack? Text from http://www.nxnsattack.com/ The NXNSAttack is more effective than the NXDomain attack: i) It reaches an amplification factor of more than 1620x on the number of packets

Re: [Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-05-21 Thread Geert Stappers
On Thu, May 21, 2020 at 03:35:24PM +0200, Matus UHLAR - fantomas wrote: > > On Fri, May 15, 2020 at 07:53:50PM +0200, Matus UHLAR - fantomas wrote: > > > I have problems configuring static DHCP using /etc/hosts and /etc/ethers. > > > It seems that dnsmasq is ignoring /etc/hosts when dns server is

Re: [Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-05-21 Thread Matus UHLAR - fantomas
On Thu, May 21, 2020 at 03:35:24PM +0200, Matus UHLAR - fantomas wrote: > On Fri, May 15, 2020 at 07:53:50PM +0200, Matus UHLAR - fantomas wrote: > > I have problems configuring static DHCP using /etc/hosts and /etc/ethers. > > It seems that dnsmasq is ignoring /etc/hosts when dns server is

Re: [Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-05-21 Thread Geert Stappers
On Fri, May 15, 2020 at 07:53:50PM +0200, Matus UHLAR - fantomas wrote: > Hello, > > I have problems configuring static DHCP using /etc/hosts and /etc/ethers. > It seems that dnsmasq is ignoring /etc/hosts when dns server is disabled > via "-p 0" option. > > Can anyone confirm? > If I'm right,

Re: [Dnsmasq-discuss] [PATCH] dnsmasq unit tests!

2020-05-21 Thread Geert Stappers
On Thu, May 14, 2020 at 09:08:09PM +0200, Petr Menšík wrote: > My previous message is waiting for moderation, since my patch is a big one. > > On 5/12/20 10:51 PM, Geert Stappers wrote: > > On Mon, May 04, 2020 at 05:02:38PM +0200, Petr Menšík wrote: > ... > > > > I think it is great to have

Re: [Dnsmasq-discuss] dnsmasq unit tests! [fun vs serious]

2020-05-21 Thread Geert Stappers
On Thu, May 14, 2020 at 04:19:55PM +0200, Petr Menšík wrote: > On 5/12/20 10:51 PM, Geert Stappers wrote: > > On Mon, May 04, 2020 at 05:02:38PM +0200, Petr Menšík wrote: > >> Hello everyone, > >> ... > >> > >> I would love if you could try it and tell me what you think about it. > > > > I

Re: [Dnsmasq-discuss] lease time affects ipv6 prefix life time

2020-05-21 Thread Geert Stappers
On Mon, May 04, 2020 at 03:51:58PM +0200, Olaf Hering wrote: > I have this in dnsmas.conf to advertise the current ipv6 prefix: > > dhcp-range=::,constructor:${interface},slaac,ra-names,64,${lease_time} > enable-ra > > If the prefix gets changed, dnsmasq starts to announce the new prefix, > but

Re: [Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-05-21 Thread Matus UHLAR - fantomas
On Fri, May 15, 2020 at 07:53:50PM +0200, Matus UHLAR - fantomas wrote: I have problems configuring static DHCP using /etc/hosts and /etc/ethers. It seems that dnsmasq is ignoring /etc/hosts when dns server is disabled via "-p 0" option. Can anyone confirm? If I'm right, is this bug or a

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-05-21 Thread Geert Stappers
On Sun, May 03, 2020 at 01:23:15PM +0200, Pali Rohár wrote: > Currently IPv6 addresses are assigned to tuple (IAID, DUID). When system > changes IAID/DUID then old assigned IPv6 address cannot be reused, even > when in config file was DHCPv6 assignment based on MAC address (and not on > DUID). >