freebsd-skq/sbin/dhclient
philip a72663b23b Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST
packets instead of allowing the protocol stack to pick a random source port.

This fixes the behaviour where dhclient would never transition from RENEWING
to BOUND without going through REBINDING in networks which are paranoid about
DHCP spoofing, such as most mainstream cable-broadband ISP networks.

Reviewed by:	brooks
Obtained from:	OpenBSD (partly - I'm not convinced their solution can work)
MFC after:	1 week (pending re approval)
2009-10-21 23:50:35 +00:00
..
alloc.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
bpf.c Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST 2009-10-21 23:50:35 +00:00
clparse.c Implement RFC3442, the Classless Static Route option. 2007-02-09 17:50:26 +00:00
conflex.c In read_string(), when the last character was a backslash, unincrement 2005-08-26 01:25:59 +00:00
convert.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
dhclient-script Use the -n flag to route(8) when calling "route get". Otherwise we hang 2008-06-09 20:03:35 +00:00
dhclient-script.8 Line up the markup. 2005-06-22 14:55:59 +00:00
dhclient.8 - Remove references to unexisting man pages 2007-09-20 10:46:25 +00:00
dhclient.c Fix an off by one error when we limit append/prepend text sizes based on our 2009-06-08 21:42:30 +00:00
dhclient.conf Implement RFC3442, the Classless Static Route option. 2007-02-09 17:50:26 +00:00
dhclient.conf.5 Line up the markup. 2005-06-22 14:55:59 +00:00
dhclient.leases.5 Line up the markup. 2005-06-22 14:55:59 +00:00
dhcp-options.5 Correct RFC for NTP. 2006-02-06 19:22:34 +00:00
dhcp.h Support the remaining options listed in dhcp-options(5) and RFC 2132. 2008-10-17 13:28:53 +00:00
dhcpd.h Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST 2009-10-21 23:50:35 +00:00
dhctoken.h
dispatch.c Fix the logic to count the number of "live interfaces". With this change 2009-07-21 15:06:10 +00:00
errwarn.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
hash.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
inet.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
Makefile Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
options.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
packet.c Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST 2009-10-21 23:50:35 +00:00
parse.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
privsep.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
privsep.h
tables.c Support the remaining options listed in dhcp-options(5) and RFC 2132. 2008-10-17 13:28:53 +00:00
tree.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
tree.h