ICMP Traceroute and Ping based on Jpcap

traceRouteApp.png

Description

Application's graphical user interface is implemented in the class TraceroutePane. The application offers user to enter IP address or hostname and to select network interface used for originating ICMP packets.

The applications accepts commands in the following format:

where optional keyword ping (following the host name) indicates to application to perform ping instead of trace route.

ICMP packets are sent and received in a separate worker thread Traceroute.run() instantiated from the class Traceroute. User can stop trace route at any time by pressing "Cancel" button (the thread will be stopped gracefully).

One can alternatively start application from the os command line with parameters:

where the default is to trace route and not to ping.

Requirements

Application needs the following components to be installed:

Executable

The jar file of the package can be found here.

Sources

Source files: