Tool 146: Spoof Ip6Tcp

Description:

  This tool sends a fake packet on the network.
  Each parameter name should be self explaining.
  Parameter --spoofip indicates how to generate link layer for spoofing.
  Values 'best', 'link' or 'raw' are common choices for --spoofip. Here
  is the list of accepted values:
   - 'raw' means to spoof at IP4/IP6 level (it uses system IP stack). If
     a firewall is installed, or on some systems, this might not work.
   - 'linkf' means to spoof at link level (currently, only Ethernet is
     supported). The 'f' means to Fill source Ethernet address.
     However, if source IP address is spoofed, it might be impossible
     to Fill it. So, linkf will not work: use linkb or linkfb instead.
   - 'linkb' means to spoof at link level. The 'b' means to left a Blank
     source Ethernet address (0:0:0:0:0:0, do not try to Fill it).
   - 'linkfb' means to spoof at link level. The 'f' means to try to Fill
     source Ethernet address, but if it is not possible, it is left
     Blank.
   - 'rawlinkf' means to try 'raw', then try 'linkf'
   - 'rawlinkb' means to try 'raw', then try 'linkb'
   - 'rawlinkfb' means to try 'raw', then try 'linkfb'
   - 'linkfraw' means to try 'linkf', then try 'raw'
   - 'linkbraw' means to try 'linkb', then try 'raw'
   - 'linkfbraw' means to try 'linkfb', then try 'raw'
   - 'link' is an alias for 'linkfb'
   - 'rawlink' is an alias for 'rawlinkfb'
   - 'linkraw' is an alias for 'linkfbraw'
   - 'best' is an alias for 'linkraw'. It should work in all cases.
   

Synonyms:

  hping, ipv6

Usage:

  netwox 146 [-c uint32] [-l uint32] [-f uint32] [-g uint32] [-h ip] [-i ip] [-j ip6exts] [-o port] [-p port] [-q uint32] [-r uint32] [-s|+s] [-t|+t] [-u|+u] [-v|+v] [-w|+w] [-x|+x] [-y|+y] [-z|+z] [-A|+A] [-B|+B] [-C|+C] [-D|+D] [-E uint32] [-F uint32] [-G tcpopts] [-H mixed_data] [-a spoofip] [-e uint32] [-J uint32] [-K uint32]

Parameters:

parameter description example
-c|--ip6-trafficclass uint32 IP6 traffic class 0
-l|--ip6-flowlabel uint32 IP6 flow label 0
-f|--ip6-protocol uint32 IP6 next_header/protocol 0
-g|--ip6-ttl uint32 IP6 hop_limit/ttl 0
-h|--ip6-src ip IP6 src fec0:0:0:1::1
-i|--ip6-dst ip IP6 dst fec0:0:0:1::2
-j|--ip6-exts ip6exts IP6 extensions  
-o|--tcp-src port TCP src 1234
-p|--tcp-dst port TCP dst 80
-q|--tcp-seqnum uint32 TCP seqnum (rand if unset) 0
-r|--tcp-acknum uint32 TCP acknum 0
-s|--tcp-reserved1|+s|--no-tcp-reserved1 TCP reserved1  
-t|--tcp-reserved2|+t|--no-tcp-reserved2 TCP reserved2  
-u|--tcp-reserved3|+u|--no-tcp-reserved3 TCP reserved3  
-v|--tcp-reserved4|+v|--no-tcp-reserved4 TCP reserved4  
-w|--tcp-cwr|+w|--no-tcp-cwr TCP cwr  
-x|--tcp-ece|+x|--no-tcp-ece TCP ece  
-y|--tcp-urg|+y|--no-tcp-urg TCP urg  
-z|--tcp-ack|+z|--no-tcp-ack TCP ack  
-A|--tcp-psh|+A|--no-tcp-psh TCP psh  
-B|--tcp-rst|+B|--no-tcp-rst TCP rst  
-C|--tcp-syn|+C|--no-tcp-syn TCP syn  
-D|--tcp-fin|+D|--no-tcp-fin TCP fin  
-E|--tcp-window uint32 TCP window 0
-F|--tcp-urgptr uint32 TCP urgptr 0
-G|--tcp-opt tcpopts TCP options  
-H|--tcp-data mixed_data mixed data  
-a|--spoofip spoofip IP spoof initialization type best
-e|--ip6-payloadlength uint32 IP6 payload length 0
-J|--tcp-doff uint32 TCP data offset 0
-K|--tcp-checksum uint32 TCP checksum 0

Example:

  netwox 146