• Stars
    star
    449
  • Rank 96,703 (Top 2 %)
  • Language
    C
  • License
    Mozilla Public Li...
  • Created over 10 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Haka runtime

Build Status Black Hat Arsenal ToolsWatch Best Tools

HAKA Runtime

What is HAKA

Haka is a collection of tools that allows capturing TCP/IP packets and filtering them based on Lua policy files.

Dependencies

Required

  • Toolchain (GCC, Make, ...)
  • cmake (>= 2.8)
  • swig
  • tshark
  • check
  • rsync
  • libpcap
  • gawk
  • libedit
  • libpcre

Optional

  • Git
  • Cppcheck
  • Netfilter Queue
  • Valgrind
  • Sphinx (>= 2)
  • Doxygen
  • Inkscape
  • python-blockdiag
  • python-seqdiag

Submodules

If using the Git repository, it uses submodules that need to be initialized and updated:

$ git submodule init
$ git submodule update

Build

Configure

It is required to create a separate directory to store all the files generated during the build using cmake.

$ mkdir make
$ cd make
$ cmake ..

Build

Then use make like usual to compile (make) and install (make install) or clean (make clean).

$ make
$ sudo make install

Documentation

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.

License

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