Haka is a collection of tools that allows capturing TCP/IP packets and filtering them based on Lua policy files.
- Toolchain (GCC, Make, ...)
- cmake (>= 2.8)
- swig
- tshark
- check
- rsync
- libpcap
- gawk
- libedit
- libpcre
- Git
- Cppcheck
- Netfilter Queue
- Valgrind
- Sphinx (>= 2)
- Doxygen
- Inkscape
- python-blockdiag
- python-seqdiag
If using the Git repository, it uses submodules that need to be initialized and updated:
$ git submodule init
$ git submodule update
It is required to create a separate directory to store all the files generated during the build using cmake.
$ mkdir make
$ cd make
$ cmake ..
Then use make like usual to compile (make
) and install (make install
) or
clean (make clean
).
$ make
$ sudo make install
Run make doc
to generate documentation in html
. The documentation is then available
in doc
inside your build folder. In order to build it, you need to have Sphinx and
Doxygen installed.
The documentation contains more information about building and using Haka.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.