repositorypackage
0.0.0-20220404100349-2854774d085e
Repository: https://github.com/asphaltt/go-iproute2.git
Documentation: pkg.go.dev
# README
go-iproute2
Some net tools of iproute2 implement with Go.
Completions
ip
- ip neigh list
- ip link list
- ip addr list
- ip rourte list
bridge
- bridge monitor fdb
- bridge fdb list
ss
- ss -s: print summary of socket stat
- ss -l: list all udp and tcp listening sockets
- ss -t: list all tcp connections
- ss -lt: list all tcp listeners
- ss -u: list all udp sockets, excluding the listening ones
- ss -lu: list all udp listening sockets
All the above listings support IPv4 and IPv6 version.
TO-DO
- ip
- bridge
- ss (basically complete)
Maybe more tools, like dcb, devlink, nstat, tc, will be implemented in some day.