requirements

OpenBSD users should set EVENT_NOKQUEUE=yes in their shell to ensure libevent works properly.

jtrace features

jscan is a TCP traceroute tool:
$ sudo jtrace -d 64.12.5.12 -p 443 
tracing from 64.12.1.19/24 to 64.12.5.142 on TCP port 443
  1: 64.12.1.1        X!   
  2: 64.12.5.142      SA   
trace completed. total execution time was 2 seconds.

NOTE

this code is NOT suitable for real world use, it contains a number of flaws which cause it to fail for real traces. it is up to the reader to improve upon this codebase, this is your challenge.

download

jtrace-0.1.tar.gz 20 sep 2004