make -C tools/testing/selftests TARGETS="net/forwarding" TEST_PROGS=mirrorr_gre_vlan.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_vlan.sh # 6.09 [+6.09] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 6.09 [+0.00] # 6.09 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 6.09 [+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.09 [+0.00] -4 IPv4 mode (default) # 6.09 [+0.00] -6 IPv6 mode # 6.09 [+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.10 [+0.00] specified in usec (default, no additional unit needed), or in # 6.10 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 6.10 [+0.00] -r Multiplies the specified delay with a random value # 6.10 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 6.10 [+0.00] -a Use specified source mac address, no matter what has # 6.10 [+0.00] been specified with other arguments; keywords see below, # 6.10 [+0.00] Default is own interface # 6.10 [+0.00] -b Same with destination mac address; keywords: # 6.10 [+0.00] rand Use a random MAC address # 6.11 [+0.00] bc Use a broadcast MAC address # 6.11 [+0.00] own Use own interface MAC address (default for source MAC) # 6.11 [+0.00] stp Use IEEE 802.1d STP multicast address # 6.11 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 6.11 [+0.00] -A Use specified source IP address (default is own interface IP) # 6.11 [+0.00] -B Send packet to specified destination IP or domain name # 6.11 [+0.00] -P Use the specified ASCII payload # 6.11 [+0.00] -f Read the ASCII payload from a file # 6.11 [+0.00] -F Read the hexadecimal payload from a file # 6.11 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 6.11 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 6.11 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 6.12 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 6.12 [+0.00] encapsulations in lower layers, most packet types allow/require # 6.12 [+0.00] additional packet-specific arguments in an ; # 6.12 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 6.12 [+0.00] dns, rtp, syslog, lldp and more; # 6.12 [+0.00] For context-help use 'help' as ! # 6.12 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 6.12 [+0.00] Enter -T help or -T rtp help for further information # 6.12 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 6.12 [+0.00] -V|VV|... Verbose and more verbose mode # 6.12 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 6.13 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 6.13 [+0.00] typically combined with one of the verbose modes (v or V) # 6.13 [+0.00] -v Show version # 6.13 [+0.00] -h Print this help # 6.13 [+0.00] # 6.13 [+0.00] Examples: # 6.13 [+0.00] mausezahn -x 99 # 6.13 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 6.13 [+0.00] mausezahn -t cdp change -c 0 # 6.13 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 6.13 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 6.13 [+0.00] # 6.13 [+0.00] Note: # 6.13 [+0.00] This tool is targeted for network developers! You should # 6.13 [+0.00] be aware of what you are doing and what these options above # 6.13 [+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.14 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 6.14 [+0.00] Swiss federal institute of technology (ETH Zurich) # 6.14 [+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.74 [+0.60] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 6.74 [+0.00] # 6.74 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 6.75 [+0.00] http://www.netsniff-ng.org # 6.75 [+0.00] # 6.75 [+0.00] Usage: mausezahn [options] [interface] || # 6.75 [+0.00] Options: # 6.75 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 6.75 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 6.75 [+0.00] -4 IPv4 mode (default) # 6.75 [+0.00] -6 IPv6 mode # 6.75 [+0.00] -R Set socket priority # 6.75 [+0.00] -c Send packet count times, default:1, infinite:0 # 6.75 [+0.00] -d Apply delay between transmissions. The delay value can be # 6.75 [+0.00] specified in usec (default, no additional unit needed), or in # 6.75 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 6.76 [+0.00] -r Multiplies the specified delay with a random value # 6.76 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 6.76 [+0.00] -a Use specified source mac address, no matter what has # 6.76 [+0.00] been specified with other arguments; keywords see below, # 6.76 [+0.00] Default is own interface # 6.76 [+0.00] -b Same with destination mac address; keywords: # 6.76 [+0.00] rand Use a random MAC address # 6.76 [+0.00] bc Use a broadcast MAC address # 6.76 [+0.00] own Use own interface MAC address (default for source MAC) # 6.76 [+0.00] stp Use IEEE 802.1d STP multicast address # 6.76 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 6.76 [+0.00] -A Use specified source IP address (default is own interface IP) # 6.77 [+0.00] -B Send packet to specified destination IP or domain name # 6.77 [+0.00] -P Use the specified ASCII payload # 6.77 [+0.00] -f Read the ASCII payload from a file # 6.77 [+0.00] -F Read the hexadecimal payload from a file # 6.77 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 6.77 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 6.77 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 6.78 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 6.78 [+0.00] encapsulations in lower layers, most packet types allow/require # 6.78 [+0.00] additional packet-specific arguments in an ; # 6.78 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 6.78 [+0.00] dns, rtp, syslog, lldp and more; # 6.78 [+0.00] For context-help use 'help' as ! # 6.78 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 6.78 [+0.00] Enter -T help or -T rtp help for further information # 6.78 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 6.79 [+0.00] -V|VV|... Verbose and more verbose mode # 6.79 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 6.79 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 6.79 [+0.00] typically combined with one of the verbose modes (v or V) # 6.79 [+0.00] -v Show version # 6.79 [+0.00] -h Print this help # 6.79 [+0.00] # 6.79 [+0.00] Examples: # 6.79 [+0.00] mausezahn -x 99 # 6.79 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 6.79 [+0.00] mausezahn -t cdp change -c 0 # 6.79 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 6.79 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 6.79 [+0.00] # 6.79 [+0.00] Note: # 6.79 [+0.00] This tool is targeted for network developers! You should # 6.80 [+0.00] be aware of what you are doing and what these options above # 6.80 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 6.80 [+0.00] # 6.80 [+0.00] Please report bugs to # 6.80 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 6.80 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 6.80 [+0.00] Swiss federal institute of technology (ETH Zurich) # 6.80 [+0.00] License: GNU GPL version 2.0 # 6.80 [+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.38 [+0.58] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 7.38 [+0.00] # 7.38 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 7.38 [+0.00] http://www.netsniff-ng.org # 7.38 [+0.00] # 7.38 [+0.00] Usage: mausezahn [options] [interface] || # 7.38 [+0.00] Options: # 7.38 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 7.38 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 7.39 [+0.00] -4 IPv4 mode (default) # 7.39 [+0.00] -6 IPv6 mode # 7.39 [+0.00] -R Set socket priority # 7.39 [+0.00] -c Send packet count times, default:1, infinite:0 # 7.39 [+0.00] -d Apply delay between transmissions. The delay value can be # 7.39 [+0.00] specified in usec (default, no additional unit needed), or in # 7.39 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 7.39 [+0.00] -r Multiplies the specified delay with a random value # 7.39 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 7.40 [+0.00] -a Use specified source mac address, no matter what has # 7.40 [+0.00] been specified with other arguments; keywords see below, # 7.40 [+0.00] Default is own interface # 7.40 [+0.00] -b Same with destination mac address; keywords: # 7.40 [+0.00] rand Use a random MAC address # 7.40 [+0.00] bc Use a broadcast MAC address # 7.40 [+0.00] own Use own interface MAC address (default for source MAC) # 7.40 [+0.00] stp Use IEEE 802.1d STP multicast address # 7.40 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 7.40 [+0.00] -A Use specified source IP address (default is own interface IP) # 7.40 [+0.00] -B Send packet to specified destination IP or domain name # 7.41 [+0.00] -P Use the specified ASCII payload # 7.41 [+0.00] -f Read the ASCII payload from a file # 7.41 [+0.00] -F Read the hexadecimal payload from a file # 7.41 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 7.41 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 7.41 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 7.41 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 7.42 [+0.00] encapsulations in lower layers, most packet types allow/require # 7.42 [+0.00] additional packet-specific arguments in an ; # 7.42 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 7.42 [+0.00] dns, rtp, syslog, lldp and more; # 7.42 [+0.00] For context-help use 'help' as ! # 7.42 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 7.42 [+0.00] Enter -T help or -T rtp help for further information # 7.42 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 7.43 [+0.00] -V|VV|... Verbose and more verbose mode # 7.43 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 7.43 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 7.43 [+0.00] typically combined with one of the verbose modes (v or V) # 7.43 [+0.00] -v Show version # 7.43 [+0.00] -h Print this help # 7.43 [+0.00] # 7.43 [+0.00] Examples: # 7.43 [+0.00] mausezahn -x 99 # 7.43 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 7.43 [+0.00] mausezahn -t cdp change -c 0 # 7.43 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 7.43 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 7.44 [+0.00] # 7.44 [+0.00] Note: # 7.44 [+0.00] This tool is targeted for network developers! You should # 7.44 [+0.00] be aware of what you are doing and what these options above # 7.44 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 7.44 [+0.00] # 7.44 [+0.00] Please report bugs to # 7.44 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 7.44 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 7.44 [+0.00] Swiss federal institute of technology (ETH Zurich) # 7.44 [+0.00] License: GNU GPL version 2.0 # 7.44 [+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.99 [+0.54] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 7.99 [+0.00] # 7.99 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 7.99 [+0.00] http://www.netsniff-ng.org # 7.99 [+0.00] # 7.99 [+0.00] Usage: mausezahn [options] [interface] || # 7.99 [+0.00] Options: # 7.99 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 7.99 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 7.99 [+0.00] -4 IPv4 mode (default) # 7.99 [+0.00] -6 IPv6 mode # 8.00 [+0.00] -R Set socket priority # 8.00 [+0.00] -c Send packet count times, default:1, infinite:0 # 8.00 [+0.00] -d Apply delay between transmissions. The delay value can be # 8.00 [+0.00] specified in usec (default, no additional unit needed), or in # 8.00 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 8.00 [+0.00] -r Multiplies the specified delay with a random value # 8.00 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 8.00 [+0.00] -a Use specified source mac address, no matter what has # 8.00 [+0.00] been specified with other arguments; keywords see below, # 8.01 [+0.00] Default is own interface # 8.01 [+0.00] -b Same with destination mac address; keywords: # 8.01 [+0.00] rand Use a random MAC address # 8.01 [+0.00] bc Use a broadcast MAC address # 8.01 [+0.00] own Use own interface MAC address (default for source MAC) # 8.01 [+0.00] stp Use IEEE 802.1d STP multicast address # 8.01 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 8.01 [+0.00] -A Use specified source IP address (default is own interface IP) # 8.01 [+0.00] -B Send packet to specified destination IP or domain name # 8.02 [+0.00] -P Use the specified ASCII payload # 8.02 [+0.00] -f Read the ASCII payload from a file # 8.02 [+0.00] -F Read the hexadecimal payload from a file # 8.02 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 8.02 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 8.02 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 8.02 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 8.02 [+0.00] encapsulations in lower layers, most packet types allow/require # 8.02 [+0.00] additional packet-specific arguments in an ; # 8.03 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 8.03 [+0.00] dns, rtp, syslog, lldp and more; # 8.03 [+0.00] For context-help use 'help' as ! # 8.03 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 8.03 [+0.00] Enter -T help or -T rtp help for further information # 8.03 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 8.03 [+0.00] -V|VV|... Verbose and more verbose mode # 8.03 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 8.03 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 8.04 [+0.00] typically combined with one of the verbose modes (v or V) # 8.04 [+0.00] -v Show version # 8.04 [+0.00] -h Print this help # 8.04 [+0.00] # 8.04 [+0.00] Examples: # 8.04 [+0.00] mausezahn -x 99 # 8.04 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 8.04 [+0.00] mausezahn -t cdp change -c 0 # 8.04 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 8.04 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 8.04 [+0.00] # 8.04 [+0.00] Note: # 8.04 [+0.00] This tool is targeted for network developers! You should # 8.04 [+0.00] be aware of what you are doing and what these options above # 8.04 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 8.04 [+0.00] # 8.04 [+0.00] Please report bugs to # 8.04 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 8.05 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 8.05 [+0.00] Swiss federal institute of technology (ETH Zurich) # 8.05 [+0.00] License: GNU GPL version 2.0 # 8.05 [+0.00] This is free software: you are free to change and redistribute it. # 8.05 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 8.05 [+0.00] # 8.61 [+0.56] TEST: ingress mirror to gretap [FAIL] # 8.61 [+0.00] Expected to capture == 10 packets, got 0. # 8.70 [+0.08] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 8.70 [+0.00] # 8.70 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 8.70 [+0.00] http://www.netsniff-ng.org # 8.70 [+0.00] # 8.70 [+0.00] Usage: mausezahn [options] [interface] || # 8.70 [+0.00] Options: # 8.70 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 8.70 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 8.70 [+0.00] -4 IPv4 mode (default) # 8.70 [+0.00] -6 IPv6 mode # 8.71 [+0.00] -R Set socket priority # 8.71 [+0.00] -c Send packet count times, default:1, infinite:0 # 8.71 [+0.00] -d Apply delay between transmissions. The delay value can be # 8.71 [+0.00] specified in usec (default, no additional unit needed), or in # 8.71 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 8.71 [+0.00] -r Multiplies the specified delay with a random value # 8.71 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 8.71 [+0.00] -a Use specified source mac address, no matter what has # 8.71 [+0.00] been specified with other arguments; keywords see below, # 8.72 [+0.00] Default is own interface # 8.72 [+0.00] -b Same with destination mac address; keywords: # 8.72 [+0.00] rand Use a random MAC address # 8.72 [+0.00] bc Use a broadcast MAC address # 8.72 [+0.00] own Use own interface MAC address (default for source MAC) # 8.72 [+0.00] stp Use IEEE 802.1d STP multicast address # 8.72 [+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.73 [+0.00] -B Send packet to specified destination IP or domain name # 8.73 [+0.00] -P Use the specified ASCII payload # 8.73 [+0.00] -f Read the ASCII payload from a file # 8.73 [+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.74 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 8.74 [+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.74 [+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.75 [+0.00] typically combined with one of the verbose modes (v or V) # 8.75 [+0.00] -v Show version # 8.75 [+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.76 [+0.00] # 8.76 [+0.00] Note: # 8.76 [+0.00] This tool is targeted for network developers! You should # 8.76 [+0.00] be aware of what you are doing and what these options above # 8.76 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 8.76 [+0.00] # 8.76 [+0.00] Please report bugs to # 8.76 [+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.77 [+0.00] License: GNU GPL version 2.0 # 8.77 [+0.00] This is free software: you are free to change and redistribute it. # 8.77 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 8.77 [+0.00] # 9.38 [+0.61] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 9.38 [+0.00] # 9.38 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 9.38 [+0.00] http://www.netsniff-ng.org # 9.38 [+0.00] # 9.38 [+0.00] Usage: mausezahn [options] [interface] || # 9.38 [+0.00] Options: # 9.38 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 9.38 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 9.39 [+0.00] -4 IPv4 mode (default) # 9.39 [+0.00] -6 IPv6 mode # 9.39 [+0.00] -R Set socket priority # 9.39 [+0.00] -c Send packet count times, default:1, infinite:0 # 9.39 [+0.00] -d Apply delay between transmissions. The delay value can be # 9.39 [+0.00] specified in usec (default, no additional unit needed), or in # 9.39 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 9.40 [+0.00] -r Multiplies the specified delay with a random value # 9.40 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 9.40 [+0.00] -a Use specified source mac address, no matter what has # 9.40 [+0.00] been specified with other arguments; keywords see below, # 9.40 [+0.00] Default is own interface # 9.40 [+0.00] -b Same with destination mac address; keywords: # 9.40 [+0.00] rand Use a random MAC address # 9.40 [+0.00] bc Use a broadcast MAC address # 9.40 [+0.00] own Use own interface MAC address (default for source MAC) # 9.41 [+0.00] stp Use IEEE 802.1d STP multicast address # 9.41 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 9.41 [+0.00] -A Use specified source IP address (default is own interface IP) # 9.41 [+0.00] -B Send packet to specified destination IP or domain name # 9.41 [+0.00] -P Use the specified ASCII payload # 9.41 [+0.00] -f Read the ASCII payload from a file # 9.41 [+0.00] -F Read the hexadecimal payload from a file # 9.41 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 9.42 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 9.42 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 9.42 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 9.42 [+0.00] encapsulations in lower layers, most packet types allow/require # 9.42 [+0.00] additional packet-specific arguments in an ; # 9.42 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 9.42 [+0.00] dns, rtp, syslog, lldp and more; # 9.43 [+0.00] For context-help use 'help' as ! # 9.43 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 9.43 [+0.00] Enter -T help or -T rtp help for further information # 9.43 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 9.43 [+0.00] -V|VV|... Verbose and more verbose mode # 9.43 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 9.43 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 9.44 [+0.00] typically combined with one of the verbose modes (v or V) # 9.44 [+0.00] -v Show version # 9.44 [+0.00] -h Print this help # 9.44 [+0.00] # 9.44 [+0.00] Examples: # 9.44 [+0.00] mausezahn -x 99 # 9.44 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 9.44 [+0.00] mausezahn -t cdp change -c 0 # 9.44 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 9.44 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 9.44 [+0.00] # 9.44 [+0.00] Note: # 9.44 [+0.00] This tool is targeted for network developers! You should # 9.44 [+0.00] be aware of what you are doing and what these options above # 9.45 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 9.45 [+0.00] # 9.45 [+0.00] Please report bugs to # 9.45 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 9.45 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 9.45 [+0.00] Swiss federal institute of technology (ETH Zurich) # 9.45 [+0.00] License: GNU GPL version 2.0 # 9.45 [+0.00] This is free software: you are free to change and redistribute it. # 9.45 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 9.45 [+0.00] # 10.07 [+0.62] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 10.07 [+0.00] # 10.07 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 10.07 [+0.00] http://www.netsniff-ng.org # 10.07 [+0.00] # 10.07 [+0.00] Usage: mausezahn [options] [interface] || # 10.07 [+0.00] Options: # 10.07 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 10.07 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 10.08 [+0.00] -4 IPv4 mode (default) # 10.08 [+0.00] -6 IPv6 mode # 10.08 [+0.00] -R Set socket priority # 10.08 [+0.00] -c Send packet count times, default:1, infinite:0 # 10.08 [+0.00] -d Apply delay between transmissions. The delay value can be # 10.08 [+0.00] specified in usec (default, no additional unit needed), or in # 10.08 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 10.08 [+0.00] -r Multiplies the specified delay with a random value # 10.08 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 10.08 [+0.00] -a Use specified source mac address, no matter what has # 10.08 [+0.00] been specified with other arguments; keywords see below, # 10.09 [+0.00] Default is own interface # 10.09 [+0.00] -b Same with destination mac address; keywords: # 10.09 [+0.00] rand Use a random MAC address # 10.09 [+0.00] bc Use a broadcast MAC address # 10.09 [+0.00] own Use own interface MAC address (default for source MAC) # 10.09 [+0.00] stp Use IEEE 802.1d STP multicast address # 10.09 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 10.09 [+0.00] -A Use specified source IP address (default is own interface IP) # 10.09 [+0.00] -B Send packet to specified destination IP or domain name # 10.09 [+0.00] -P Use the specified ASCII payload # 10.09 [+0.00] -f Read the ASCII payload from a file # 10.10 [+0.00] -F Read the hexadecimal payload from a file # 10.10 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 10.10 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 10.10 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 10.10 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 10.10 [+0.00] encapsulations in lower layers, most packet types allow/require # 10.10 [+0.00] additional packet-specific arguments in an ; # 10.10 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 10.10 [+0.00] dns, rtp, syslog, lldp and more; # 10.10 [+0.00] For context-help use 'help' as ! # 10.11 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 10.11 [+0.00] Enter -T help or -T rtp help for further information # 10.11 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 10.11 [+0.00] -V|VV|... Verbose and more verbose mode # 10.11 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 10.11 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 10.11 [+0.00] typically combined with one of the verbose modes (v or V) # 10.11 [+0.00] -v Show version # 10.11 [+0.00] -h Print this help # 10.11 [+0.00] # 10.11 [+0.00] Examples: # 10.11 [+0.00] mausezahn -x 99 # 10.11 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 10.11 [+0.00] mausezahn -t cdp change -c 0 # 10.12 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 10.12 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 10.12 [+0.00] # 10.12 [+0.00] Note: # 10.12 [+0.00] This tool is targeted for network developers! You should # 10.12 [+0.00] be aware of what you are doing and what these options above # 10.12 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 10.12 [+0.00] # 10.12 [+0.00] Please report bugs to # 10.12 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 10.12 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 10.12 [+0.00] Swiss federal institute of technology (ETH Zurich) # 10.12 [+0.00] License: GNU GPL version 2.0 # 10.12 [+0.00] This is free software: you are free to change and redistribute it. # 10.12 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 10.13 [+0.00] # 10.73 [+0.61] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 10.74 [+0.00] # 10.74 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 10.74 [+0.00] http://www.netsniff-ng.org # 10.74 [+0.00] # 10.74 [+0.00] Usage: mausezahn [options] [interface] || # 10.74 [+0.00] Options: # 10.74 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 10.74 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 10.74 [+0.00] -4 IPv4 mode (default) # 10.74 [+0.00] -6 IPv6 mode # 10.74 [+0.00] -R Set socket priority # 10.75 [+0.00] -c Send packet count times, default:1, infinite:0 # 10.75 [+0.00] -d Apply delay between transmissions. The delay value can be # 10.75 [+0.00] specified in usec (default, no additional unit needed), or in # 10.75 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 10.75 [+0.00] -r Multiplies the specified delay with a random value # 10.75 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 10.76 [+0.00] -a Use specified source mac address, no matter what has # 10.76 [+0.00] been specified with other arguments; keywords see below, # 10.76 [+0.00] Default is own interface # 10.76 [+0.00] -b Same with destination mac address; keywords: # 10.76 [+0.00] rand Use a random MAC address # 10.76 [+0.00] bc Use a broadcast MAC address # 10.76 [+0.00] own Use own interface MAC address (default for source MAC) # 10.76 [+0.00] stp Use IEEE 802.1d STP multicast address # 10.77 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 10.77 [+0.00] -A Use specified source IP address (default is own interface IP) # 10.77 [+0.00] -B Send packet to specified destination IP or domain name # 10.77 [+0.00] -P Use the specified ASCII payload # 10.77 [+0.00] -f Read the ASCII payload from a file # 10.77 [+0.00] -F Read the hexadecimal payload from a file # 10.77 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 10.77 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 10.78 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 10.78 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 10.78 [+0.00] encapsulations in lower layers, most packet types allow/require # 10.78 [+0.00] additional packet-specific arguments in an ; # 10.78 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 10.78 [+0.00] dns, rtp, syslog, lldp and more; # 10.79 [+0.00] For context-help use 'help' as ! # 10.79 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 10.79 [+0.00] Enter -T help or -T rtp help for further information # 10.79 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 10.79 [+0.00] -V|VV|... Verbose and more verbose mode # 10.79 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 10.79 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 10.80 [+0.00] typically combined with one of the verbose modes (v or V) # 10.80 [+0.00] -v Show version # 10.80 [+0.00] -h Print this help # 10.80 [+0.00] # 10.80 [+0.00] Examples: # 10.80 [+0.00] mausezahn -x 99 # 10.80 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 10.80 [+0.00] mausezahn -t cdp change -c 0 # 10.80 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 10.80 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 10.80 [+0.00] # 10.80 [+0.00] Note: # 10.80 [+0.00] This tool is targeted for network developers! You should # 10.80 [+0.00] be aware of what you are doing and what these options above # 10.81 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 10.81 [+0.00] # 10.81 [+0.00] Please report bugs to # 10.81 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 10.81 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 10.81 [+0.00] Swiss federal institute of technology (ETH Zurich) # 10.81 [+0.00] License: GNU GPL version 2.0 # 10.81 [+0.00] This is free software: you are free to change and redistribute it. # 10.81 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 10.81 [+0.00] # 11.30 [+0.48] TEST: egress mirror to gretap [FAIL] # 11.30 [+0.00] Expected to capture == 10 packets, got 0. not ok 1 selftests: net/forwarding: mirror_gre_vlan.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__->