-   Linux - Networking (
-   -   Intentionally Malforming Packets for Testing (

0xdefec8 08-28-2008 08:06 AM

Intentionally Malforming Packets for Testing
Can anyone make a suggestion on a piece of software out there that would intentionally screw up packets for me? I need something like this to make sure a piece of networking code I wrote is robust enough to handle situations like this.

This program might have to be put on a machine between my server and client; I'm not sure. I don't need it to create new packets and butcher those, I need it to butcher the packets already going between my client and server.

Thanks in advance!

unSpawn 08-31-2008 05:13 AM

You could try Netfilter "Divert sockets" or "-j QUEUE" to get a packet into userland, mangle it and send it back through iptables onto the stack. Any penetration testing tools list, like the ones at, should show packet mangling tools. Maybe you'll find one there that matches your specs (ettercap scripts, scapy?).

All times are GMT -5. The time now is 09:19 AM.