Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/awgn/captop
Utility to measure the performance of pcap network interfaces.
https://github.com/awgn/captop
Last synced: about 2 months ago
JSON representation
Utility to measure the performance of pcap network interfaces.
- Host: GitHub
- URL: https://github.com/awgn/captop
- Owner: awgn
- Created: 2014-11-13T12:57:23.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-02-02T11:45:08.000Z (almost 4 years ago)
- Last Synced: 2024-08-03T17:11:21.672Z (5 months ago)
- Language: C++
- Homepage:
- Size: 77.1 KB
- Stars: 21
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-network-stuff - **17**星
README
captop
======Utility to measure the performance of pcap network interfaces.
Usage
-----```
captop v1.17 (libpcap version 1.8.1)usage: captop [OPTIONS] [BPF expression]
Pcap options:
-B --buffer SIZE Set the operating system capture buffer size.
-c count Exit after receiving count packets.
-s --snaplen VALUE Specify the capture length of packets in bytes.
-t --timeout NUM Specify the timeout in msec.
-O --no-optimize Do not run the packet-matching code optimizer.
--next Use pcap_next instead of pcap_loop.Range Filters:
-F --filter [RANGES] Range filters: e.g. -F 1-100,1024,8000-8010Generator:
-R --rand-ip Randomize IPs addresses.
-g --genlen VALUE Specify the length of injected packets.Interface:
-i --interface IFNAME Listen on interface.
-o --output IFNAME Inject packets into interface.Handler:
-H --handler source.c Dynamically load the pcap handler.Thread:
--thread INT Launch multiple capture threads.
--fanout GROUP STRING Enable fanout!File:
-r --read FILE Read packets from file.
-w --write FILE Write packets to file.Miscellaneous:
--version Print the version strings and exit.
-? --help Print this help.
```