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-4/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-4/tools/testing/selftests/net/forwarding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-4/tools/testing/selftests/net/forwarding' make[1]: Entering directory '/home/virtme/testing/wt-4/tools/testing/selftests/net/forwarding' TAP version 13 1..1 # overriding timeout to 21600 # selftests: net/forwarding: mirror_gre_vlan.sh # 16.03 [+16.03] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 16.04 [+0.01] # 16.04 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 16.04 [+0.00] http://www.netsniff-ng.org # 16.04 [+0.00] # 16.04 [+0.00] Usage: mausezahn [options] [interface] || # 16.04 [+0.00] Options: # 16.04 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 16.05 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 16.05 [+0.00] -4 IPv4 mode (default) # 16.05 [+0.00] -6 IPv6 mode # 16.05 [+0.00] -R Set socket priority # 16.05 [+0.00] -c Send packet count times, default:1, infinite:0 # 16.06 [+0.00] -d Apply delay between transmissions. The delay value can be # 16.06 [+0.00] specified in usec (default, no additional unit needed), or in # 16.06 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 16.07 [+0.00] -r Multiplies the specified delay with a random value # 16.07 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 16.07 [+0.00] -a Use specified source mac address, no matter what has # 16.08 [+0.00] been specified with other arguments; keywords see below, # 16.08 [+0.00] Default is own interface # 16.08 [+0.00] -b Same with destination mac address; keywords: # 16.08 [+0.00] rand Use a random MAC address # 16.09 [+0.00] bc Use a broadcast MAC address # 16.09 [+0.00] own Use own interface MAC address (default for source MAC) # 16.09 [+0.00] stp Use IEEE 802.1d STP multicast address # 16.09 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 16.10 [+0.00] -A Use specified source IP address (default is own interface IP) # 16.10 [+0.00] -B Send packet to specified destination IP or domain name # 16.10 [+0.00] -P Use the specified ASCII payload # 16.10 [+0.00] -f Read the ASCII payload from a file # 16.11 [+0.00] -F Read the hexadecimal payload from a file # 16.11 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 16.11 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 16.12 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 16.12 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 16.12 [+0.00] encapsulations in lower layers, most packet types allow/require # 16.12 [+0.00] additional packet-specific arguments in an ; # 16.13 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 16.13 [+0.00] dns, rtp, syslog, lldp and more; # 16.13 [+0.00] For context-help use 'help' as ! # 16.14 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 16.14 [+0.00] Enter -T help or -T rtp help for further information # 16.14 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 16.15 [+0.00] -V|VV|... Verbose and more verbose mode # 16.15 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 16.15 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 16.15 [+0.00] typically combined with one of the verbose modes (v or V) # 16.16 [+0.00] -v Show version # 16.16 [+0.00] -h Print this help # 16.16 [+0.00] # 16.16 [+0.00] Examples: # 16.16 [+0.00] mausezahn -x 99 # 16.16 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 16.16 [+0.00] mausezahn -t cdp change -c 0 # 16.16 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 16.17 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 16.17 [+0.00] # 16.17 [+0.00] Note: # 16.17 [+0.00] This tool is targeted for network developers! You should # 16.17 [+0.00] be aware of what you are doing and what these options above # 16.19 [+0.01] mean! Only use this tool in an isolated LAN that you own! # 16.19 [+0.00] # 16.19 [+0.00] Please report bugs to # 16.19 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 16.19 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 16.20 [+0.00] Swiss federal institute of technology (ETH Zurich) # 16.20 [+0.00] License: GNU GPL version 2.0 # 16.20 [+0.00] This is free software: you are free to change and redistribute it. # 16.20 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 16.20 [+0.00] # 17.72 [+1.51] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 17.72 [+0.01] # 17.72 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 17.73 [+0.00] http://www.netsniff-ng.org # 17.73 [+0.00] # 17.73 [+0.00] Usage: mausezahn [options] [interface] || # 17.73 [+0.00] Options: # 17.73 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 17.74 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 17.74 [+0.00] -4 IPv4 mode (default) # 17.74 [+0.00] -6 IPv6 mode # 17.74 [+0.00] -R Set socket priority # 17.75 [+0.00] -c Send packet count times, default:1, infinite:0 # 17.75 [+0.00] -d Apply delay between transmissions. The delay value can be # 17.75 [+0.00] specified in usec (default, no additional unit needed), or in # 17.76 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 17.76 [+0.00] -r Multiplies the specified delay with a random value # 17.76 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 17.76 [+0.00] -a Use specified source mac address, no matter what has # 17.77 [+0.00] been specified with other arguments; keywords see below, # 17.77 [+0.00] Default is own interface # 17.77 [+0.00] -b Same with destination mac address; keywords: # 17.77 [+0.00] rand Use a random MAC address # 17.77 [+0.00] bc Use a broadcast MAC address # 17.77 [+0.00] own Use own interface MAC address (default for source MAC) # 17.78 [+0.00] stp Use IEEE 802.1d STP multicast address # 17.78 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 17.78 [+0.00] -A Use specified source IP address (default is own interface IP) # 17.78 [+0.00] -B Send packet to specified destination IP or domain name # 17.79 [+0.00] -P Use the specified ASCII payload # 17.79 [+0.00] -f Read the ASCII payload from a file # 17.79 [+0.00] -F Read the hexadecimal payload from a file # 17.79 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 17.79 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 17.80 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 17.80 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 17.80 [+0.00] encapsulations in lower layers, most packet types allow/require # 17.80 [+0.00] additional packet-specific arguments in an ; # 17.81 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 17.81 [+0.00] dns, rtp, syslog, lldp and more; # 17.81 [+0.00] For context-help use 'help' as ! # 17.81 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 17.82 [+0.00] Enter -T help or -T rtp help for further information # 17.82 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 17.82 [+0.00] -V|VV|... Verbose and more verbose mode # 17.82 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 17.83 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 17.83 [+0.00] typically combined with one of the verbose modes (v or V) # 17.83 [+0.00] -v Show version # 17.83 [+0.00] -h Print this help # 17.83 [+0.00] # 17.83 [+0.00] Examples: # 17.83 [+0.00] mausezahn -x 99 # 17.83 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 17.84 [+0.00] mausezahn -t cdp change -c 0 # 17.84 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 17.84 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 17.84 [+0.00] # 17.84 [+0.00] Note: # 17.84 [+0.00] This tool is targeted for network developers! You should # 17.84 [+0.00] be aware of what you are doing and what these options above # 17.85 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 17.85 [+0.00] # 17.85 [+0.00] Please report bugs to # 17.85 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 17.85 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 17.85 [+0.00] Swiss federal institute of technology (ETH Zurich) # 17.85 [+0.00] License: GNU GPL version 2.0 # 17.86 [+0.00] This is free software: you are free to change and redistribute it. # 17.86 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 17.86 [+0.00] # 19.37 [+1.51] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 19.38 [+0.01] # 19.38 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 19.38 [+0.00] http://www.netsniff-ng.org # 19.38 [+0.00] # 19.38 [+0.00] Usage: mausezahn [options] [interface] || # 19.39 [+0.00] Options: # 19.39 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 19.39 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 19.39 [+0.00] -4 IPv4 mode (default) # 19.39 [+0.00] -6 IPv6 mode # 19.39 [+0.00] -R Set socket priority # 19.40 [+0.00] -c Send packet count times, default:1, infinite:0 # 19.40 [+0.00] -d Apply delay between transmissions. The delay value can be # 19.40 [+0.00] specified in usec (default, no additional unit needed), or in # 19.40 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 19.41 [+0.00] -r Multiplies the specified delay with a random value # 19.41 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 19.41 [+0.00] -a Use specified source mac address, no matter what has # 19.41 [+0.00] been specified with other arguments; keywords see below, # 19.42 [+0.00] Default is own interface # 19.42 [+0.00] -b Same with destination mac address; keywords: # 19.42 [+0.00] rand Use a random MAC address # 19.42 [+0.00] bc Use a broadcast MAC address # 19.42 [+0.00] own Use own interface MAC address (default for source MAC) # 19.43 [+0.00] stp Use IEEE 802.1d STP multicast address # 19.43 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 19.43 [+0.00] -A Use specified source IP address (default is own interface IP) # 19.43 [+0.00] -B Send packet to specified destination IP or domain name # 19.44 [+0.00] -P Use the specified ASCII payload # 19.44 [+0.00] -f Read the ASCII payload from a file # 19.44 [+0.00] -F Read the hexadecimal payload from a file # 19.44 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 19.44 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 19.45 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 19.45 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 19.45 [+0.00] encapsulations in lower layers, most packet types allow/require # 19.45 [+0.00] additional packet-specific arguments in an ; # 19.46 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 19.46 [+0.00] dns, rtp, syslog, lldp and more; # 19.46 [+0.00] For context-help use 'help' as ! # 19.46 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 19.47 [+0.00] Enter -T help or -T rtp help for further information # 19.47 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 19.47 [+0.00] -V|VV|... Verbose and more verbose mode # 19.47 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 19.48 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 19.48 [+0.00] typically combined with one of the verbose modes (v or V) # 19.48 [+0.00] -v Show version # 19.49 [+0.00] -h Print this help # 19.49 [+0.00] # 19.49 [+0.00] Examples: # 19.49 [+0.00] mausezahn -x 99 # 19.49 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 19.49 [+0.00] mausezahn -t cdp change -c 0 # 19.50 [+0.01] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 19.51 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 19.51 [+0.00] # 19.51 [+0.00] Note: # 19.51 [+0.00] This tool is targeted for network developers! You should # 19.51 [+0.00] be aware of what you are doing and what these options above # 19.51 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 19.51 [+0.00] # 19.51 [+0.00] Please report bugs to # 19.52 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 19.52 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 19.52 [+0.00] Swiss federal institute of technology (ETH Zurich) # 19.52 [+0.00] License: GNU GPL version 2.0 # 19.52 [+0.00] This is free software: you are free to change and redistribute it. # 19.52 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 19.53 [+0.00] # 21.19 [+1.66] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 21.19 [+0.01] # 21.19 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 21.19 [+0.00] http://www.netsniff-ng.org # 21.20 [+0.00] # 21.20 [+0.00] Usage: mausezahn [options] [interface] || # 21.20 [+0.00] Options: # 21.20 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 21.20 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 21.21 [+0.00] -4 IPv4 mode (default) # 21.21 [+0.00] -6 IPv6 mode # 21.21 [+0.00] -R Set socket priority # 21.21 [+0.00] -c Send packet count times, default:1, infinite:0 # 21.21 [+0.00] -d Apply delay between transmissions. The delay value can be # 21.22 [+0.00] specified in usec (default, no additional unit needed), or in # 21.22 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 21.22 [+0.00] -r Multiplies the specified delay with a random value # 21.23 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 21.23 [+0.00] -a Use specified source mac address, no matter what has # 21.23 [+0.00] been specified with other arguments; keywords see below, # 21.24 [+0.00] Default is own interface # 21.24 [+0.00] -b Same with destination mac address; keywords: # 21.24 [+0.00] rand Use a random MAC address # 21.25 [+0.00] bc Use a broadcast MAC address # 21.25 [+0.00] own Use own interface MAC address (default for source MAC) # 21.25 [+0.00] stp Use IEEE 802.1d STP multicast address # 21.25 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 21.26 [+0.00] -A Use specified source IP address (default is own interface IP) # 21.26 [+0.00] -B Send packet to specified destination IP or domain name # 21.26 [+0.00] -P Use the specified ASCII payload # 21.27 [+0.00] -f Read the ASCII payload from a file # 21.28 [+0.01] -F Read the hexadecimal payload from a file # 21.28 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 21.29 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 21.29 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 21.29 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 21.30 [+0.00] encapsulations in lower layers, most packet types allow/require # 21.30 [+0.00] additional packet-specific arguments in an ; # 21.30 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 21.30 [+0.00] dns, rtp, syslog, lldp and more; # 21.31 [+0.00] For context-help use 'help' as ! # 21.31 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 21.31 [+0.00] Enter -T help or -T rtp help for further information # 21.32 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 21.32 [+0.00] -V|VV|... Verbose and more verbose mode # 21.32 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 21.32 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 21.33 [+0.00] typically combined with one of the verbose modes (v or V) # 21.33 [+0.00] -v Show version # 21.33 [+0.00] -h Print this help # 21.33 [+0.00] # 21.33 [+0.00] Examples: # 21.33 [+0.00] mausezahn -x 99 # 21.33 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 21.33 [+0.00] mausezahn -t cdp change -c 0 # 21.34 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 21.34 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 21.34 [+0.00] # 21.34 [+0.00] Note: # 21.34 [+0.00] This tool is targeted for network developers! You should # 21.34 [+0.00] be aware of what you are doing and what these options above # 21.35 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 21.35 [+0.00] # 21.35 [+0.00] Please report bugs to # 21.35 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 21.35 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 21.35 [+0.00] Swiss federal institute of technology (ETH Zurich) # 21.36 [+0.00] License: GNU GPL version 2.0 # 21.36 [+0.00] This is free software: you are free to change and redistribute it. # 21.36 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 21.36 [+0.00] # 22.37 [+1.01] TEST: ingress mirror to gretap [FAIL] # 22.38 [+0.01] Expected to capture == 10 packets, got 0. # 23.24 [+0.86] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 23.25 [+0.01] # 23.25 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 23.25 [+0.00] http://www.netsniff-ng.org # 23.25 [+0.00] # 23.25 [+0.00] Usage: mausezahn [options] [interface] || # 23.26 [+0.00] Options: # 23.26 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 23.26 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 23.26 [+0.00] -4 IPv4 mode (default) # 23.26 [+0.00] -6 IPv6 mode # 23.27 [+0.00] -R Set socket priority # 23.27 [+0.00] -c Send packet count times, default:1, infinite:0 # 23.27 [+0.00] -d Apply delay between transmissions. The delay value can be # 23.27 [+0.00] specified in usec (default, no additional unit needed), or in # 23.28 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 23.28 [+0.00] -r Multiplies the specified delay with a random value # 23.29 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 23.29 [+0.00] -a Use specified source mac address, no matter what has # 23.29 [+0.00] been specified with other arguments; keywords see below, # 23.29 [+0.00] Default is own interface # 23.30 [+0.00] -b Same with destination mac address; keywords: # 23.30 [+0.00] rand Use a random MAC address # 23.30 [+0.00] bc Use a broadcast MAC address # 23.31 [+0.01] own Use own interface MAC address (default for source MAC) # 23.31 [+0.00] stp Use IEEE 802.1d STP multicast address # 23.31 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 23.32 [+0.00] -A Use specified source IP address (default is own interface IP) # 23.32 [+0.00] -B Send packet to specified destination IP or domain name # 23.32 [+0.00] -P Use the specified ASCII payload # 23.32 [+0.00] -f Read the ASCII payload from a file # 23.33 [+0.00] -F Read the hexadecimal payload from a file # 23.33 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 23.33 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 23.33 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 23.34 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 23.34 [+0.00] encapsulations in lower layers, most packet types allow/require # 23.34 [+0.00] additional packet-specific arguments in an ; # 23.34 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 23.35 [+0.00] dns, rtp, syslog, lldp and more; # 23.35 [+0.00] For context-help use 'help' as ! # 23.35 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 23.35 [+0.00] Enter -T help or -T rtp help for further information # 23.36 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 23.36 [+0.00] -V|VV|... Verbose and more verbose mode # 23.36 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 23.36 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 23.36 [+0.00] typically combined with one of the verbose modes (v or V) # 23.37 [+0.00] -v Show version # 23.37 [+0.00] -h Print this help # 23.37 [+0.00] # 23.37 [+0.00] Examples: # 23.37 [+0.00] mausezahn -x 99 # 23.37 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 23.37 [+0.00] mausezahn -t cdp change -c 0 # 23.37 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 23.38 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 23.38 [+0.00] # 23.38 [+0.00] Note: # 23.38 [+0.00] This tool is targeted for network developers! You should # 23.38 [+0.00] be aware of what you are doing and what these options above # 23.38 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 23.38 [+0.00] # 23.38 [+0.00] Please report bugs to # 23.39 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 23.39 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 23.39 [+0.00] Swiss federal institute of technology (ETH Zurich) # 23.39 [+0.00] License: GNU GPL version 2.0 # 23.39 [+0.00] This is free software: you are free to change and redistribute it. # 23.39 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 23.40 [+0.00] # 24.94 [+1.54] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 24.95 [+0.01] # 24.95 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 24.95 [+0.00] http://www.netsniff-ng.org # 24.95 [+0.00] # 24.95 [+0.00] Usage: mausezahn [options] [interface] || # 24.95 [+0.00] Options: # 24.96 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 24.96 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 24.96 [+0.00] -4 IPv4 mode (default) # 24.96 [+0.00] -6 IPv6 mode # 24.96 [+0.00] -R Set socket priority # 24.97 [+0.00] -c Send packet count times, default:1, infinite:0 # 24.97 [+0.00] -d Apply delay between transmissions. The delay value can be # 24.97 [+0.00] specified in usec (default, no additional unit needed), or in # 24.97 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 24.98 [+0.00] -r Multiplies the specified delay with a random value # 24.98 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 24.98 [+0.00] -a Use specified source mac address, no matter what has # 24.98 [+0.00] been specified with other arguments; keywords see below, # 24.99 [+0.00] Default is own interface # 24.99 [+0.00] -b Same with destination mac address; keywords: # 24.99 [+0.00] rand Use a random MAC address # 24.99 [+0.00] bc Use a broadcast MAC address # 25.00 [+0.00] own Use own interface MAC address (default for source MAC) # 25.00 [+0.00] stp Use IEEE 802.1d STP multicast address # 25.00 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 25.00 [+0.00] -A Use specified source IP address (default is own interface IP) # 25.01 [+0.00] -B Send packet to specified destination IP or domain name # 25.01 [+0.00] -P Use the specified ASCII payload # 25.01 [+0.00] -f Read the ASCII payload from a file # 25.01 [+0.00] -F Read the hexadecimal payload from a file # 25.01 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 25.02 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 25.02 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 25.02 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 25.03 [+0.00] encapsulations in lower layers, most packet types allow/require # 25.03 [+0.00] additional packet-specific arguments in an ; # 25.03 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 25.03 [+0.00] dns, rtp, syslog, lldp and more; # 25.04 [+0.00] For context-help use 'help' as ! # 25.04 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 25.05 [+0.01] Enter -T help or -T rtp help for further information # 25.06 [+0.01] -M Insert a MPLS label, enter '-M help' for a syntax description # 25.06 [+0.00] -V|VV|... Verbose and more verbose mode # 25.06 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 25.06 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 25.07 [+0.00] typically combined with one of the verbose modes (v or V) # 25.07 [+0.00] -v Show version # 25.07 [+0.00] -h Print this help # 25.07 [+0.00] # 25.07 [+0.00] Examples: # 25.07 [+0.00] mausezahn -x 99 # 25.07 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 25.07 [+0.00] mausezahn -t cdp change -c 0 # 25.07 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 25.08 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 25.08 [+0.00] # 25.08 [+0.00] Note: # 25.08 [+0.00] This tool is targeted for network developers! You should # 25.08 [+0.00] be aware of what you are doing and what these options above # 25.08 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 25.09 [+0.00] # 25.09 [+0.00] Please report bugs to # 25.09 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 25.09 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 25.09 [+0.00] Swiss federal institute of technology (ETH Zurich) # 25.09 [+0.00] License: GNU GPL version 2.0 # 25.09 [+0.00] This is free software: you are free to change and redistribute it. # 25.10 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 25.10 [+0.00] # 26.56 [+1.46] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 26.57 [+0.01] # 26.57 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 26.57 [+0.00] http://www.netsniff-ng.org # 26.57 [+0.00] # 26.57 [+0.00] Usage: mausezahn [options] [interface] || # 26.57 [+0.00] Options: # 26.57 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 26.58 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 26.58 [+0.00] -4 IPv4 mode (default) # 26.58 [+0.00] -6 IPv6 mode # 26.58 [+0.00] -R Set socket priority # 26.59 [+0.00] -c Send packet count times, default:1, infinite:0 # 26.59 [+0.00] -d Apply delay between transmissions. The delay value can be # 26.59 [+0.00] specified in usec (default, no additional unit needed), or in # 26.59 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 26.60 [+0.00] -r Multiplies the specified delay with a random value # 26.60 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 26.60 [+0.00] -a Use specified source mac address, no matter what has # 26.61 [+0.00] been specified with other arguments; keywords see below, # 26.61 [+0.00] Default is own interface # 26.61 [+0.00] -b Same with destination mac address; keywords: # 26.61 [+0.00] rand Use a random MAC address # 26.62 [+0.00] bc Use a broadcast MAC address # 26.62 [+0.00] own Use own interface MAC address (default for source MAC) # 26.62 [+0.00] stp Use IEEE 802.1d STP multicast address # 26.62 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 26.63 [+0.00] -A Use specified source IP address (default is own interface IP) # 26.63 [+0.00] -B Send packet to specified destination IP or domain name # 26.63 [+0.00] -P Use the specified ASCII payload # 26.63 [+0.00] -f Read the ASCII payload from a file # 26.64 [+0.00] -F Read the hexadecimal payload from a file # 26.64 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 26.64 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 26.65 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 26.65 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 26.65 [+0.00] encapsulations in lower layers, most packet types allow/require # 26.66 [+0.00] additional packet-specific arguments in an ; # 26.66 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 26.68 [+0.01] dns, rtp, syslog, lldp and more; # 26.68 [+0.00] For context-help use 'help' as ! # 26.68 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 26.68 [+0.00] Enter -T help or -T rtp help for further information # 26.69 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 26.69 [+0.00] -V|VV|... Verbose and more verbose mode # 26.69 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 26.69 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 26.70 [+0.00] typically combined with one of the verbose modes (v or V) # 26.70 [+0.00] -v Show version # 26.70 [+0.00] -h Print this help # 26.70 [+0.00] # 26.70 [+0.00] Examples: # 26.70 [+0.00] mausezahn -x 99 # 26.70 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 26.71 [+0.00] mausezahn -t cdp change -c 0 # 26.71 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 26.71 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 26.71 [+0.00] # 26.71 [+0.00] Note: # 26.71 [+0.00] This tool is targeted for network developers! You should # 26.71 [+0.00] be aware of what you are doing and what these options above # 26.72 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 26.72 [+0.00] # 26.72 [+0.00] Please report bugs to # 26.72 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 26.72 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 26.72 [+0.00] Swiss federal institute of technology (ETH Zurich) # 26.73 [+0.00] License: GNU GPL version 2.0 # 26.73 [+0.00] This is free software: you are free to change and redistribute it. # 26.73 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 26.73 [+0.00] # 28.28 [+1.55] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 28.29 [+0.01] # 28.29 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 28.29 [+0.00] http://www.netsniff-ng.org # 28.29 [+0.00] # 28.29 [+0.00] Usage: mausezahn [options] [interface] || # 28.29 [+0.01] Options: # 28.30 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 28.30 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 28.30 [+0.01] -4 IPv4 mode (default) # 28.31 [+0.00] -6 IPv6 mode # 28.31 [+0.00] -R Set socket priority # 28.31 [+0.00] -c Send packet count times, default:1, infinite:0 # 28.31 [+0.00] -d Apply delay between transmissions. The delay value can be # 28.31 [+0.00] specified in usec (default, no additional unit needed), or in # 28.31 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 28.32 [+0.00] -r Multiplies the specified delay with a random value # 28.32 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 28.32 [+0.00] -a Use specified source mac address, no matter what has # 28.33 [+0.00] been specified with other arguments; keywords see below, # 28.33 [+0.00] Default is own interface # 28.33 [+0.00] -b Same with destination mac address; keywords: # 28.33 [+0.00] rand Use a random MAC address # 28.34 [+0.01] bc Use a broadcast MAC address # 28.35 [+0.01] own Use own interface MAC address (default for source MAC) # 28.35 [+0.00] stp Use IEEE 802.1d STP multicast address # 28.35 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 28.35 [+0.00] -A Use specified source IP address (default is own interface IP) # 28.35 [+0.00] -B Send packet to specified destination IP or domain name # 28.36 [+0.00] -P Use the specified ASCII payload # 28.36 [+0.00] -f Read the ASCII payload from a file # 28.36 [+0.00] -F Read the hexadecimal payload from a file # 28.36 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 28.37 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 28.37 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 28.37 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 28.38 [+0.00] encapsulations in lower layers, most packet types allow/require # 28.38 [+0.00] additional packet-specific arguments in an ; # 28.38 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 28.39 [+0.00] dns, rtp, syslog, lldp and more; # 28.39 [+0.00] For context-help use 'help' as ! # 28.39 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 28.40 [+0.00] Enter -T help or -T rtp help for further information # 28.40 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 28.40 [+0.00] -V|VV|... Verbose and more verbose mode # 28.40 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 28.40 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 28.41 [+0.00] typically combined with one of the verbose modes (v or V) # 28.41 [+0.00] -v Show version # 28.41 [+0.00] -h Print this help # 28.41 [+0.00] # 28.41 [+0.00] Examples: # 28.41 [+0.00] mausezahn -x 99 # 28.41 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 28.41 [+0.00] mausezahn -t cdp change -c 0 # 28.42 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 28.42 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 28.42 [+0.00] # 28.42 [+0.00] Note: # 28.42 [+0.00] This tool is targeted for network developers! You should # 28.42 [+0.00] be aware of what you are doing and what these options above # 28.42 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 28.43 [+0.00] # 28.43 [+0.00] Please report bugs to # 28.43 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 28.43 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 28.43 [+0.00] Swiss federal institute of technology (ETH Zurich) # 28.43 [+0.00] License: GNU GPL version 2.0 # 28.43 [+0.00] This is free software: you are free to change and redistribute it. # 28.44 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 28.44 [+0.00] # 29.38 [+0.94] TEST: egress mirror to gretap [FAIL] # 29.39 [+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-4/tools/testing/selftests/net/forwarding' make: Leaving directory '/home/virtme/testing/wt-4/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->