make -C tools/testing/selftests TARGETS="net/forwarding" TEST_PROGS=mirrorr_gre_nh.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-2/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-2/tools/testing/selftests/net/forwarding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-2/tools/testing/selftests/net/forwarding' make[1]: Entering directory '/home/virtme/testing/wt-2/tools/testing/selftests/net/forwarding' TAP version 13 1..1 # timeout set to 10800 # selftests: net/forwarding: mirror_gre_nh.sh # 6.08 [+6.08] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 6.08 [+0.01] # 6.08 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 6.08 [+0.00] http://www.netsniff-ng.org # 6.09 [+0.00] # 6.09 [+0.00] Usage: mausezahn [options] [interface] || # 6.09 [+0.00] Options: # 6.09 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 6.09 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 6.10 [+0.00] -4 IPv4 mode (default) # 6.10 [+0.00] -6 IPv6 mode # 6.10 [+0.00] -R Set socket priority # 6.10 [+0.00] -c Send packet count times, default:1, infinite:0 # 6.10 [+0.00] -d Apply delay between transmissions. The delay value can be # 6.11 [+0.00] specified in usec (default, no additional unit needed), or in # 6.11 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 6.11 [+0.00] -r Multiplies the specified delay with a random value # 6.11 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 6.12 [+0.00] -a Use specified source mac address, no matter what has # 6.12 [+0.00] been specified with other arguments; keywords see below, # 6.12 [+0.00] Default is own interface # 6.12 [+0.00] -b Same with destination mac address; keywords: # 6.13 [+0.00] rand Use a random MAC address # 6.13 [+0.00] bc Use a broadcast MAC address # 6.13 [+0.00] own Use own interface MAC address (default for source MAC) # 6.13 [+0.00] stp Use IEEE 802.1d STP multicast address # 6.14 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 6.14 [+0.00] -A Use specified source IP address (default is own interface IP) # 6.14 [+0.00] -B Send packet to specified destination IP or domain name # 6.15 [+0.00] -P Use the specified ASCII payload # 6.15 [+0.00] -f Read the ASCII payload from a file # 6.15 [+0.00] -F Read the hexadecimal payload from a file # 6.15 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 6.16 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 6.16 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 6.16 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 6.16 [+0.00] encapsulations in lower layers, most packet types allow/require # 6.17 [+0.00] additional packet-specific arguments in an ; # 6.17 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 6.17 [+0.00] dns, rtp, syslog, lldp and more; # 6.18 [+0.00] For context-help use 'help' as ! # 6.18 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 6.18 [+0.00] Enter -T help or -T rtp help for further information # 6.18 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 6.19 [+0.00] -V|VV|... Verbose and more verbose mode # 6.19 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 6.19 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 6.20 [+0.00] typically combined with one of the verbose modes (v or V) # 6.20 [+0.00] -v Show version # 6.20 [+0.00] -h Print this help # 6.20 [+0.00] # 6.20 [+0.00] Examples: # 6.20 [+0.00] mausezahn -x 99 # 6.20 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 6.20 [+0.00] mausezahn -t cdp change -c 0 # 6.21 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 6.21 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 6.21 [+0.00] # 6.21 [+0.00] Note: # 6.21 [+0.00] This tool is targeted for network developers! You should # 6.21 [+0.00] be aware of what you are doing and what these options above # 6.22 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 6.22 [+0.00] # 6.22 [+0.00] Please report bugs to # 6.22 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 6.22 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 6.22 [+0.00] Swiss federal institute of technology (ETH Zurich) # 6.23 [+0.00] License: GNU GPL version 2.0 # 6.23 [+0.00] This is free software: you are free to change and redistribute it. # 6.23 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 6.23 [+0.00] # 6.67 [+0.44] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 6.68 [+0.00] # 6.68 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 6.68 [+0.00] http://www.netsniff-ng.org # 6.68 [+0.00] # 6.68 [+0.00] Usage: mausezahn [options] [interface] || # 6.68 [+0.00] Options: # 6.68 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 6.69 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 6.69 [+0.00] -4 IPv4 mode (default) # 6.69 [+0.00] -6 IPv6 mode # 6.69 [+0.00] -R Set socket priority # 6.69 [+0.00] -c Send packet count times, default:1, infinite:0 # 6.70 [+0.00] -d Apply delay between transmissions. The delay value can be # 6.70 [+0.00] specified in usec (default, no additional unit needed), or in # 6.70 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 6.70 [+0.00] -r Multiplies the specified delay with a random value # 6.71 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 6.71 [+0.00] -a Use specified source mac address, no matter what has # 6.71 [+0.00] been specified with other arguments; keywords see below, # 6.71 [+0.00] Default is own interface # 6.71 [+0.00] -b Same with destination mac address; keywords: # 6.72 [+0.00] rand Use a random MAC address # 6.72 [+0.00] bc Use a broadcast MAC address # 6.72 [+0.00] own Use own interface MAC address (default for source MAC) # 6.72 [+0.00] stp Use IEEE 802.1d STP multicast address # 6.72 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 6.72 [+0.00] -A Use specified source IP address (default is own interface IP) # 6.73 [+0.00] -B Send packet to specified destination IP or domain name # 6.73 [+0.00] -P Use the specified ASCII payload # 6.73 [+0.00] -f Read the ASCII payload from a file # 6.73 [+0.00] -F Read the hexadecimal payload from a file # 6.74 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 6.74 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 6.74 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 6.74 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 6.75 [+0.00] encapsulations in lower layers, most packet types allow/require # 6.75 [+0.00] additional packet-specific arguments in an ; # 6.75 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 6.75 [+0.00] dns, rtp, syslog, lldp and more; # 6.75 [+0.00] For context-help use 'help' as ! # 6.76 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 6.76 [+0.00] Enter -T help or -T rtp help for further information # 6.76 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 6.76 [+0.00] -V|VV|... Verbose and more verbose mode # 6.76 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 6.77 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 6.77 [+0.00] typically combined with one of the verbose modes (v or V) # 6.77 [+0.00] -v Show version # 6.77 [+0.00] -h Print this help # 6.77 [+0.00] # 6.77 [+0.00] Examples: # 6.77 [+0.00] mausezahn -x 99 # 6.77 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 6.78 [+0.00] mausezahn -t cdp change -c 0 # 6.78 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 6.78 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 6.78 [+0.00] # 6.78 [+0.00] Note: # 6.78 [+0.00] This tool is targeted for network developers! You should # 6.78 [+0.00] be aware of what you are doing and what these options above # 6.79 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 6.79 [+0.00] # 6.79 [+0.00] Please report bugs to # 6.79 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 6.79 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 6.79 [+0.00] Swiss federal institute of technology (ETH Zurich) # 6.79 [+0.00] License: GNU GPL version 2.0 # 6.79 [+0.00] This is free software: you are free to change and redistribute it. # 6.80 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 6.80 [+0.00] # 7.28 [+0.48] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 7.28 [+0.00] # 7.28 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 7.28 [+0.00] http://www.netsniff-ng.org # 7.29 [+0.00] # 7.29 [+0.00] Usage: mausezahn [options] [interface] || # 7.29 [+0.00] Options: # 7.29 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 7.29 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 7.30 [+0.00] -4 IPv4 mode (default) # 7.30 [+0.00] -6 IPv6 mode # 7.30 [+0.00] -R Set socket priority # 7.30 [+0.00] -c Send packet count times, default:1, infinite:0 # 7.30 [+0.00] -d Apply delay between transmissions. The delay value can be # 7.30 [+0.00] specified in usec (default, no additional unit needed), or in # 7.31 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 7.31 [+0.00] -r Multiplies the specified delay with a random value # 7.31 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 7.32 [+0.00] -a Use specified source mac address, no matter what has # 7.32 [+0.00] been specified with other arguments; keywords see below, # 7.32 [+0.00] Default is own interface # 7.32 [+0.00] -b Same with destination mac address; keywords: # 7.33 [+0.00] rand Use a random MAC address # 7.33 [+0.00] bc Use a broadcast MAC address # 7.33 [+0.00] own Use own interface MAC address (default for source MAC) # 7.33 [+0.00] stp Use IEEE 802.1d STP multicast address # 7.34 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 7.34 [+0.00] -A Use specified source IP address (default is own interface IP) # 7.34 [+0.00] -B Send packet to specified destination IP or domain name # 7.35 [+0.00] -P Use the specified ASCII payload # 7.35 [+0.00] -f Read the ASCII payload from a file # 7.35 [+0.00] -F Read the hexadecimal payload from a file # 7.35 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 7.36 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 7.36 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 7.36 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 7.37 [+0.00] encapsulations in lower layers, most packet types allow/require # 7.37 [+0.00] additional packet-specific arguments in an ; # 7.37 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 7.38 [+0.00] dns, rtp, syslog, lldp and more; # 7.38 [+0.00] For context-help use 'help' as ! # 7.38 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 7.38 [+0.00] Enter -T help or -T rtp help for further information # 7.39 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 7.39 [+0.00] -V|VV|... Verbose and more verbose mode # 7.39 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 7.40 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 7.40 [+0.00] typically combined with one of the verbose modes (v or V) # 7.40 [+0.00] -v Show version # 7.40 [+0.00] -h Print this help # 7.41 [+0.00] # 7.41 [+0.00] Examples: # 7.41 [+0.00] mausezahn -x 99 # 7.41 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 7.41 [+0.00] mausezahn -t cdp change -c 0 # 7.41 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 7.41 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 7.42 [+0.00] # 7.42 [+0.00] Note: # 7.42 [+0.00] This tool is targeted for network developers! You should # 7.42 [+0.00] be aware of what you are doing and what these options above # 7.42 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 7.42 [+0.00] # 7.42 [+0.00] Please report bugs to # 7.43 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 7.43 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 7.43 [+0.00] Swiss federal institute of technology (ETH Zurich) # 7.43 [+0.00] License: GNU GPL version 2.0 # 7.43 [+0.00] This is free software: you are free to change and redistribute it. # 7.44 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 7.44 [+0.00] # 7.88 [+0.44] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 7.88 [+0.01] # 7.88 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 7.88 [+0.00] http://www.netsniff-ng.org # 7.89 [+0.00] # 7.89 [+0.00] Usage: mausezahn [options] [interface] || # 7.89 [+0.00] Options: # 7.89 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 7.89 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 7.90 [+0.00] -4 IPv4 mode (default) # 7.90 [+0.00] -6 IPv6 mode # 7.90 [+0.00] -R Set socket priority # 7.90 [+0.00] -c Send packet count times, default:1, infinite:0 # 7.90 [+0.00] -d Apply delay between transmissions. The delay value can be # 7.90 [+0.00] specified in usec (default, no additional unit needed), or in # 7.91 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 7.91 [+0.00] -r Multiplies the specified delay with a random value # 7.91 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 7.91 [+0.00] -a Use specified source mac address, no matter what has # 7.92 [+0.00] been specified with other arguments; keywords see below, # 7.92 [+0.00] Default is own interface # 7.92 [+0.00] -b Same with destination mac address; keywords: # 7.92 [+0.00] rand Use a random MAC address # 7.92 [+0.00] bc Use a broadcast MAC address # 7.93 [+0.00] own Use own interface MAC address (default for source MAC) # 7.93 [+0.00] stp Use IEEE 802.1d STP multicast address # 7.93 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 7.93 [+0.00] -A Use specified source IP address (default is own interface IP) # 7.94 [+0.00] -B Send packet to specified destination IP or domain name # 7.94 [+0.00] -P Use the specified ASCII payload # 7.94 [+0.00] -f Read the ASCII payload from a file # 7.94 [+0.00] -F Read the hexadecimal payload from a file # 7.95 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 7.95 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 7.95 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 7.95 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 7.96 [+0.00] encapsulations in lower layers, most packet types allow/require # 7.96 [+0.00] additional packet-specific arguments in an ; # 7.96 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 7.96 [+0.00] dns, rtp, syslog, lldp and more; # 7.97 [+0.00] For context-help use 'help' as ! # 7.97 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 7.97 [+0.00] Enter -T help or -T rtp help for further information # 7.97 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 7.98 [+0.00] -V|VV|... Verbose and more verbose mode # 7.98 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 7.98 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 7.98 [+0.00] typically combined with one of the verbose modes (v or V) # 7.99 [+0.00] -v Show version # 7.99 [+0.00] -h Print this help # 7.99 [+0.00] # 7.99 [+0.00] Examples: # 7.99 [+0.00] mausezahn -x 99 # 7.99 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 7.99 [+0.00] mausezahn -t cdp change -c 0 # 7.99 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 8.00 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 8.00 [+0.00] # 8.00 [+0.00] Note: # 8.00 [+0.00] This tool is targeted for network developers! You should # 8.00 [+0.00] be aware of what you are doing and what these options above # 8.00 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 8.00 [+0.00] # 8.00 [+0.00] Please report bugs to # 8.00 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 8.01 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 8.01 [+0.00] Swiss federal institute of technology (ETH Zurich) # 8.01 [+0.00] License: GNU GPL version 2.0 # 8.01 [+0.00] This is free software: you are free to change and redistribute it. # 8.01 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 8.01 [+0.00] # 8.44 [+0.43] TEST: mirror to gre with next-hop remote [FAIL] # 8.44 [+0.00] Expected to capture == 10 packets, got 0. # 8.52 [+0.08] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 8.52 [+0.00] # 8.52 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 8.53 [+0.00] http://www.netsniff-ng.org # 8.53 [+0.00] # 8.53 [+0.00] Usage: mausezahn [options] [interface] || # 8.53 [+0.00] Options: # 8.53 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 8.53 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 8.54 [+0.00] -4 IPv4 mode (default) # 8.54 [+0.00] -6 IPv6 mode # 8.54 [+0.00] -R Set socket priority # 8.54 [+0.00] -c Send packet count times, default:1, infinite:0 # 8.54 [+0.00] -d Apply delay between transmissions. The delay value can be # 8.54 [+0.00] specified in usec (default, no additional unit needed), or in # 8.55 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 8.55 [+0.00] -r Multiplies the specified delay with a random value # 8.55 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 8.55 [+0.00] -a Use specified source mac address, no matter what has # 8.55 [+0.00] been specified with other arguments; keywords see below, # 8.56 [+0.00] Default is own interface # 8.56 [+0.00] -b Same with destination mac address; keywords: # 8.56 [+0.00] rand Use a random MAC address # 8.56 [+0.00] bc Use a broadcast MAC address # 8.56 [+0.00] own Use own interface MAC address (default for source MAC) # 8.56 [+0.00] stp Use IEEE 802.1d STP multicast address # 8.57 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 8.57 [+0.00] -A Use specified source IP address (default is own interface IP) # 8.57 [+0.00] -B Send packet to specified destination IP or domain name # 8.57 [+0.00] -P Use the specified ASCII payload # 8.57 [+0.00] -f Read the ASCII payload from a file # 8.58 [+0.00] -F Read the hexadecimal payload from a file # 8.58 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 8.58 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 8.58 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 8.58 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 8.59 [+0.00] encapsulations in lower layers, most packet types allow/require # 8.59 [+0.00] additional packet-specific arguments in an ; # 8.59 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 8.59 [+0.00] dns, rtp, syslog, lldp and more; # 8.60 [+0.00] For context-help use 'help' as ! # 8.60 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 8.60 [+0.00] Enter -T help or -T rtp help for further information # 8.60 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 8.60 [+0.00] -V|VV|... Verbose and more verbose mode # 8.61 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 8.61 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 8.61 [+0.00] typically combined with one of the verbose modes (v or V) # 8.61 [+0.00] -v Show version # 8.61 [+0.00] -h Print this help # 8.62 [+0.00] # 8.62 [+0.00] Examples: # 8.62 [+0.00] mausezahn -x 99 # 8.62 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 8.62 [+0.00] mausezahn -t cdp change -c 0 # 8.62 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 8.62 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 8.62 [+0.00] # 8.62 [+0.00] Note: # 8.62 [+0.00] This tool is targeted for network developers! You should # 8.62 [+0.00] be aware of what you are doing and what these options above # 8.63 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 8.63 [+0.00] # 8.63 [+0.00] Please report bugs to # 8.63 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 8.63 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 8.63 [+0.00] Swiss federal institute of technology (ETH Zurich) # 8.63 [+0.00] License: GNU GPL version 2.0 # 8.64 [+0.00] This is free software: you are free to change and redistribute it. # 8.64 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 8.64 [+0.00] # 9.12 [+0.48] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 9.12 [+0.00] # 9.12 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 9.12 [+0.00] http://www.netsniff-ng.org # 9.13 [+0.00] # 9.13 [+0.00] Usage: mausezahn [options] [interface] || # 9.13 [+0.00] Options: # 9.13 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 9.13 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 9.13 [+0.00] -4 IPv4 mode (default) # 9.13 [+0.00] -6 IPv6 mode # 9.13 [+0.00] -R Set socket priority # 9.14 [+0.00] -c Send packet count times, default:1, infinite:0 # 9.14 [+0.00] -d Apply delay between transmissions. The delay value can be # 9.14 [+0.00] specified in usec (default, no additional unit needed), or in # 9.14 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 9.15 [+0.00] -r Multiplies the specified delay with a random value # 9.15 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 9.15 [+0.00] -a Use specified source mac address, no matter what has # 9.15 [+0.00] been specified with other arguments; keywords see below, # 9.15 [+0.00] Default is own interface # 9.16 [+0.00] -b Same with destination mac address; keywords: # 9.16 [+0.00] rand Use a random MAC address # 9.16 [+0.00] bc Use a broadcast MAC address # 9.16 [+0.00] own Use own interface MAC address (default for source MAC) # 9.16 [+0.00] stp Use IEEE 802.1d STP multicast address # 9.16 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 9.17 [+0.00] -A Use specified source IP address (default is own interface IP) # 9.17 [+0.00] -B Send packet to specified destination IP or domain name # 9.17 [+0.00] -P Use the specified ASCII payload # 9.17 [+0.00] -f Read the ASCII payload from a file # 9.17 [+0.00] -F Read the hexadecimal payload from a file # 9.18 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 9.18 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 9.18 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 9.18 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 9.19 [+0.00] encapsulations in lower layers, most packet types allow/require # 9.19 [+0.00] additional packet-specific arguments in an ; # 9.19 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 9.19 [+0.00] dns, rtp, syslog, lldp and more; # 9.20 [+0.00] For context-help use 'help' as ! # 9.20 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 9.20 [+0.00] Enter -T help or -T rtp help for further information # 9.20 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 9.21 [+0.00] -V|VV|... Verbose and more verbose mode # 9.21 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 9.21 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 9.21 [+0.00] typically combined with one of the verbose modes (v or V) # 9.21 [+0.00] -v Show version # 9.22 [+0.00] -h Print this help # 9.22 [+0.00] # 9.22 [+0.00] Examples: # 9.22 [+0.00] mausezahn -x 99 # 9.22 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 9.22 [+0.00] mausezahn -t cdp change -c 0 # 9.22 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 9.22 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 9.22 [+0.00] # 9.22 [+0.00] Note: # 9.22 [+0.00] This tool is targeted for network developers! You should # 9.23 [+0.00] be aware of what you are doing and what these options above # 9.23 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 9.23 [+0.00] # 9.23 [+0.00] Please report bugs to # 9.23 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 9.23 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 9.23 [+0.00] Swiss federal institute of technology (ETH Zurich) # 9.24 [+0.00] License: GNU GPL version 2.0 # 9.24 [+0.00] This is free software: you are free to change and redistribute it. # 9.24 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 9.24 [+0.00] # 9.68 [+0.44] TEST: mirror to ip6gre with next-hop remote [FAIL] # 9.68 [+0.00] Expected to capture == 10 packets, got 0. not ok 1 selftests: net/forwarding: mirror_gre_nh.sh # exit=1 make[1]: Leaving directory '/home/virtme/testing/wt-2/tools/testing/selftests/net/forwarding' make: Leaving directory '/home/virtme/testing/wt-2/tools/testing/selftests' xx__-> echo $? 0 xx__->