- Package:
- isc-dhcp-server
- Source:
- isc-dhcp
- Description:
- ISC DHCP server for automatic IP address assignment
- Submitter:
- Date:
- 2021-03-23 20:57:12 UTC
- Severity:
- important
- Tags:
Actually, there are two issues: 1) dhcpd is listening on random port (UDP) for all interfaces, no configuration option or CLI switch can fix with this situation. 2) moreover, dhcpd is listening for UDPv6 too, even if you include -4 option for dhcpd: $ cat /etc/default/isc-dhcp-server | sed '/^$/d;/^#/d' INTERFACES="br0" OPTIONS="-4" $ ps w 15686 PID TTY STAT TIME COMMAND 15686 ? Ss 0:00 /usr/sbin/dhcpd -q -4 -cf /etc/dhcp/dhcpd.conf -pf /var/run/dhcpd.pid br0 $ netstat -tulp [...] udp 0 0 *:9922 *:* 15686/dhcpd udp 0 0 home.test:domain *:* 4832/named udp 0 0 home.test:bootps *:* 15686/dhcpd udp6 0 0 [::]:37045 [::]:* 15686/dhcpd PS: See also http://forums.debian.net/viewtopic.php?f=10&t=95273
We believe that the bug you reported is fixed in the latest version of isc-dhcp, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 712503@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Gilbert <mgilbert@debian.org> (supplier of updated isc-dhcp package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Sun, 06 Sep 2015 04:21:05 +0000 Source: isc-dhcp Binary: isc-dhcp-server isc-dhcp-dbg isc-dhcp-server-ldap isc-dhcp-common isc-dhcp-dev isc-dhcp-client isc-dhcp-client-udeb isc-dhcp-relay Architecture: source Version: 4.3.3-2 Distribution: unstable Urgency: medium Maintainer: Debian ISC DHCP maintainers <pkg-dhcp-devel@lists.alioth.debian.org> Changed-By: Michael Gilbert <mgilbert@debian.org> Description: isc-dhcp-client - DHCP client for automatically obtaining an IP address isc-dhcp-client-udeb - ISC DHCP Client for debian-installer (udeb) isc-dhcp-common - common files used by all of the isc-dhcp packages isc-dhcp-dbg - ISC DHCP server for automatic IP address assignment (debuging sym isc-dhcp-dev - API for accessing and modifying the DHCP server and client state isc-dhcp-relay - ISC DHCP relay daemon isc-dhcp-server - ISC DHCP server for automatic IP address assignment isc-dhcp-server-ldap - DHCP server that uses LDAP as its backend Closes: 570895 677918 704175 712503 792928 793490 794771 795227 Changes: isc-dhcp (4.3.3-2) unstable; urgency=medium . * Use default paths for lease files. * Move omshell into the server package. * Avoid unnecessary libirs dependencies. * Recommend rather than depend isc-dhcp-common. * Disable NSUPDATE (closes: #712503). * Update translation (closes: #677918). * Enable pid file logging (closes: #792928). * Fix variables in manpages (closes: #570895). * Use a symlink for the debug script (closes: #794771). * Enable -user, -group, and -chroot server options (closes: #793490). * Avoid launching the server when its already running (closes: #704175). * Fix error when max lease time is used on 64-bit systems (closes: #795227). Checksums-Sha1: 2a74794ae95cc10a05bd16bf2ef1eaf724530670 3224 isc-dhcp_4.3.3-2.dsc 2984fe734fbe86765a04f943e2053f7f3c7e4e60 80204 isc-dhcp_4.3.3-2.debian.tar.xz Checksums-Sha256: 4fa8bd7fd0b872061786524e79ef0329c05934683284a192121ac594f7789619 3224 isc-dhcp_4.3.3-2.dsc 753f81dd887c13273869667164d04b2db8cf95c54ba8b857eba5622640e41971 80204 isc-dhcp_4.3.3-2.debian.tar.xz Files: 76f9bea3fea310be54b6e5c3a4fd7506 3224 net important isc-dhcp_4.3.3-2.dsc 75884fcf2f95073695f532f282f21a85 80204 net important isc-dhcp_4.3.3-2.debian.tar.xz iQQcBAEBCgAGBQJV68E7AAoJELjWss0C1vRzer4gAJ1PeTgQsRS1DxiG04AkdjgU o45uo0W7TRCwjqISLCj7i3ZRIzmPEjue6IUtkPPeYmlcKyhAlnomZW1gaf6MsMh0 9x0u3G1z7Y2Gwx6QUbvmCdrfLvT7FRbUgiRysGdUqRlipxLE61a9GKPADbHp5lrr GT1htjGFVbX3c0Z9y7dTxLzzTLnflcgcQcX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PkzkcWEHgIpKaG4O+a6IemgCmeLZCn8cmvGtJvsmSFpggEo/lnLmFe iaWdSht+QwEFiL+wKHsU0FjHyvBqil2etfAVe+U8A9Gx8Q//xie8wh30UyKdkKM= =qwxj -----END PGP SIGNATURE-----
Hello. Same in stable?
# netstat -tulp|grep dhcp
udp 0 0 *:bootps *:*
29110/dhcpd
udp 0 0 *:24658 *:*
29110/dhcpd
udp6 0 0 [::]:58601 [::]:*
29110/dhcpd
# cat /etc/default/isc-dhcp-server | sed '/^$/d;/^#/d'
INTERFACES=""
OPTIONS="-4"
Closedness is not based on the packages in stable. Best wishes, Mike
Hi, Bug is still there. I do not use ipv6, I have OPTIONS="-4" set, but the netstat output is: netstat -tupln udp 0 0 0.0.0.0:42793 0.0.0.0:* 8135/dhcpd udp6 0 0 :::4547 :::* 8135/dhcpd
Dear Maintainer,
root@nuc:/# ps aux | grep dhcpd | grep -v grep root 3223 0.0 0.0 22764 9780 ? Ss Aug29 0:01 /usr/sbin/dhcpd -4 -q -cf /etc/dhcp/dhcpd.conf eno1 root@nuc:/# lsof -i -nP | grep dhcpd dhcpd 3223 root 7u IPv4 1903742 0t0 UDP *:67 dhcpd 3223 root 20u IPv4 1903736 0t0 UDP *:21258 dhcpd 3223 root 21u IPv6 1903737 0t0 UDP *:9127 root@nuc:/# cat /etc/default/isc-dhcp-server | grep = | grep -v pid DHCPDv4_CONF=/etc/dhcp/dhcpd.conf #DHCPDv6_CONF=/etc/dhcp/dhcpd6.conf OPTIONS="-4" INTERFACESv4="eno1" #INTERFACESv6="" FYI: /etc/dhcp/dhcpd.conf +local-address 10.32.1.23; goes 1/3 of the to workaround......
From https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpd#PORTS ( with TCP and imcp port bits cut out:) Normally a DHCPv4 server will open a raw UDP socket to receive and send most DHCPv4 packets. It also opens a fallback UDP socket for use in sending unicast packets. Normally these will both use the well known port number for BOOTPS. ... For DHCPv6 the server opens a UDP socket on the well known dhcpv6-server port. ... When DDNS is enabled at compile time (see includes/site.h) the server will open both a v4 and a v6 UDP socket on random ports, unless DDNS updates are globally disabled by setting ddns-update-style to none in the configuration file. ,.,. Not best practice to listen on ports when not used .. should be part of the config -- but an upstream issue.-------------------------------------------------------------------------------- Karl Schmidt EMail karl@lrak.net 3209 West 9th Street Ph (785) 979-8397 Lawrence, KS 66049 Life is so short, precious, and delicate. All we have is a bit of time. Best not to waste it. -kps Carpe diem -- Horace - from 'Carpe diem quam minimum credula postero' --------------------------------------------------------------------------------
Greetings From Miss Pamela Render Please I Need Your Urgent Reply! I'm Pamela Render, from USA. I am a highly motivated and willing to learn, I'm also hard working lady, very relaible. I really want to establish mutual friendship with you, I will introduce myself better as soon as i receive your email response. Kind regards Miss Pamela Render