Red Hat Bugzilla – Bug 1247320
Fix limitation in lsof regarding dual-stack sockets
Last modified: 2017-08-24 10:28:26 EDT
Listening AF_INET6 sockets are dual-stack capable if IPV6_V6ONLY sockopt is not set for them, effectively making them combined sockets for AF_INET as well as AF_INET6. Though when listing AF_INET sockets using 'lsof +c 0 -n -P -i4', they don't appear in the output.
Ideally lsof should list these sockets regardless of what address family has been selected.
As there is no information about sockopts for a given socket available in /proc, this ticket probably needs another one for the kernel space counterpart.
lsof only reads and displays information provided by kernel and if no such info is provided, lsof won't be implementing it. So, could you please create also ticket for the kernel and set depends on field on this one?
Created the ticket as requested. Thanks for the review!