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 should work with versions 2.5 and above. Our developement version was 2.7.3 and was installed using:
    $ apt-get install python2.7
  • PyQt4. Bindings for Qt4, the framework for the graphical user interface. Our developement version was 4.9.3-4 and was installed using:
    $ apt-get install python-qt4
  • Scapy. The framework for network package creation and manipulation. Our developement version was 2.2.0. Note: Scapy’s website incorrectly links scapy-2.1.0 as the “latest release”. To download and install scapy-2.2.0 manually you do:
    $ wget http://www.secdev.org/projects/scapy/files/scapy-2.2.0.tar.gz
    $ tar xvfz scapy-2.2.0
    $ cd scapy-2.2.0
    $ sudo python 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 PyQt4
>>> (Ctrl-D to exit)

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

If no errors occured 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.