dhcp: keep padding packets to 300 bytes as per RFC 1542

Vladislav Grishenko themiron at mail.ru
Fri Aug 30 07:59:25 UTC 2013


Hi Denys,

We've discovered a number of dhcp servers and relays check minimal dhcp
packet size and drops anything less than 300 octets long as per RFC 1542.
After commit "b8b72f02 dhcp: truncate packets instead of padding them to 574
bytes. closes bug 1849" dhcpc/dhcpd could generate packets with size less
than 300 bytes (bootp header + options), and under the circumstances above
they all will be dropped by that servers/firewalls/relays.
Refer patch against master attached.

Best Regards, Vladislav Grishenko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dhcp-keep-padding-packets-to-300-bytes-as-per-RFC-15.patch
Type: application/octet-stream
Size: 2000 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20130830/13a9aa97/attachment.obj>


More information about the busybox mailing list