[Bug 735907] New: dhcpd listens to all interfaces and consumes some cpu
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=735907 https://bugzilla.novell.com/show_bug.cgi?id=735907#c0 Summary: dhcpd listens to all interfaces and consumes some cpu Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: All OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: external.martin.konold@de.bosch.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.6.24-0.2.1 Firefox/3.6.24 Running dhcp on specific interface eth1. /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth1 Reproducible: Always Steps to Reproduce: 1. run dhcpd on some specific interface e.g. eth0 192.168.1.1 2. ping -f localhost 3. check as root with strace -p <PID of dhcpd> activity Actual Results: recvfrom(4, "E\0\0T\0\0@\0@\1<\247\177\0\0\1\177\0\0\1\10\0\310\tn\30\255n\352#\342N"..., 1500, 0, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, [16]) = 84 select(21, [4 5 7], [], NULL, NULL) = 1 (in [4]) gettimeofday({1323443178, 813558}, NULL) = 0 gettimeofday({1323443178, 813597}, NULL) = 0 recvfrom(4, "E\0\0T\0\0@\0@\1<\247\177\0\0\1\177\0\0\1\10\0:\322n\30\255\236\352#\342N"..., 1500, 0, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, [16]) = 84 select(21, [4 5 7], [], NULL, NULL) = 1 (in [4]) gettimeofday({1323443178, 813800}, NULL) = 0 gettimeofday({1323443178, 814040}, NULL) = 0 recvfrom(4, "E\0\0T\17\353\0\0@\1l\274\177\0\0\1\177\0\0\1\0\0B\322n\30\255\236\352#\342N"..., 1500, 0, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, [16]) = 84 select(21, [4 5 7], [], NULL, NULL) = 1 (in [4]) gettimeofday({1323443178, 815282}, NULL) = 0 Expected Results: An explicit ping to the localhost interface should not be seen by dhcpd if dhcpd is explicitly configured to only listen to some explicit ethernet interface. The issue is not only present in OpenSuSE 11.3 but also in the most recent OpenSuSE offering even including most uptodate 12.1 and home:/mtomaschewski:/branches:/network:/dhcp/openSUSE_Factory/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=735907
https://bugzilla.novell.com/show_bug.cgi?id=735907#c1
Martin Konold
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=735907
https://bugzilla.novell.com/show_bug.cgi?id=735907#c2
--- Comment #2 from Martin Konold
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=735907
https://bugzilla.novell.com/show_bug.cgi?id=735907#c
zj jia
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=735907
https://bugzilla.novell.com/show_bug.cgi?id=735907#c3
Marius Tomaschewski
participants (1)
-
bugzilla_noreply@novell.com