The ISC dhcpd will crash if used in a failover configuration, generally when 
the failover peer goes down.

The crash is caused by memory corruption due to a problem with reference 
counting that only manifests if dhcp is compiled with tracing disabled. So the 
workaround is to configure dhcpd with tracing enabled (which is the default, 
but OpenWRT's build system adds --disable-tracing to the configure args).

The bug is present in 4.2.4 and also 4.2.4-P2.

This bug has been reported to ISC and they were able to reproduce it. However, 
since the workaround is simply to not disable tracing, they have made it a 
low-priority fix. 

Therefore, I humbly ask the OpenWRT maintainers to remove --disable-tracing 
from CONFIGURE_ARGS in feeds/packages/net/isc-dhcp/Makefile. Adding the tracing 
code back in only added about 20kb to the executable on my build (RS Pro).

Thank you,
-heath

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to