LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-28-2008, 08:06 AM   #1
0xdefec8
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Rep: Reputation: 0
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!
 
Old 08-31-2008, 05:13 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
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 insecure.org, should show packet mangling tools. Maybe you'll find one there that matches your specs (ettercap scripts, scapy?).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace 'etch' with 'testing' in /etc/apt/sources.list to track 'testing' branch? Akhran Debian 3 04-09-2007 10:45 AM
Preventing wireless from starting automatically (intentionally). mdmalik Linux - Wireless Networking 1 11-26-2006 03:14 AM
Windows intentionally kill linux partitions Oxagast Linux - General 4 08-29-2006 09:27 PM
encapsulating TCP packets in UDP packets... yoshi95 Programming 3 06-03-2004 02:53 PM
How to intentionally drop packets? imarunner Linux - Networking 5 12-31-2003 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration