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.

--version

Display version information.

-d, --debug

Display debug output.

--pass-through

Run in pass-through mode (probe mode).

-o <output>

Save unfiltered packets.

--luadebug

Start hakapcap and automatically attach the Lua debugger.

pcapfile

A pcap file containing the packets to filter.

luafile

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