Bug 255460

Summary: sockstat shows foreign addresses of connected sockets as *
Product: Base System Reporter: rashey
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People    
Priority: ---    
Version: 13.0-RELEASE   
Hardware: Any   
OS: Any   

Description rashey 2021-04-28 12:36:29 UTC
sockstat shows foreign addresses of connected sockets as * if first part of IPv4 address is from range 192 to 255 and last part is 0, e.g. 216.239.35.0.

# sockstat -4c -p 123
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS     FOREIGN ADDRESS
_ntp     ntpd       27491 15 udp4   192.168.0.2:9305  *:123

# pfctl -ss | grep '192.168.0.2:9305'
re0 udp 192.168.0.2:9305 -> 216.239.35.0:123       MULTIPLE:MULTIPLE

# freebsd-version
13.0-RELEASE