Python port of iproute2 commands using BCC
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyiproute2-0.1.0.tar.gz
(17.2 kB
view details)
File details
Details for the file pyiproute2-0.1.0.tar.gz.
File metadata
- Download URL: pyiproute2-0.1.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe789323b57372d2aa57ec297b78cbf9bbdd718279958c2eda6f9d1c90766056
|
|
| MD5 |
95b66f331d66748304c22a9dbc9e89e7
|
|
| BLAKE2b-256 |
44f4098c2c68d096a26ea99c3e788064fe72e32c2d0f4d417cf540ffecc06b5a
|