Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I simulate TCP/IP errors?

On a multi-tier application, I need to simulate various TCP/IP errors to test some reconnection code. Does anyone know of any tools (Windows based) I can use for this purpose? Thanks.

like image 501
Tom A Avatar asked Jan 23 '10 00:01

Tom A


2 Answers

Scapy allows you to control every aspect of the packets, and randomly modify ("fuzz") the ones you don't want to control. If you're a command-line kind of guy, it's a great tool.

like image 124
tbroberg Avatar answered Sep 17 '22 15:09

tbroberg


Try netwox (formerly lcrzoex.) If it won't do it, it can't be done. It contains >200 tools.

like image 26
Tyr Avatar answered Sep 18 '22 15:09

Tyr