Balazs Bucsay edited this page May 14, 2018 · 8 revisions

Installation

In case you have already installed Python 2.7 and pip and of course cloned the appropriate branch to your computer, then it is kind of easy to set up the tool. There are a few more steps, but do not worry at all.

If you would like to use the SCTP module in the framework, you need to install the SCTP library. On a Debian based Linux, run the following command:
# apt-get install libsctp-dev

Then install the requirements with pip:
# pip install -r misc/requirements_linux.txt

Setup

Server side

Enable IP forwarding as root by using either:
# sysctl -w net.ipv4.ip_forward=1
or
# echo 1 > /proc/sys/net/ipv4/ip_forward

then set up iptables to do the NAT'ing for you (do not forget to change your IP range from the config and the interface name to the default gateway's interface):
# iptables -t nat -A POSTROUTING -s 10.9.0.0/24 -o eth0 -j MASQUERADE

After you have done the configuration below as well, you need to start the framework as root in server mode as follows:
# python xfltreat.py

This might be hacky, on CentOS iptables must be installed.
# yum install iptables-services
# systemctl start iptables

Client side

In client mode, there is not much to configure on the operating system, but the configuration file (xfltreat.conf) should match the configuration of the server side (module ports, authentication/encryption key etc.). After you have done the configuration below as well, you need to start the framework as root in client mode as follows:
# python xfltreat.py --client

Configuration

To configure the transport, encryption and authentication modules read the Configuration article.

XFLTReaT wiki pages

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.