Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netstat #2977

Open
jensdrenhaus opened this issue Apr 30, 2024 · 1 comment
Open

netstat #2977

jensdrenhaus opened this issue Apr 30, 2024 · 1 comment
Assignees

Comments

@jensdrenhaus
Copy link
Member

The goal:
Implement netstat for u-root with the most features of net-tools/netstat

Features of netstat:

  • List tcp, udp, raw IPv4 and IPv6 sockets and unix sockets
  • Print routing tables for IPv4 and IPv6
  • List multicast group memberships of network interfaces for IPv4 and IPv6
  • Print network interface information for all interface
  • Print network interface information for a specific interface
  • Print network statistics for IPv4 and IPv6

netstat usage:

netstat [-vWeenNcCF] [<Af>] -r         netstat {-V|--version|-h|--help}
netstat [-vWnNcaeol] [<Socket> ...]
netstat { [-vWeenNac] -I[<Iface>] | [-veenNac] -i | [-cnNe] -M | -s [-6tuw] } [delay]

<Socket>={-t|--tcp} {-u|--udp} {-U|--udplite} {-S|--sctp} {-w|--raw}
           {-x|--unix} --ax25 --ipx --netrom
<AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet
@jensdrenhaus
Copy link
Member Author

WIP at #2976

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants