Re: NM 1.20.4 on port 68



On Mon, 2019-10-28 at 10:53 -0400, Louis Garcia via networkmanager-list 
wrote:
Just upgraded to NM 1.20 and notice NM is listening on port 68.

$ ss -tulpn
udp      UNCONN    0         0                          0.0.0.0:67  
           0.0.0.0:*       users: "dhcpd",pid=608,fd=11))            
udp      UNCONN    0         0            165.270.73.136%enp1s0:68  
           0.0.0.0:*       users:(("NetworkManager",pid=490,fd=20))

enp1s0 is set to automatic (DHCP) addresses only. NM 1.18 had the
same setup and did not show up on netstat. Is this new?

Thanks.

This is DHCP.

If you use main.dhcp=dhclient, then DHCP will be done by a different
process, and NM won't listen this socket. Maybe you had that in 1.18?

Also, AFAIK dhclient doesn't use a UDP socket, instead it always uses a
raw socket. NetworkManager's DHCP library (which is taken from systemd-
networkd) uses a UDP socket when possible.


best,
Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]