This program performs a local remap on the path HOPSTR_old if a probe to TTL that elicits an answer from IPADDR detects a path change. For more details and test analysis, read this article.
RemapRoute requires libnet-dev and libpcap-dev libs. Once you install the required libs, run:
./build_all.sh
Argument | Meaning |
---|---|
-i | Name of the interface to use. |
-d | IP address of the destination. |
-t | TTL where to start the remap. |
-x | The ICMP ID used to identify probes. |
-l | Base name for the log file. |
-o | HOPSTR containing the old path. |
-n | HOPSTR containing the new path. It's optional. If specified, will lead to an offline test remap between the old and new routes. |
HOPSTR | HOP|HOP|...|HOP |
HOP | IFACE;IFACE;...;IFACE |
IFACE | ip:flowid:rttmin:rttavg:rttmax:rttvar:flags |