https://github.com/asphaltt/go-iproute2
Some net tools of iproute2 implement with Go, such as ip link, ip neigh, ip addr, bridge, nstat. Apache License 2.0
https://github.com/asphaltt/go-iproute2
bridge-fdb go ip-address ip-link ip-neigh ip-route iproute2 netlink
Last synced: about 1 year ago
JSON representation
Some net tools of iproute2 implement with Go, such as ip link, ip neigh, ip addr, bridge, nstat. Apache License 2.0
- Host: GitHub
- URL: https://github.com/asphaltt/go-iproute2
- Owner: Asphaltt
- License: apache-2.0
- Created: 2021-04-29T15:26:31.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-04T10:03:56.000Z (about 4 years ago)
- Last Synced: 2025-04-09T12:42:50.326Z (about 1 year ago)
- Topics: bridge-fdb, go, ip-address, ip-link, ip-neigh, ip-route, iproute2, netlink
- Language: Go
- Homepage:
- Size: 304 KB
- Stars: 30
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-iproute2
Some net tools of iproute2 implement with Go.
## Completions
### ip
1. ip neigh list
2. ip link list
3. ip addr list
4. ip rourte list
### bridge
1. bridge monitor fdb
2. bridge fdb list
### ss
1. ss -s: print summary of socket stat
2. ss -l: list all udp and tcp listening sockets
3. ss -t: list all tcp connections
4. ss -lt: list all tcp listeners
5. ss -u: list all udp sockets, excluding the listening ones
6. ss -lu: list all udp listening sockets
All the above listings support IPv4 and IPv6 version.
## TO-DO
- [ ] ip
- [ ] bridge
- [x] ss (basically complete)
Maybe more tools, like dcb, devlink, nstat, tc, will be implemented in some day.