netop-0.1.0 is not a library.
Language : 🇺🇸 English | 🇨🇳 简体中文
Overview
netop
is a terminal command line interface that can customize the filter network traffic rule 🎯
Features
- Use the
bpf
rule filter - Multi-rule switching
- Real-time rate
- Total traffic
- Response UI
- Resource occupation is small,
rust
Written - Support
docker
deployment
How to use
- Press
e
to input bpf rule, and then pressenter
- Use the
<-
or->
to switch between different rules
View help
Output as follows
Designated network interface card running
The parameter is name of network interface card
*unix: Use
ifconfig
to view network interface cards informationwindows: Use
ipconfig
to view network interface cards information
How to build
Development environment
- It is best to be
root
user,pcap
requires permissions rust
>= 1.40.0pcap
- Ubuntu、Debian:
apt install libpcap-dev
- MacOS: installed by default
- Windows: Download the WinPcap Developer's Pack. Add the /Lib or /Lib/x64 folder to your LIB environment variable.
- Ubuntu、Debian:
# or