Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-23 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 If I've understood the problem correctly, dnsmasq is never even seeing these packets. If the destination address in the IP-level header is for a random IP address then the kernel network stack will discard the packet, even if the link-layer MAC

Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-21 Thread Nikita N.
Hi, argh, embedded system, no space for python, nor Im able to develop libpcap... I still hope (cross fingers) dnsmasq can handle this somehow... For Simon: we tested, dnsmasq is already handling smtng like this (client correctly routed to different network) and it rightly sends DHCP NAK+Option

Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-21 Thread Albert ARIBAUD
Hi again Nikita, Le Sat, 21 Jan 2017 00:19:02 -0800 "Nikita N." a écrit: > Hi, > yes indeed, we are facing some kind of "stochastic bug", which happens > randomly, otherwise that client network driver works usually fine. > Also yes, that network card is not produced

Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-21 Thread Nikita N.
Hi, yes indeed, we are facing some kind of "stochastic bug", which happens randomly, otherwise that client network driver works usually fine. Also yes, that network card is not produced anymore,nor there is any bug support from the producer. Anyway, too bad dnsmasq cant handle this. I was infact

Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-21 Thread Nikita N.
Hi, I confirm --dhcp-authoritative works *PERFECTLY* with all other clients. Meaning it works when client matches the IP layer address, and when Dst: Broadcast (ff:ff:ff:ff:ff:ff) and Src: 0.0.0.0 (0.0.0.0) and Dst: 255.255.255.255 (255.255.255.255). Unfortunately my bugged client has IP Src

Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-20 Thread Albert ARIBAUD
Hi again Nikita, Le Fri, 20 Jan 2017 13:24:10 -0800 "Nikita N." a écrit: > Hi Albert, > thank you for your answer, but my config already has > --dhcp-authoritative. OK, then. Have you tested that it does indeed work? (and you have also tested that the normal/correct DHCP

Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-20 Thread Nikita N.
Hi Albert, thank you for your answer, but my config already has --dhcp-authoritative. I will try to explain the problem in more details, showing the Wireshark-style "bugged" frame, popping up on the wire: -Ethernet II, Src: correct_mac_aa:bb:cc (mac_client), Dst: correct_gateway_dd:ee:ff

Re: [Dnsmasq-discuss] dnsmasq always answer dhcp NAK

2017-01-20 Thread Albert ARIBAUD
Le Fri, 20 Jan 2017 11:20:17 -0800 "Nikita N." a écrit: > Hi, > I would like to know what is the setting, to force dnsmasq to *ALWAYS* > answer every wrong/bugged DHCP Request, with a standard DHCP NAK. > I have a bugged client which randomly (bugged driver) sends DHCP >