Bug#712503: hmmmm

2019-12-23 Thread karlnorma

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 k...@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'




Bug#712503: hmmmm

2018-08-30 Thread Imran K
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 root7u  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..