On 03/23/2017 12:11 AM, Alex Xu wrote:
On Mon, 20 Mar 2017 19:37:12 +0100
Floris Bos <b...@je-eigen-domein.nl> wrote:
Adds option to delay replying to DHCP packets by one or more seconds.
This provides a workaround for a PXE boot firmware implementation
that has a bug causing it to fail if it receives a (proxy) DHCP
On Linux it looks up the exact receive time of the UDP packet with
the SIOCGSTAMP ioctl to prevent multiple delays if multiple packets
come in around the same time.
wouldn't it be easier to use tc
tc would also be an alternative, yes.
However think that's more difficult for end-users to install and add to
start-up script, than an option in the dnsmasq configuration file though.
And not sure if tc can be used in all circumstances. E.g. user may be
running dnsmasq in a VPS with container style virtualization (Xen,
OpenVZ, etc.) which limits access to kernel features like that.
Dnsmasq-discuss mailing list