4.3. hakapcap

hakapcap is a tool to quickly apply a lua policy file to a pcap file and see the resulting decisions.

$ hakatool [options] <pcapfile> <luafile>

4.3.1. Options

-h, --help

Display usage and options information.


Display version information.

-d, --debug

Display debug output.


Run in pass-through mode (probe mode).

-o <output>

Save unfiltered packets.


Start hakapcap and automatically attach the Lua debugger.


A pcap file containing the packets to filter.


A lua script containing the filtering rules to apply to the pcap file.