dhcpcd-discuss

Re: dhcpcd 6.11.0 shows truncated packet error.

Roy Marples

Fri Nov 16 09:22:09 2018

Hi Renu

On 16/11/2018 06:20, Renu Bansal wrote:
Hi Roy

We are facing issue with dhcpcd 6.11.0 in which dhcpcd client 6.11.0 is able to get lease form DHCP offer sent by windows  DHCP server but not able to response to DHCP offer packet received from Router.

We get following error or running the binary in debug mode

===================================================================

eth0: truncated packet (299) from 192.168.250.254

eth0: truncated packet (299) from 192.168.250.254

eth0: truncated packet (299) from 192.168.250.254

eth0: truncated packet (299) from 192.168.250.254

eth0: truncated packet (299) from 192.168.250.254

eth0: sending DISCOVER (xid 0x7171abb9), next in 32.3 seconds

eth0: truncated packet (299) from 192.168.250.254

eth0: truncated packet (299) from 192.168.250.254

eth0: truncated packet (299) from 192.168.250.254

eth0: truncated packet (299) from 192.168.250.254

we checked the blog and found that following queries may have patch available for this issue’

dhcpcd-6.11.1 released <https://roy.marples.name/archives/dhcpcd-discuss/0001293.html>, /Roy Marples/, Fri Jun 17 20:26:16 2016

Re: Fwd: truncated lease <https://roy.marples.name/archives/dhcpcd-discuss/0001278.html>, /Roy Marples/, Tue Jun 07 15:16:22 2016

Fwd: truncated lease <https://roy.marples.name/archives/dhcpcd-discuss/0001277.html>, /Andrew Somerville/, Tue Jun 07 14:54:39 2016

Re: truncated lease <https://roy.marples.name/archives/dhcpcd-discuss/0001274.html>, /Roy Marples/, Tue Jun 07 05:40:46 2016

truncated lease <https://roy.marples.name/archives/dhcpcd-discuss/0001272.html>, /Andrew Somerville/, Mon Jun 06 23:58:47 2016

please help us to resolve this issue. If there is any patch, please provide the patch to resolve it.

Is there a reason why you can't upgrade dhcpcd to something newer?
Anyway, for this specific issue these patches may help:
https://roy.marples.name/git/dhcpcd.git/commit/dhcp.c?h=dhcpcd-6.11.1&id=3ce1402fdc06ba79429831d7ff8c150bec9aee9c
https://roy.marples.name/git/dhcpcd.git/commit/dhcp.c?h=dhcpcd-6.11.1&id=77f0b46ed38e2dca5f663de2e3cb230d33ebaffb

I don't know if they apply cleanly on 6.11.0 or not.
Good luck!

Roy

References:
dhcpcd 6.11.0 shows truncated packet error.Renu Bansal
Archive administrator: postmaster@marples.name