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
bpf.c Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST 2009-10-21 23:50:35 +00:00
clparse.c
conflex.c
convert.c
dhclient-script
dhclient-script.8
dhclient.8
dhclient.c
dhclient.conf
dhclient.conf.5
dhclient.leases.5
dhcp-options.5
dhcp.h
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
errwarn.c
hash.c
inet.c
Makefile Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
options.c
packet.c Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST 2009-10-21 23:50:35 +00:00
parse.c
privsep.c
privsep.h
tables.c
tree.c
tree.h