I would like a recommendation for a tool(sniffer that able to modify packets maybe?) that would be able to mess up the TCP packets sent/recieved between the 2 apps in various ways. The main purpose is to test the behavior of the apps when bad/invalid messages arrive. An invalid message is a valid TCP packet but the application level format is bad in some way (so this tool would operate on levels 6,7 of the OSI model and screw up messages sent by the apps)
A:
I've played with Fiddler2 and found it quite good for http(s) packets.
Turtle
2010-08-23 16:55:34
Thanks, but I am not interested in HTTP packets, but in proprietary TCP protocols
bugspy.net
2010-08-23 16:56:34
A:
This is only half an answer, but if you just want a network sniffer (no ability to modify packets) here is a review of 11 packet sniffers.
Turtle
2010-08-23 16:57:36
A:
Setup proxy with netcat which will pipe input from transmitting application through your custom mangler and then to receiving application. You will need to write mangler, however.
Victor Sorokin
2010-08-24 12:30:03