fwtest – Firewall Testing Toolkit


The firewall test suite fwtest is a security auditing tool made up of two parts: the test control application fwtest and optionally one or two helper processes named fwagent. The test control application fwtest starts up the python interpreter with the given test script. The test script controls the packet data flow between two virtual interfaces A and B.

For this purpose the python interpreter is extended by commands which support the construction and transfer of arbitrary IP-packets. In this way it is possible to stimulate a firewall (or other relaying network nodes) connected between the interfaces A and B.

According to the interface-spec the virtual interfaces A and B are mapped on given physical interfaces on the same host the fwtest is running or to an interface on a remote host which runs the application fwagent. For the remote access the fwtest establishes a control TLS-protected connection to the fwagent on the specified host. You may use a ca structure or a fingerprint file to authenticate the peer. The shell script keymager.sh is distributed with this software to help you generate the necessary keys for both (ca structure and fingerprint) variants.

For both variants (one or two fwagents) the interfaces needs to be controlled by fwtest and fwagent on the link level. This is achieved by use of the berkely packet filter library pcap for reading and The Network Library libnet for writing of packets.

You can download fwtest source code here:

fwtest-0.5.2.tgz

Or read more here.

Posted in: Networking Hacking, Security Software

, ,


Latest Posts:


Sooty - SOC Analyst All-In-One CLI Tool Sooty – SOC Analyst All-In-One CLI Tool
Sooty is a tool developed with the task of aiding a SOC analyst to automate parts of their workflow and speed up their process.
UBoat - Proof Of Concept PoC HTTP Botnet Project UBoat – Proof Of Concept PoC HTTP Botnet Project
UBoat is a PoC HTTP Botnet designed to replicate a full weaponised commercial botnet like the famous large scale infectors Festi, Grum, Zeus and SpyEye.
LambdaGuard - AWS Lambda Serverless Security Scanner LambdaGuard – AWS Lambda Serverless Security Scanner
LambdaGuard is a tool which allows you to visualise and audit the security of your serverless assets, an open-source AWS Lambda Serverless Security Scanner.
exe2powershell - Convert EXE to BAT Files exe2powershell – Convert EXE to BAT Files
exe2powershell is used to convert EXE to BAT files, the previously well known tool for this was exe2bat, this is a version for modern Windows.
HiddenWall - Create Hidden Kernel Modules HiddenWall – Create Hidden Kernel Modules
HiddenWall is a Linux kernel module generator used to create hidden kernel modules to protect your server from attackers.
Anteater - CI/CD Security Gate Check Framework Anteater – CI/CD Security Gate Check Framework
Anteater is a CI/CD Security Gate Check Framework to prevent the unwanted merging of filenames, binaries, deprecated functions, staging variables and more.


5 Responses to fwtest – Firewall Testing Toolkit

  1. Fran November 30, 2007 at 10:07 am #

    Resource not found :(

  2. Goodpeople November 30, 2007 at 10:22 am #

    I’d love to read more, but like Fran said.. It ain’t there!

  3. Darknet November 30, 2007 at 10:49 am #

    Sorry guys, the links had changed slightly I didn’t notice as I’ve had this in draft for a while.

    Both links are fixed now.

  4. Goodpeople November 30, 2007 at 12:10 pm #

    hmm, I wanted to read more because the article above just doesn’t make much sense to me. Maybe my English is too limited, maybe lack of sleep or maybe even a hangover..

    Unfortunately there’s not much to read at the “read more’ link.

    But I did notice that fwtest is a German product. Isn’t this kind of tool illegal in Germany nowadays?

  5. Sir Henry December 14, 2007 at 4:58 pm #

    This has been on my list of tools to preview for a while, especially while I was working for one of the major FW vendors. Unfortunately, I never got around to testing it out.

    @Goodpeople:

    It is unfortunate that Germany has put a stranglehold on these tools. What is their method of enforcement? I see that kismac shut down due to this law, but I have not seen what the ramifications have been to stand steadfast and defiant against this law.