From owner-cvs-src-old@FreeBSD.ORG Wed Oct 21 23:50:47 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF99510656D2 for ; Wed, 21 Oct 2009 23:50:47 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BD5668FC40 for ; Wed, 21 Oct 2009 23:50:47 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9LNolnu007792 for ; Wed, 21 Oct 2009 23:50:47 GMT (envelope-from philip@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9LNolNV007791 for cvs-src-old@freebsd.org; Wed, 21 Oct 2009 23:50:47 GMT (envelope-from philip@repoman.freebsd.org) Message-Id: <200910212350.n9LNolNV007791@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to philip@repoman.freebsd.org using -f From: Philip Paeps Date: Wed, 21 Oct 2009 23:50:35 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/dhclient bpf.c dhcpd.h packet.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2009 23:50:47 -0000 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