Skip to content

Woutifier/packetcapr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packetcapr

Build Status

Dependencies

  • Rust
  • Libpcap

Build

cargo build --release

Commandline options

    ./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

About

Captures packets and sends them (batch-wise) to a central server for analysis

Resources

License

Stars

Watchers

Forks

Packages

No packages published