Project

General

Profile

Running ft6

This section lists the requirements and provides a walk-through of a simple ft6 test session.

Requirements

You need to have the following software on both your client and server machine [1]:

  • Python. The programming language ft6 was written in. ft6, in its version of 2019, should work with versions 3.5 and above. Our development version was 3.5.3-1 and was installed using:
    $ apt-get install python3
  • PyQt5. Bindings for Qt5, the framework for the graphical user interface. Our developement version was 5.7+dfsg-5 and was installed using:
    $ apt-get install python3-pyqt5
  • Scapy. The framework for network package creation and manipulation. Our developement version was 2.4.3. To download and install scapy-2.4.3 manually you can do:
    $ wget http://www.secdev.org/projects/scapy/files/scapy-2.4.3.tar.gz
    $ tar xvfz scapy-2.4.3
    $ cd scapy-2.4.3
    $ sudo python3 setup.py install
  • ft6. The firewall tester for IPv6. If you are reading this document, chances are that you’ve already downloaded ft6.
    If not, you can do so at the Files Section. Then:
    tar xvfz ft6-<date>.tar.gz
    cd ft6-<date>
    

You can run the python scripts without any installation. A privileged account is needed for scapy to create network packets.
That’s it! Now you should be ready to run ft6. To verify your installation you can try:

$ python
[...]
>>> import PyQt5
>>> (Ctrl-D to exit)

$ scapy
>>> (Ctrl-D to exit)

It might happen that, if you execute "python" a version lower than python3 is running. If so and you are sure you have installed
python3 you have to check the order of your python version in the PATH-variable (echo "$PATH").
If no errors occurred and the version numbers reported by python and scapy are correct you are done.

Continue reading at Setting Up or go back to the table of contents.

[1] Note: If you are using the aptitude based packet management like we do, we recommend to run apt-get update first.