Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for "hung socket simulator" for testing socket timeouts

Tags:

tcp

sockets

I am testing handling for socket timeout conditions - for example, connection timeout, connect but no accept, accept but won't read, etc.

I'm looking for a program/script that will act as a server socket producing these effects.

This "hung socket simulator" needs to run on Mac OS (or Linux).

like image 375
sourcedelica Avatar asked Jun 23 '11 03:06

sourcedelica


1 Answers

I found one called Bane: https://github.com/danielwellman/bane.

like image 193
sourcedelica Avatar answered Oct 16 '22 18:10

sourcedelica