https://github.com/zingerlittlebee/netop
Network Top -- Help you monitor network traffic with bpf
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.2%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Network Top -- Help you monitor network traffic with bpf
Basic Info
- Host: GitHub
- Owner: ZingerLittleBee
- License: mit
- Language: Rust
- Default Branch: main
- Homepage: https://crates.io/crates/netop
- Size: 2.26 MB
Statistics
- Stars: 243
- Watchers: 2
- Forks: 8
- Open Issues: 11
- Releases: 0
Topics
Metadata Files
README.md
Language : 🇺🇸 English | 🇨🇳 简体中文
netop
Overview
netop is a terminal command line interface that can customize the filter network traffic rule 🎯
Features
- Use the
bpfrule filter - Multi-rule switching
- Real-time rate
- Total traffic
- Response UI
- Resource occupation is small,
rustWritten - Support
dockerdeployment
Installation
Docker
bash
docker run -it --rm --net=host zingerbee/netop
Cargo
need rust and pcap, detail look at How to build
```bash
install
sudo cargo install netop
and then run
netop
or designated network interface card running
netop -n eth0 ```
NetBSD
On NetBSD there's an official package available.
To install a pre-compiled binary, simply run
bash
pkgin install netop
Or, if you prefer to build it from source,
bash
cd /usr/pkgsrc/net/netop
make install
Arch Linux
Thanks to @kemelzaidan for the contribution!
How to use
- Press
eto enter edit mode input bpf rule, and then pressenter - Press
Escto exit edit mode - Use the
<-or->to switch between different rules - Not in edit mode, press
ddto delete current rule - Not in edit mode, press
qto quit
View help
```bash netop -h
docker
docker run -it --rm --net=host zingerbee/netop -h
Output as follows
bash
netop 0.1.4
USAGE: netop [OPTIONS]
OPTIONS:
-h, --help Print help information
-n, --name
Designated network interface card running
The parameter is name of network interface card
*unix: Use
ifconfigto view network interface cards informationwindows: Use
ipconfigto view network interface cards information ```bash netop -n eth0docker
docker run -it --rm --net=host zingerbee/netop -n eth0 ```
How to build from source
Development environment
- It is best to be root user, pcap requires permissions
- rust >= 1.40.0
- pcap
- 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.
```bash sudo cargo install --path .
or
sudo cargo run ```
Found an issue or have a proposal
Release Notes
SEE CHANGELOG
Owner
- Name: 勤劳的小蜜蜂
- Login: ZingerLittleBee
- Kind: user
- Twitter: zinger_bee
- Repositories: 11
- Profile: https://github.com/ZingerLittleBee
Coding in Rust, TypeScript & Flutter | Turning coffee into software magic | Building to bridge the gap between technology & humanity.
GitHub Events
Total
- Issues event: 1
- Watch event: 59
- Push event: 25
- Fork event: 1
Last Year
- Issues event: 1
- Watch event: 59
- Push event: 25
- Fork event: 1
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| ZingerLittleBee | 6****9@g****m | 44 |
| renovate[bot] | 2****] | 26 |
| Renovate Bot | b****t@r****m | 5 |
| pin | v****n@p****m | 2 |
| kz6fittycent | j****t@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 10
- Total pull requests: 46
- Average time to close issues: 6 days
- Average time to close pull requests: about 1 month
- Total issue authors: 8
- Total pull request authors: 5
- Average comments per issue: 1.0
- Average comments per pull request: 0.04
- Merged pull requests: 36
- Bot issues: 1
- Bot pull requests: 41
Past Year
- Issues: 2
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 0.5
- Average comments per pull request: 1.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 1
Top Authors
Issue Authors
- 0323pin (2)
- kemelzaidan (1)
- Dominiquini (1)
- ptarx (1)
- namjul (1)
- renovate[bot] (1)
- auronandace (1)
- HumanG33k (1)
Pull Request Authors
- renovate[bot] (45)
- ZingerLittleBee (2)
- 0323pin (2)
- dependabot[bot] (1)
- kz6fittycent (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cargo 6,981 total
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 5
- Total maintainers: 1
crates.io: netop
netop is a terminal command line interface that can customize the filter network traffic rule 🎯
- Homepage: https://github.com/ZingerLittleBee/netop
- Documentation: https://docs.rs/netop/
- License: MIT
-
Latest release: 0.1.4
published about 2 years ago
Rankings
Maintainers (1)
Dependencies
- aho-corasick 0.7.18
- atty 0.2.14
- autocfg 1.1.0
- bitflags 1.3.2
- cassowary 0.3.0
- cc 1.0.73
- cfg-if 1.0.0
- chrono 0.4.19
- clap 3.2.7
- clap_derive 3.2.7
- clap_lex 0.2.2
- crossterm 0.23.2
- crossterm_winapi 0.9.0
- errno 0.2.8
- errno-dragonfly 0.1.2
- hashbrown 0.12.1
- heck 0.4.0
- hermit-abi 0.1.19
- indexmap 1.9.0
- libc 0.2.126
- libloading 0.6.7
- lock_api 0.4.7
- log 0.4.17
- memchr 2.5.0
- mio 0.8.3
- netraffic 0.1.0
- num-integer 0.1.45
- num-traits 0.2.15
- once_cell 1.12.0
- os_str_bytes 6.1.0
- parking_lot 0.12.1
- parking_lot_core 0.9.3
- pcap 0.9.2
- proc-macro-error 1.0.4
- proc-macro-error-attr 1.0.4
- proc-macro2 1.0.39
- quote 1.0.18
- redox_syscall 0.2.13
- regex 1.5.6
- regex-syntax 0.6.26
- scopeguard 1.1.0
- signal-hook 0.3.14
- signal-hook-mio 0.2.3
- signal-hook-registry 1.4.0
- smallvec 1.8.0
- strsim 0.10.0
- syn 1.0.96
- termcolor 1.1.3
- textwrap 0.15.0
- time 0.1.44
- tui 0.18.0
- unicode-ident 1.0.1
- unicode-segmentation 1.9.0
- unicode-width 0.1.9
- version_check 0.9.4
- wasi 0.10.0+wasi-snapshot-preview1
- wasi 0.11.0+wasi-snapshot-preview1
- widestring 0.2.2
- winapi 0.3.9
- winapi-i686-pc-windows-gnu 0.4.0
- winapi-util 0.1.5
- winapi-x86_64-pc-windows-gnu 0.4.0
- windows-sys 0.36.1
- windows_aarch64_msvc 0.36.1
- windows_i686_gnu 0.36.1
- windows_i686_msvc 0.36.1
- windows_x86_64_gnu 0.36.1
- windows_x86_64_msvc 0.36.1
- chrono 0.4
- clap 3.2.7
- crossterm 0.23
- netraffic 0.1.0
- tui 0.18
- actions/checkout v3 composite
- docker/build-push-action v3 composite
- docker/login-action v2 composite
- docker/setup-buildx-action v2 composite
- docker/setup-qemu-action v2 composite
- actions-rs/toolchain v1 composite
- actions/checkout v3 composite
- actions-rs/toolchain 16499b5e05bf2e26879000db0c1d13f7e13fa3af composite
- actions/checkout v3 composite
- github/codeql-action/upload-sarif v2 composite
- debian bullseye-slim build
- rust bullseye build