pyiproute2
A Python port of iproute2 commands using BCC for eBPF-based network tracing.
Installation
pip install pyiproute2
Commands
| Command | Description |
|---|---|
ip |
Network configuration and monitoring |
ss |
Socket statistics |
tc |
Traffic control |
bridge |
Ethernet bridge administration |
Implemented Subcommands
ip
ip link show- Display network interfacesip addr show- Display IP addressesip route show- Display routing tableip neigh show- Display neighbor table (ARP/NDP)ip monitor- Monitor network events with eBPF
ss
ss- Display socket statisticsss -t- TCP socketsss -u- UDP socketsss -l- Listening socketsss -p- Show processesss -m- Monitor socket events with eBPF
tc
tc qdisc show- Display queuing disciplinestc filter show- Display traffic filterstc class show- Display traffic classestc monitor- Monitor qdisc events with eBPF
bridge
bridge link show- Display bridge portsbridge fdb show- Display forwarding databasebridge mdb show- Display multicast databasebridge monitor- Monitor bridge events with eBPF
Requirements
- Linux kernel with eBPF support
- BCC (BPF Compiler Collection)
- Root privileges for eBPF-based monitoring
License
See LICENSE.
Metadata
Release files for pyiproute2 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyiproute2-0.1.0.tar.gz | 17.2 kB | Details |
Release files / pyiproute2-0.1.0.tar.gz
| Download URL | pyiproute2-0.1.0.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe789323b57372d2aa57ec297b78cbf9bbdd718279958c2eda6f9d1c90766056
|
|
BLAKE2b-256 checksum How to use checksums |
44f4098c2c68d096a26ea99c3e788064fe72e32c2d0f4d417cf540ffecc06b5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|