[PATCH] udhcpc: raw socket cleanup

Vladislav Grishenko themiron at mail.ru
Sun Nov 14 21:45:00 UTC 2010


Hi all, proposed udhcpc patch attached
Targets:
1. Remove dependence from predefined server and client ports
2. Drop ARP packets socket filter pass as redundant feature from dhcpclient 
3. Drop fragments 'coz due L4 header absents
4. Attach socket filter after bind to prevent possible kernel-dependent
leaks

function                                             old     new   delta
change_listen_mode                                   327     323      -4
.rodata                                           136378  136306     -72
----------------------------------------------------------------------------
--
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-76)             Total: -76
bytes

Best Regards, theMIROn
ICQ: 303357
Skype: the.miron

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-udhcpc-raw-socket-cleanup.patch
Type: application/octet-stream
Size: 4554 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20101115/ef445900/attachment.obj>


More information about the busybox mailing list