Re: Problems with dhcpcd-5.0.7
Ira W. Snyder
Tue Aug 11 22:13:43 2009
On Tue, Aug 11, 2009 at 09:19:16PM +0100, Roy Marples wrote:
> On Tuesday 11 August 2009 16:57:35 Ira W. Snyder wrote:
> > The network where I am using dhcpcd is unfortunately buggy, and has two
> > DHCP servers. I've tcpdumped the DHCP transaction, and one server sends
> > an ACK while the other sends a NAK. The NAK comes while dhcpcd is
> > testing the ip address with ARP. Blacklisting the NAKing server makes
> > dhcpcd-4.0.12 work, as does using the -A option to disable ARP.
> >
> > I've read the mailing list archives, and noticed that dhcpcd-5.0.7
> > should solve this problem by closing the socket listening for DHCP
> > responses after receiving an ACK. So I decided to upgrade.
>
> Yes, and fixing dhcpcd-4 for this issue may not happen soon.
>
> > ===== 1: setting timeout to 0 does not wait indefinitely =====
>
> Fixed here
> http://roy.marples.name/projects/dhcpcd/changeset/cc04558143c1880167b61d4c8efe8b626ce46c87
>
> > ===== 2: using the -p (persistent) option doesn't work =====
>
> Fixed here
> http://roy.marples.name/projects/dhcpcd/changeset/4b6d642fbd14ea690888e11a03b6f6ec148f1020
>
> The same fixes have been pushed to the master and dhcpcd-5 branches.
>
> Thanks for your detailed and accurate problem report :)
>
Thanks for fixing these bugs so quickly! I've confirmed that both
problems are fixed with the latest git version of dhcpcd.
Ira
Archive administrator: postmaster@marples.name