[FS#4189] DHCP server detection in dnsmasq init script is unreliable

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Fri Dec 17 08:42:32 PST 2021


The following task has a new comment added:

FS#4189 - DHCP server detection in dnsmasq init script is unreliable
User who did this - Paul Fertser (paulfertser)

Another idea to consider would be using DHCPINFORM packet instead, like dhcping -i does: https://salsa.debian.org/debian/dhcping/-/blob/debian/master/dhcping.c . However, it mentions that "DHCPINFORM packets can only be used on subnets the server is authoritative for. If the monitoring script runs on a subnet the server isn't authoritative for, it should use the DHCPREQUEST packets." I'd still prefer fast DHCPINFORM test to not having any test at all, and it should cover the majority of usecases reliably I guess.

More information can be found at the following URL:

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.

More information about the openwrt-bugs mailing list