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.
The current version of the tool will only print IPv6 addresses and will not try to reverse-map such IPv6
addresses into hostnames.
-iinterface,--interfaceinterface
This option specifies the network interface to be used by the path6tool.Itcanbeusedforoverridingtheoutputinterfaceselectedbasedonthelocalroutingtable.-sSRC_ADDR,--src-addressSRC_ADDR
This option 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.
-dDST_ADDR,--dst-addressDST_ADDR
This option specifies the IPv6 Destination Address of the target.
-SSRC_LINK_ADDR,--src-link-addressSRC_LINK_ADDR
This option can be used to override the link-layer Source Address of the packets.
-DDST_LINK_ADDR,--dst-link-addressDST_LINK_ADDR
This option can be used to override the link-layer Destination Address of the outgoing packets.
-ySIZE,--frag-hdrSIZE
This option specifies that the probe packets must be fragmented. The fragment size must be
specified as an argument to this option.
-uHDR_SIZE,--dst-opt-hdrHDR_SIZE
This option 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 "-u" options.
-UHDR_SIZE,--dst-opt-u-hdrHDR_SIZE
This option 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 "-U" options.
-HHDR_SIZE,--hbh-opt-hdrHDR_SIZE
This option 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
"-H" options.
-pPROBE_TYPE,--probe-typePROBE_TYPE
This option 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.
-PPAYLOAD_SIZE,--payload-sizePAYLOAD_SIZE
This option specifies the payload size of the probe packets.
-oSRC_PORT,--src-portSRC_PORT
This option specifies the TCP/UDP Source Port. If left unspecified, the Source Port is randomized
from the range 1024-65535.
-aDST_PORT,--dst-portDST_PORT
This option specifies the TCP/UDP Destination Port. If left unspecified, the Destination Port
defaults to 80 for the TCP case, and a randomized value (in the range 60000-65000) for the UDP
case.
-XTCP_FLAGS,--tcp-flagsTCP_FLAGS
This option is 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
This option selects the "verbosity" of the tool. If this option is left unspecified, only minimum
information is printed.
-h, --help
Print help information for the path6 tool.