./packetcapr [OPTIONS]
Captures packets and sends them, in batches, to a specified URL using HTTP
optional arguments:
-h,--help show this help message and exit
-v,--verbose Be verbose
-s,--server-mode Start in server mode (default: client mode)
-u,--url URL URL to send packets to (default:
http://localhost:1338/api)
-b,--batchsize BATCHSIZE
Size of each batch (default: 10)
-i,--hostidentifier HOSTIDENTIFIER
Identifier that will be added to each request (default:
default)
-p,--port PORT Port to listen on in server mode (default: 1338)
-t,--timer TIMER Interval (in seconds) at which packets will be
transmitted (if any packets are in the buffer)
-b,--bpf BPF Additional packet filter (BPF-format) to use while
capturing