项目作者: matrix-ac

项目描述 :
Linux Application Firewall
高级语言: C
项目地址: git://github.com/matrix-ac/LAF.git
创建时间: 2014-11-12T14:05:48Z
项目社区:https://github.com/matrix-ac/LAF

开源协议:GNU General Public License v3.0

下载


LAF

Linux Application Firewall (LAF) is an application firewall for Linux. It allows users full control over which applications are allowed to communicate over the network.

build status

Alternative to LAF

Abandoned Projects

Requirements

LAF requires libnetfilter-queue, it’s dependency libnfnetlink and a kernel 2.6.14 or later.

  1. sudo apt-get install libnfnetlink-dev libnetfilter-queue-dev

Build using meson

  1. meson build
  2. ninja -C build

Run clang static analyser:

  1. sudo apt install clang-tools # To install clangs scan-build.
  2. ninja -C build scan-build

Create an iptables rule:

  1. sudo iptables -A OUTPUT -p all -j NFQUEUE --queue-num 0

Add entries to the whitelist.txt file as follows:

<destination_ip> <port>

<destination_ip> <port>

* can be used for either as an allow all.

Help Needed

If you are a C or a Python developer you can help us improve LAF. Feel free to take a look at the bug tracker for some tasks to do.

License

LAF is licensed under GPLv3 license. See LICENSE for more information.