Just a copy of tbit and sting source code
Tbit: the TCP Behavior Inference Tool
http://www.icir.org/tbit/
http://www.aciri.org/tbit/tbit.ps
https://www.youtube.com/watch?v=UMpxfJJeGrE
Sting: TCP-based network measurement tool
http://cseweb.ucsd.edu/~savage/sting/
http://cseweb.ucsd.edu/~savage/