Skip to content

[FEATURE] UDP connection status displayΒ #287

@TouchOdeath

Description

@TouchOdeath

Is your feature request related to a problem? Please describe.
TCP results will say whether the connection is ESTABLISHED, LISTEN, etc. UDP will not. At first glance, I thought there was a bug with lsof. After careful inspection, I realized its probably just a display discrepancy.

Describe the solution you'd like
UDP results need to mimic how TCP results are displayed as far as connection status.

Describe alternatives you've considered
Use netstat instead of lsof

Additional context
lsof TCP example:
command: lsof -nPi | grep TCP
results:
httpd 54175 user1234 9u IPv6 34820 0t0 TCP *:443 (LISTEN)
httpd 54175 user1234 21u IPv6 22049696 0t0 TCP 127.0.0.1:443->127.0.0.1:55212 (ESTABLISHED)

lsof UDP example:
command: lsof -nPi | grep UDP
results: NetworkMa 734 user1234 25u IPv4 20544929 0t0 UDP 10.0.2.15:68->10.0.2.2:67

netstat UDP example:
command: netstat -an | grep udp
results: udp 0 0 10.0.2.15:68 10.0.2.2:67 ESTABLISHED

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions