PATH6(1)
π NAME π
okay so bestie, welcome to the path6(1) page β straight out of the General Commands Manual, no cap β¨ this entire doc is about path6, aka a versatile IPv6-based traceroute tool π¦
β¨ SYNOPSIS β¨
path6 [-d] [-i INTERFACE] [-s SRC_ADDR[/LEN]] [-S LINK_SRC_ADDR] [-D
LINK_DST_ADDR] [-y FRAG_SIZE] [-u DST_OPT_HDR_SIZE] [-U
DST_OPT_U_HDR_SIZE] [-H HBH_OPT_HDR_SIZE] [-r LIMIT] [-p PROBE_TYPE] [-P
PAYLOAD_SIZE] [-a DST_PORT] [-X TCP_FLAGS] [-v] [-h]
πΈ DESCRIPTION πΈ
path6 is an IPv6 traceroute tool, and the way she handles IPv6 Extension Headers?? full support, literally all of them, obsessed π
She's part of the SI6 Networks' IPv6 Toolkit: a security assessment suite for the IPv6 protocols π
π OPTIONS π
path6 takes its parameters as command-line options. Each of the options can be specified with a short name (one character preceded with the hyphen character, as e.g. -i) or with a long name (a string preceded with two hyphen characters, as e.g. --interface) π
Most of probe packet details can be specified by means of the available options. When TCP or UDP probe packets are employed, the Source Port of the probe packets is used to encode the probe packet number. iykyk π§
ngl bestie, the current version of the tool will only print IPv6 addresses and will not try to reverse-map such IPv6 addresses into hostnames. so don't come for her about names, she's not doing that π
-i interface,--interface interfaceβ specifies the network interface to be used by thepath6tool. It can be used for overriding the output interface selected based on the local routing table.-s SRC_ADDR,--src-address SRC_ADDRβ specifies the IPv6 source address (or IPv6 prefix) to be used for the Source Address of the attack packets. If a prefix is specified, the Source Address is randomly selected from that prefix. random queen behavior β¨-d DST_ADDR,--dst-address DST_ADDRβ specifies the IPv6 Destination Address of the target π―-S SRC_LINK_ADDR,--src-link-address SRC_LINK_ADDRβ can be used to override the link-layer Source Address of the packets.-D DST_LINK_ADDR,--dst-link-address DST_LINK_ADDRβ can be used to override the link-layer Destination Address of the outgoing packets.-y SIZE,--frag-hdr SIZEβ specifies that the probe packets must be fragmented. The fragment size must be specified as an argument to this option βοΈ-u HDR_SIZE,--dst-opt-hdr HDR_SIZEβ specifies that a Destination Options header is to be included in the outgoing packet(s). The extension header size must be specified as an argument to this option (the header is filled with padding options). Multiple Destination Options headers may be specified by means of multiple-uoptions. stack 'em, bestie π-U HDR_SIZE,--dst-opt-u-hdr HDR_SIZEβ specifies a Destination Options header to be included in the "unfragmentable part" of the outgoing packet(s). The header size must be specified as an argument to this option (the header is filled with padding options). Multiple Destination Options headers may be specified by means of multiple-Uoptions.-H HDR_SIZE,--hbh-opt-hdr HDR_SIZEβ specifies that a Hop-by-Hop Options header is to be included in the outgoing packet(s). The header size must be specified as an argument to this option (the header is filled with padding options). Multiple Hop-by-Hop Options headers may be specified by means of multiple-Hoptions.-f FLOW_LABEL,--flow-LABEL FLOW_LABELβ specifies the Flow Label value of the probe packets. If the special keyword'random'is specified instead of a number, the Flow Label value of each probe packet will be set to a random value π²-m MODE,--output-mode MODEβ controls how information is displayed.'script'specifies that information is output in the following format:
Hop#Address#SflowLabel#RFlowLabel#RTT
where:
- Hop: Hops from source
- Address: IPv6 Source Address of the system responding to the probe packet.
- SflowLabel: Flow Label value originally set in the probe packet.
- RflowLabel: Flow Label value seen by the system responding to the probe packet.
- RTT: Round-Trip Time, in milliseconds.
Each line of output corresponds to one probe packet. By default, three (3) probe packets are sent for each hop value π
path6 learns the Flow Label values from the IPv6 packets embedded in the payload of ICMPv6 error messages. Thus, in order for the tool to learn the received Flow Label values all the way till the destination host, probe types other than TCP should be employed (see option '-p'). When employing TCP as the probe packet type, the final probe packet will elicit a TCP segment from the target system, rather than an ICMPv6 error message, and thus it will be impossible to learn the Flow Label value received at the target system. When TCP is employed as the probe type, the 'RflowLabel' of the response from the target system will contain the special value 0xffffffff. The value 0xffffffff is not a possible Flow Label value, since the Flow Label field is 20-bits long. so if you see that, that's why, don't panic π
-p PROBE_TYPE,--probe-type PROBE_TYPEβ specifies the protocol to be used for the probe packets. Possible arguments are:"icmp"(for ICMPv6 Echo Request),"tcp"(for TCP), and"udp"(for UDP). If left unspecified, the probe packets default to ICMPv6 Echo Request π-P PAYLOAD_SIZE,--payload-size PAYLOAD_SIZEβ specifies the payload size of the probe packets.-o SRC_PORT,--src-port SRC_PORTβ specifies the TCP/UDP Source Port. If left unspecified, the Source Port is randomized from the range1024-65535π-a DST_PORT,--dst-port DST_PORTβ specifies the TCP/UDP Destination Port. If left unspecified, the Destination Port defaults to80for the TCP case, and a randomized value (in the range60000-65000) for the UDP case.-X TCP_FLAGS,--tcp-flags TCP_FLAGSβ used to set specific the TCP flags. The flags are specified as"F"(FIN),"S"(SYN),"R"(RST),"P"(PSH),"A"(ACK),"U"(URG),"X"(no flags).
If this option is left unspecified, the ACK bit is set on all probe packets.
-v,--verboseβ selects the "verbosity" of the tool. If this option is left unspecified, only minimum information is printed π€«-h,--helpβ print help information for thepath6tool π«Ά
π₯ EXAMPLES π₯
The following sections illustrate typical use cases of the path6 tool.
β Example #1
# path6 -d 2001:db8::1 -u 8 -p icmp
Perform traceroute to 2001:db8::1 employing ICMPv6 echo request packets with a Destination Options extension header of 8 bytes β¨
β Example #2
# path6 -d www.example.com -p icmp -P 500 -y 256
Perform traceroute to the first IPv6 address mapped to by the domain name 'www.example.com', using ICMPv6 Echo Requests with a payload of 500 bytes, fragmenting the probe packets to at most 256 bytes (thus resulting in two IPv6 fragments) βοΈ two little fragments, so cute
β Example #3
# path6 -d 2001:db8::1 -p tcp -a 80
Perform traceroute to the IPv6 address 2001:db8::1, employing TCP segments destined to TCP port 80 as the probe packets π
β Example #4
# path6 -d www.si6networks.com -m script -p udp -r 1pps --flow-label random
Perform traceroute to the first IPv6 address corresponding to the domain name 'www.si6networks.com'. Produce 'script' output. Use udp for the probe packets. Send at most 1 probe packets per second. Set the Flow Label of each probe packet to a different random value π²π
π¦ SEE ALSO π¦
ipv6toolkit.conf(5)- Gont, F., Linkova, J., Chown, T., and W. Liu, "Observations on the Dropping of Packets with IPv6 Extension Headers in the Real World", RFC 7872, DOI 10.17487/RFC7872, June 2016, <https://www.rfc-editor.org/info/rfc7872>
π AUTHOR π
The path6 tool and the corresponding manual pages were produced by Fernando Gont <fgont@si6networks.com> for SI6 Networks <https://www.si6networks.com>. iconic, truly π
π COPYRIGHT π
Copyright (c) 2014-2021 Fernando Gont.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <http://www.gnu.org/licenses/fdl.html>.
and that's the whole page bestie!! π«Ά this one came from the General Commands Manual, and it's filed under PATH6(1) β no date on the footer, she's just timeless like that π
β¨
π¦ where this page comes from
- epel 10: ipv6toolkit 2.2-2.el10_1 Β· GPL-3.0-or-later AND GFDL-1.3-no-invariants-or-later AND MPL-2.0
- epel 9: ipv6toolkit 2.2-2.el9 Β· GPL-3.0-or-later AND GFDL-1.3-no-invariants-or-later AND MPL-2.0
- fedora 43: ipv6toolkit 2.2-3.fc43 Β· GPL-3.0-or-later AND GFDL-1.3-no-invariants-or-later AND MPL-2.0
- fedora 44: ipv6toolkit 2.2-4.fc44 Β· GPL-3.0-or-later AND GFDL-1.3-no-invariants-or-later AND MPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms