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 # 5.99 [+5.99] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 6.00 [+0.00] # 6.00 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 6.00 [+0.00] http://www.netsniff-ng.org # 6.00 [+0.00] # 6.00 [+0.00] Usage: mausezahn [options] [interface] || # 6.00 [+0.00] Options: # 6.00 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 6.01 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 6.01 [+0.00] -4 IPv4 mode (default) # 6.01 [+0.00] -6 IPv6 mode # 6.01 [+0.00] -R Set socket priority # 6.01 [+0.00] -c Send packet count times, default:1, infinite:0 # 6.02 [+0.00] -d Apply delay between transmissions. The delay value can be # 6.02 [+0.00] specified in usec (default, no additional unit needed), or in # 6.02 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 6.02 [+0.00] -r Multiplies the specified delay with a random value # 6.03 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 6.03 [+0.00] -a Use specified source mac address, no matter what has # 6.03 [+0.00] been specified with other arguments; keywords see below, # 6.03 [+0.00] Default is own interface # 6.04 [+0.00] -b Same with destination mac address; keywords: # 6.04 [+0.00] rand Use a random MAC address # 6.04 [+0.00] bc Use a broadcast MAC address # 6.04 [+0.00] own Use own interface MAC address (default for source MAC) # 6.04 [+0.00] stp Use IEEE 802.1d STP multicast address # 6.05 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 6.05 [+0.00] -A Use specified source IP address (default is own interface IP) # 6.05 [+0.00] -B Send packet to specified destination IP or domain name # 6.05 [+0.00] -P Use the specified ASCII payload # 6.06 [+0.00] -f Read the ASCII payload from a file # 6.06 [+0.00] -F Read the hexadecimal payload from a file # 6.06 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 6.06 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 6.07 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 6.07 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 6.07 [+0.00] encapsulations in lower layers, most packet types allow/require # 6.07 [+0.00] additional packet-specific arguments in an ; # 6.08 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 6.08 [+0.00] dns, rtp, syslog, lldp and more; # 6.08 [+0.00] For context-help use 'help' as ! # 6.08 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 6.09 [+0.00] Enter -T help or -T rtp help for further information # 6.09 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 6.09 [+0.00] -V|VV|... Verbose and more verbose mode # 6.10 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 6.10 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 6.10 [+0.00] typically combined with one of the verbose modes (v or V) # 6.11 [+0.00] -v Show version # 6.11 [+0.00] -h Print this help # 6.11 [+0.00] # 6.11 [+0.00] Examples: # 6.11 [+0.00] mausezahn -x 99 # 6.11 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 6.11 [+0.00] mausezahn -t cdp change -c 0 # 6.11 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 6.12 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 6.12 [+0.00] # 6.12 [+0.00] Note: # 6.12 [+0.00] This tool is targeted for network developers! You should # 6.12 [+0.00] be aware of what you are doing and what these options above # 6.12 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 6.13 [+0.00] # 6.13 [+0.00] Please report bugs to # 6.13 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 6.13 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 6.13 [+0.00] Swiss federal institute of technology (ETH Zurich) # 6.13 [+0.00] License: GNU GPL version 2.0 # 6.14 [+0.00] This is free software: you are free to change and redistribute it. # 6.14 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 6.14 [+0.00] # 6.59 [+0.45] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 6.59 [+0.00] # 6.59 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 6.59 [+0.00] http://www.netsniff-ng.org # 6.60 [+0.00] # 6.60 [+0.00] Usage: mausezahn [options] [interface] || # 6.60 [+0.00] Options: # 6.60 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 6.60 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 6.60 [+0.00] -4 IPv4 mode (default) # 6.60 [+0.00] -6 IPv6 mode # 6.60 [+0.00] -R Set socket priority # 6.61 [+0.00] -c Send packet count times, default:1, infinite:0 # 6.61 [+0.00] -d Apply delay between transmissions. The delay value can be # 6.61 [+0.00] specified in usec (default, no additional unit needed), or in # 6.61 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 6.61 [+0.00] -r Multiplies the specified delay with a random value # 6.62 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 6.62 [+0.00] -a Use specified source mac address, no matter what has # 6.62 [+0.00] been specified with other arguments; keywords see below, # 6.62 [+0.00] Default is own interface # 6.62 [+0.00] -b Same with destination mac address; keywords: # 6.62 [+0.00] rand Use a random MAC address # 6.62 [+0.00] bc Use a broadcast MAC address # 6.63 [+0.00] own Use own interface MAC address (default for source MAC) # 6.63 [+0.00] stp Use IEEE 802.1d STP multicast address # 6.63 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 6.63 [+0.00] -A Use specified source IP address (default is own interface IP) # 6.63 [+0.00] -B Send packet to specified destination IP or domain name # 6.64 [+0.00] -P Use the specified ASCII payload # 6.64 [+0.00] -f Read the ASCII payload from a file # 6.64 [+0.00] -F Read the hexadecimal payload from a file # 6.64 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 6.64 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 6.64 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 6.65 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 6.65 [+0.00] encapsulations in lower layers, most packet types allow/require # 6.65 [+0.00] additional packet-specific arguments in an ; # 6.65 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 6.66 [+0.00] dns, rtp, syslog, lldp and more; # 6.66 [+0.00] For context-help use 'help' as ! # 6.66 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 6.66 [+0.00] Enter -T help or -T rtp help for further information # 6.66 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 6.66 [+0.00] -V|VV|... Verbose and more verbose mode # 6.67 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 6.67 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 6.67 [+0.00] typically combined with one of the verbose modes (v or V) # 6.67 [+0.00] -v Show version # 6.67 [+0.00] -h Print this help # 6.67 [+0.00] # 6.67 [+0.00] Examples: # 6.67 [+0.00] mausezahn -x 99 # 6.67 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 6.68 [+0.00] mausezahn -t cdp change -c 0 # 6.68 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 6.68 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 6.68 [+0.00] # 6.68 [+0.00] Note: # 6.68 [+0.00] This tool is targeted for network developers! You should # 6.68 [+0.00] be aware of what you are doing and what these options above # 6.68 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 6.68 [+0.00] # 6.68 [+0.00] Please report bugs to # 6.69 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 6.69 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 6.69 [+0.00] Swiss federal institute of technology (ETH Zurich) # 6.69 [+0.00] License: GNU GPL version 2.0 # 6.69 [+0.00] This is free software: you are free to change and redistribute it. # 6.69 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 6.69 [+0.00] # 7.21 [+0.51] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 7.21 [+0.00] # 7.21 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 7.21 [+0.00] http://www.netsniff-ng.org # 7.21 [+0.00] # 7.21 [+0.00] Usage: mausezahn [options] [interface] || # 7.22 [+0.00] Options: # 7.22 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 7.22 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 7.22 [+0.00] -4 IPv4 mode (default) # 7.22 [+0.00] -6 IPv6 mode # 7.22 [+0.00] -R Set socket priority # 7.23 [+0.00] -c Send packet count times, default:1, infinite:0 # 7.23 [+0.00] -d Apply delay between transmissions. The delay value can be # 7.23 [+0.00] specified in usec (default, no additional unit needed), or in # 7.23 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 7.23 [+0.00] -r Multiplies the specified delay with a random value # 7.24 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 7.24 [+0.00] -a Use specified source mac address, no matter what has # 7.24 [+0.00] been specified with other arguments; keywords see below, # 7.24 [+0.00] Default is own interface # 7.24 [+0.00] -b Same with destination mac address; keywords: # 7.25 [+0.00] rand Use a random MAC address # 7.25 [+0.00] bc Use a broadcast MAC address # 7.25 [+0.00] own Use own interface MAC address (default for source MAC) # 7.25 [+0.00] stp Use IEEE 802.1d STP multicast address # 7.25 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 7.25 [+0.00] -A Use specified source IP address (default is own interface IP) # 7.26 [+0.00] -B Send packet to specified destination IP or domain name # 7.26 [+0.00] -P Use the specified ASCII payload # 7.26 [+0.00] -f Read the ASCII payload from a file # 7.26 [+0.00] -F Read the hexadecimal payload from a file # 7.26 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 7.26 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 7.27 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 7.27 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 7.27 [+0.00] encapsulations in lower layers, most packet types allow/require # 7.27 [+0.00] additional packet-specific arguments in an ; # 7.27 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 7.27 [+0.00] dns, rtp, syslog, lldp and more; # 7.28 [+0.00] For context-help use 'help' as ! # 7.28 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 7.28 [+0.00] Enter -T help or -T rtp help for further information # 7.28 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 7.28 [+0.00] -V|VV|... Verbose and more verbose mode # 7.29 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 7.29 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 7.29 [+0.00] typically combined with one of the verbose modes (v or V) # 7.29 [+0.00] -v Show version # 7.29 [+0.00] -h Print this help # 7.29 [+0.00] # 7.29 [+0.00] Examples: # 7.29 [+0.00] mausezahn -x 99 # 7.29 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 7.30 [+0.00] mausezahn -t cdp change -c 0 # 7.30 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 7.30 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 7.30 [+0.00] # 7.30 [+0.00] Note: # 7.30 [+0.00] This tool is targeted for network developers! You should # 7.30 [+0.00] be aware of what you are doing and what these options above # 7.30 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 7.30 [+0.00] # 7.30 [+0.00] Please report bugs to # 7.31 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 7.31 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 7.31 [+0.00] Swiss federal institute of technology (ETH Zurich) # 7.31 [+0.00] License: GNU GPL version 2.0 # 7.31 [+0.00] This is free software: you are free to change and redistribute it. # 7.31 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 7.31 [+0.00] # 7.91 [+0.59] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 7.91 [+0.00] # 7.91 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 7.91 [+0.00] http://www.netsniff-ng.org # 7.91 [+0.00] # 7.91 [+0.00] Usage: mausezahn [options] [interface] || # 7.91 [+0.00] Options: # 7.91 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 7.92 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 7.92 [+0.00] -4 IPv4 mode (default) # 7.92 [+0.00] -6 IPv6 mode # 7.92 [+0.00] -R Set socket priority # 7.92 [+0.00] -c Send packet count times, default:1, infinite:0 # 7.92 [+0.00] -d Apply delay between transmissions. The delay value can be # 7.92 [+0.00] specified in usec (default, no additional unit needed), or in # 7.93 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 7.93 [+0.00] -r Multiplies the specified delay with a random value # 7.93 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 7.93 [+0.00] -a Use specified source mac address, no matter what has # 7.93 [+0.00] been specified with other arguments; keywords see below, # 7.94 [+0.00] Default is own interface # 7.94 [+0.00] -b Same with destination mac address; keywords: # 7.94 [+0.00] rand Use a random MAC address # 7.94 [+0.00] bc Use a broadcast MAC address # 7.94 [+0.00] own Use own interface MAC address (default for source MAC) # 7.94 [+0.00] stp Use IEEE 802.1d STP multicast address # 7.95 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 7.95 [+0.00] -A Use specified source IP address (default is own interface IP) # 7.95 [+0.00] -B Send packet to specified destination IP or domain name # 7.95 [+0.00] -P Use the specified ASCII payload # 7.95 [+0.00] -f Read the ASCII payload from a file # 7.95 [+0.00] -F Read the hexadecimal payload from a file # 7.96 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 7.96 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 7.96 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 7.96 [+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.97 [+0.00] additional packet-specific arguments in an ; # 7.97 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 7.97 [+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.98 [+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 # 7.99 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 7.99 [+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.00 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 8.00 [+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.58 [+0.57] TEST: mirror to gre with next-hop remote [FAIL] # 8.59 [+0.00] Expected to capture == 10 packets, got 0. # 8.67 [+0.09] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 8.68 [+0.00] # 8.68 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 8.68 [+0.00] http://www.netsniff-ng.org # 8.68 [+0.00] # 8.68 [+0.00] Usage: mausezahn [options] [interface] || # 8.68 [+0.00] Options: # 8.68 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 8.68 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 8.69 [+0.00] -4 IPv4 mode (default) # 8.69 [+0.00] -6 IPv6 mode # 8.69 [+0.00] -R Set socket priority # 8.69 [+0.00] -c Send packet count times, default:1, infinite:0 # 8.69 [+0.00] -d Apply delay between transmissions. The delay value can be # 8.69 [+0.00] specified in usec (default, no additional unit needed), or in # 8.70 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 8.70 [+0.00] -r Multiplies the specified delay with a random value # 8.70 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 8.70 [+0.00] -a Use specified source mac address, no matter what has # 8.70 [+0.00] been specified with other arguments; keywords see below, # 8.71 [+0.00] Default is own interface # 8.71 [+0.00] -b Same with destination mac address; keywords: # 8.71 [+0.00] rand Use a random MAC address # 8.71 [+0.00] bc Use a broadcast MAC address # 8.71 [+0.00] own Use own interface MAC address (default for source MAC) # 8.71 [+0.00] stp Use IEEE 802.1d STP multicast address # 8.71 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 8.72 [+0.00] -A Use specified source IP address (default is own interface IP) # 8.72 [+0.00] -B Send packet to specified destination IP or domain name # 8.72 [+0.00] -P Use the specified ASCII payload # 8.72 [+0.00] -f Read the ASCII payload from a file # 8.72 [+0.00] -F Read the hexadecimal payload from a file # 8.73 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 8.73 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 8.73 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 8.73 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 8.73 [+0.00] encapsulations in lower layers, most packet types allow/require # 8.74 [+0.00] additional packet-specific arguments in an ; # 8.74 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 8.74 [+0.00] dns, rtp, syslog, lldp and more; # 8.74 [+0.00] For context-help use 'help' as ! # 8.74 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 8.75 [+0.00] Enter -T help or -T rtp help for further information # 8.75 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 8.75 [+0.00] -V|VV|... Verbose and more verbose mode # 8.75 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 8.75 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 8.76 [+0.00] typically combined with one of the verbose modes (v or V) # 8.76 [+0.00] -v Show version # 8.76 [+0.00] -h Print this help # 8.76 [+0.00] # 8.76 [+0.00] Examples: # 8.76 [+0.00] mausezahn -x 99 # 8.76 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 8.76 [+0.00] mausezahn -t cdp change -c 0 # 8.76 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 8.76 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 8.77 [+0.00] # 8.77 [+0.00] Note: # 8.77 [+0.00] This tool is targeted for network developers! You should # 8.77 [+0.00] be aware of what you are doing and what these options above # 8.77 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 8.77 [+0.00] # 8.77 [+0.00] Please report bugs to # 8.77 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 8.77 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 8.77 [+0.00] Swiss federal institute of technology (ETH Zurich) # 8.78 [+0.00] License: GNU GPL version 2.0 # 8.78 [+0.00] This is free software: you are free to change and redistribute it. # 8.78 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 8.78 [+0.00] # 9.28 [+0.50] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 9.28 [+0.00] # 9.28 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 9.28 [+0.00] http://www.netsniff-ng.org # 9.29 [+0.00] # 9.29 [+0.00] Usage: mausezahn [options] [interface] || # 9.29 [+0.00] Options: # 9.29 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 9.29 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 9.29 [+0.00] -4 IPv4 mode (default) # 9.29 [+0.00] -6 IPv6 mode # 9.29 [+0.00] -R Set socket priority # 9.29 [+0.00] -c Send packet count times, default:1, infinite:0 # 9.30 [+0.00] -d Apply delay between transmissions. The delay value can be # 9.30 [+0.00] specified in usec (default, no additional unit needed), or in # 9.30 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 9.30 [+0.00] -r Multiplies the specified delay with a random value # 9.30 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 9.31 [+0.00] -a Use specified source mac address, no matter what has # 9.31 [+0.00] been specified with other arguments; keywords see below, # 9.31 [+0.00] Default is own interface # 9.31 [+0.00] -b Same with destination mac address; keywords: # 9.31 [+0.00] rand Use a random MAC address # 9.32 [+0.00] bc Use a broadcast MAC address # 9.32 [+0.00] own Use own interface MAC address (default for source MAC) # 9.32 [+0.00] stp Use IEEE 802.1d STP multicast address # 9.32 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 9.32 [+0.00] -A Use specified source IP address (default is own interface IP) # 9.32 [+0.00] -B Send packet to specified destination IP or domain name # 9.33 [+0.00] -P Use the specified ASCII payload # 9.33 [+0.00] -f Read the ASCII payload from a file # 9.33 [+0.00] -F Read the hexadecimal payload from a file # 9.33 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 9.33 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 9.33 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 9.34 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 9.34 [+0.00] encapsulations in lower layers, most packet types allow/require # 9.34 [+0.00] additional packet-specific arguments in an ; # 9.34 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 9.35 [+0.00] dns, rtp, syslog, lldp and more; # 9.35 [+0.00] For context-help use 'help' as ! # 9.35 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 9.35 [+0.00] Enter -T help or -T rtp help for further information # 9.35 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 9.36 [+0.00] -V|VV|... Verbose and more verbose mode # 9.36 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 9.36 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 9.36 [+0.00] typically combined with one of the verbose modes (v or V) # 9.36 [+0.00] -v Show version # 9.36 [+0.00] -h Print this help # 9.36 [+0.00] # 9.36 [+0.00] Examples: # 9.36 [+0.00] mausezahn -x 99 # 9.37 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 9.37 [+0.00] mausezahn -t cdp change -c 0 # 9.37 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 9.37 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 9.37 [+0.00] # 9.37 [+0.00] Note: # 9.37 [+0.00] This tool is targeted for network developers! You should # 9.37 [+0.00] be aware of what you are doing and what these options above # 9.38 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 9.38 [+0.00] # 9.38 [+0.00] Please report bugs to # 9.38 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 9.38 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 9.38 [+0.00] Swiss federal institute of technology (ETH Zurich) # 9.38 [+0.00] License: GNU GPL version 2.0 # 9.38 [+0.00] This is free software: you are free to change and redistribute it. # 9.39 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 9.39 [+0.00] # 9.84 [+0.45] TEST: mirror to ip6gre with next-hop remote [FAIL] # 9.84 [+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__->