Date: Wed, 21 Oct 2009 23:50:35 +0000 (UTC) From: Philip Paeps <philip@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/dhclient bpf.c dhcpd.h packet.c Message-ID: <200910212350.n9LNolNV007791@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
philip 2009-10-21 23:50:35 UTC
FreeBSD src repository
Modified files:
sbin/dhclient bpf.c dhcpd.h packet.c
Log:
SVN rev 198352 on 2009-10-21 23:50:35Z by philip
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)
Revision Changes Path
1.9 +27 -18 src/sbin/dhclient/bpf.c
1.2 +3 -0 src/sbin/dhclient/dhcpd.h
1.3 +11 -0 src/sbin/dhclient/packet.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910212350.n9LNolNV007791>
