tREADME - icmphop - Add hops in ipv6 traceroute
(HTM) git clone git://git.z3bra.org/icmphop.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
tREADME (1306B)
---
1 icmphop
2 =======
3 Insert hops in ipv6 traceroute
4
5 Traceroute send many packets to its destination, increasing the TTL
6 (time to live) value everytime it receives a "time exceeed" message.
7
8 icmphop sniffs a virtual interface, and send "time exceeded" messages
9 until the TTL match a specified number, effectively adding "hops" to
10 a traceroute.
11 The source ipv6 of the error messages is changed so the traceroute
12 appears to be incrementing, up to the requested destination.
13
14 Note: if the last byte of the requested address is lower than the number
15 of hops, the packet will be ignored
16
17 Features
18 -----
19 - IPv6 only
20 - Insert up to 254 hops
21 - Hops respond to ping
22 - BSD, Linux, Windows, Mac
23
24 Usage
25 -----
26
27 # interface setup
28 icmphop -n 5 -i hop0 &
29 ip -6 addr add fd00:c001:dad::1/96 dev hop0
30 ip link set hop0 up
31
32 tracepath -6 fd00:c001:dad::9
33 1?: [LOCALHOST] 0.014ms pmtu 1500
34 1: fd00:c001:dad::1 0.108ms
35 1: fd00:c001:dad::5 0.081ms
36 2: fd00:c001:dad::6 0.091ms asymm 1
37 3: fd00:c001:dad::7 0.087ms asymm 1
38 4: fd00:c001:dad::8 0.082ms asymm 1
39 5: fd00:c001:dad::9 0.078ms reached
40 Resume: pmtu 1500 hops 5 back 1
41
42
43 Installation
44 -----
45 Edit config.mk as needed, then build/install with the following commands:
46
47 make
48 make install