Bug 42559
Summary: | dhcpcd problem with kernel 2.4.2 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | ben.de.rydt | ||||
Component: | dhcpcd | Assignee: | Elliot Lee <sopwith> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | CC: | olivier.baudron | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-10-11 22:51:07 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
ben.de.rydt
2001-05-28 10:39:20 UTC
Can you try with a 2.4.9 kernel on the client side? Btw, I was wondering if we could bind a datagram socket to the local udp port 68, in addition to the raw socket that is being used. Indeed, the problem with a raw socket is that a copy of the datas also go through the udp/ip stack. And at this point if no datagram socket is bound, the kernel considers that the udp packet has no reachable destination, and may emit an icmp message error (depending on the kernel version). So, adding a datagram socket would resolve this issue. Can someone give me an advice? I'm very sorry that I didn't close this bug: the problem was a stray static route, on 192.168.1.3: route net 192.186.1.0/24 gw 192.168.1.1 I only saw this after two weeks. I still do not understand why tcpdump didn't see all packets leaving, but the dhcpcd problem is over. Can you tell me if you still see icmp port unreachable messages or not? No, no icmp-errors anymore. Well... if I disable iptables rules, I can see these icmp on my linux box (dhcpcd-1.3.18pl8-10 + kernel 2.4.9). So??? You're right, I was still running pump. Time to go to sleep I guess. The icmp-errors reappear the moment I switch to dhcpcd. FYI, I'm running kernel 2.4.9-ac5 and dhcpcd 1.3.20pl0 at the moment (I've been compiling various dhcpcd's). The dhpc-server is Debian stable, with the stock Debian dhcpd. Indeed, pump uses a datagram socket strategy, so the icmp-error problem is not present. But pump has much more bug^H^H^Hissues elsewhere ;) Created attachment 30634 [details]
bound a datagram socket to port 68 to prevent icmp-error
The above patch is against dhcpcd-1.3.20-pl0. Can you give it a try? The patch works. Now included in dhcpcd-1.3.20pl1. I have put dhcpcd-1.3.21pl0 into rawhide. This should make everyone happy. |