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 # 15.92 [+15.92] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 15.92 [+0.01] # 15.92 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 15.93 [+0.00] http://www.netsniff-ng.org # 15.93 [+0.00] # 15.93 [+0.00] Usage: mausezahn [options] [interface] || # 15.93 [+0.00] Options: # 15.93 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 15.93 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 15.94 [+0.00] -4 IPv4 mode (default) # 15.94 [+0.00] -6 IPv6 mode # 15.94 [+0.00] -R Set socket priority # 15.94 [+0.00] -c Send packet count times, default:1, infinite:0 # 15.94 [+0.00] -d Apply delay between transmissions. The delay value can be # 15.95 [+0.01] specified in usec (default, no additional unit needed), or in # 15.95 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 15.95 [+0.00] -r Multiplies the specified delay with a random value # 15.96 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 15.96 [+0.00] -a Use specified source mac address, no matter what has # 15.96 [+0.00] been specified with other arguments; keywords see below, # 15.97 [+0.00] Default is own interface # 15.97 [+0.00] -b Same with destination mac address; keywords: # 15.97 [+0.00] rand Use a random MAC address # 15.97 [+0.00] bc Use a broadcast MAC address # 15.97 [+0.00] own Use own interface MAC address (default for source MAC) # 15.98 [+0.00] stp Use IEEE 802.1d STP multicast address # 15.98 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 15.98 [+0.00] -A Use specified source IP address (default is own interface IP) # 15.99 [+0.00] -B Send packet to specified destination IP or domain name # 15.99 [+0.00] -P Use the specified ASCII payload # 15.99 [+0.00] -f Read the ASCII payload from a file # 15.99 [+0.00] -F Read the hexadecimal payload from a file # 15.99 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 16.00 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 16.00 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 16.01 [+0.01] -t Specify packet type for autobuild (you don't need to care for # 16.01 [+0.01] encapsulations in lower layers, most packet types allow/require # 16.02 [+0.00] additional packet-specific arguments in an ; # 16.02 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 16.02 [+0.00] dns, rtp, syslog, lldp and more; # 16.03 [+0.00] For context-help use 'help' as ! # 16.03 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 16.03 [+0.00] Enter -T help or -T rtp help for further information # 16.03 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 16.04 [+0.00] -V|VV|... Verbose and more verbose mode # 16.04 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 16.04 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 16.04 [+0.00] typically combined with one of the verbose modes (v or V) # 16.05 [+0.00] -v Show version # 16.05 [+0.00] -h Print this help # 16.05 [+0.00] # 16.05 [+0.00] Examples: # 16.05 [+0.00] mausezahn -x 99 # 16.05 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 16.05 [+0.00] mausezahn -t cdp change -c 0 # 16.05 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 16.06 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 16.06 [+0.00] # 16.06 [+0.00] Note: # 16.06 [+0.00] This tool is targeted for network developers! You should # 16.06 [+0.00] be aware of what you are doing and what these options above # 16.06 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 16.07 [+0.00] # 16.07 [+0.00] Please report bugs to # 16.07 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 16.07 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 16.07 [+0.00] Swiss federal institute of technology (ETH Zurich) # 16.07 [+0.00] License: GNU GPL version 2.0 # 16.07 [+0.00] This is free software: you are free to change and redistribute it. # 16.08 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 16.08 [+0.00] # 17.55 [+1.47] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 17.56 [+0.01] # 17.56 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 17.56 [+0.00] http://www.netsniff-ng.org # 17.56 [+0.00] # 17.56 [+0.00] Usage: mausezahn [options] [interface] || # 17.56 [+0.00] Options: # 17.56 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 17.56 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 17.57 [+0.00] -4 IPv4 mode (default) # 17.57 [+0.00] -6 IPv6 mode # 17.57 [+0.00] -R Set socket priority # 17.57 [+0.00] -c Send packet count times, default:1, infinite:0 # 17.57 [+0.00] -d Apply delay between transmissions. The delay value can be # 17.58 [+0.00] specified in usec (default, no additional unit needed), or in # 17.58 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 17.58 [+0.00] -r Multiplies the specified delay with a random value # 17.59 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 17.59 [+0.00] -a Use specified source mac address, no matter what has # 17.59 [+0.00] been specified with other arguments; keywords see below, # 17.59 [+0.00] Default is own interface # 17.60 [+0.00] -b Same with destination mac address; keywords: # 17.60 [+0.00] rand Use a random MAC address # 17.63 [+0.03] bc Use a broadcast MAC address # 17.63 [+0.00] own Use own interface MAC address (default for source MAC) # 17.63 [+0.00] stp Use IEEE 802.1d STP multicast address # 17.63 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 17.64 [+0.00] -A Use specified source IP address (default is own interface IP) # 17.64 [+0.00] -B Send packet to specified destination IP or domain name # 17.64 [+0.00] -P Use the specified ASCII payload # 17.64 [+0.00] -f Read the ASCII payload from a file # 17.65 [+0.00] -F Read the hexadecimal payload from a file # 17.65 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 17.65 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 17.65 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 17.66 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 17.66 [+0.00] encapsulations in lower layers, most packet types allow/require # 17.66 [+0.00] additional packet-specific arguments in an ; # 17.66 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 17.67 [+0.00] dns, rtp, syslog, lldp and more; # 17.67 [+0.00] For context-help use 'help' as ! # 17.67 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 17.67 [+0.00] Enter -T help or -T rtp help for further information # 17.68 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 17.68 [+0.00] -V|VV|... Verbose and more verbose mode # 17.68 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 17.68 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 17.69 [+0.00] typically combined with one of the verbose modes (v or V) # 17.69 [+0.00] -v Show version # 17.69 [+0.00] -h Print this help # 17.69 [+0.00] # 17.69 [+0.00] Examples: # 17.69 [+0.00] mausezahn -x 99 # 17.69 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 17.70 [+0.00] mausezahn -t cdp change -c 0 # 17.70 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 17.70 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 17.70 [+0.00] # 17.70 [+0.00] Note: # 17.70 [+0.00] This tool is targeted for network developers! You should # 17.70 [+0.00] be aware of what you are doing and what these options above # 17.71 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 17.71 [+0.00] # 17.71 [+0.00] Please report bugs to # 17.71 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 17.71 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 17.71 [+0.00] Swiss federal institute of technology (ETH Zurich) # 17.72 [+0.00] License: GNU GPL version 2.0 # 17.72 [+0.00] This is free software: you are free to change and redistribute it. # 17.72 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 17.72 [+0.00] # 19.12 [+1.40] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 19.14 [+0.02] # 19.14 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 19.14 [+0.00] http://www.netsniff-ng.org # 19.14 [+0.00] # 19.14 [+0.00] Usage: mausezahn [options] [interface] || # 19.14 [+0.00] Options: # 19.14 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 19.14 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 19.15 [+0.00] -4 IPv4 mode (default) # 19.15 [+0.00] -6 IPv6 mode # 19.15 [+0.00] -R Set socket priority # 19.15 [+0.00] -c Send packet count times, default:1, infinite:0 # 19.15 [+0.00] -d Apply delay between transmissions. The delay value can be # 19.16 [+0.00] specified in usec (default, no additional unit needed), or in # 19.16 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 19.16 [+0.00] -r Multiplies the specified delay with a random value # 19.16 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 19.17 [+0.00] -a Use specified source mac address, no matter what has # 19.17 [+0.00] been specified with other arguments; keywords see below, # 19.17 [+0.00] Default is own interface # 19.17 [+0.00] -b Same with destination mac address; keywords: # 19.17 [+0.00] rand Use a random MAC address # 19.18 [+0.00] bc Use a broadcast MAC address # 19.18 [+0.00] own Use own interface MAC address (default for source MAC) # 19.18 [+0.00] stp Use IEEE 802.1d STP multicast address # 19.18 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 19.18 [+0.00] -A Use specified source IP address (default is own interface IP) # 19.19 [+0.00] -B Send packet to specified destination IP or domain name # 19.19 [+0.00] -P Use the specified ASCII payload # 19.19 [+0.00] -f Read the ASCII payload from a file # 19.19 [+0.00] -F Read the hexadecimal payload from a file # 19.19 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 19.20 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 19.20 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 19.20 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 19.20 [+0.00] encapsulations in lower layers, most packet types allow/require # 19.21 [+0.00] additional packet-specific arguments in an ; # 19.21 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 19.21 [+0.00] dns, rtp, syslog, lldp and more; # 19.21 [+0.00] For context-help use 'help' as ! # 19.22 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 19.22 [+0.00] Enter -T help or -T rtp help for further information # 19.22 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 19.22 [+0.00] -V|VV|... Verbose and more verbose mode # 19.23 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 19.23 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 19.23 [+0.00] typically combined with one of the verbose modes (v or V) # 19.23 [+0.00] -v Show version # 19.23 [+0.00] -h Print this help # 19.24 [+0.00] # 19.24 [+0.00] Examples: # 19.24 [+0.00] mausezahn -x 99 # 19.24 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 19.24 [+0.00] mausezahn -t cdp change -c 0 # 19.24 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 19.24 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 19.24 [+0.00] # 19.24 [+0.00] Note: # 19.24 [+0.00] This tool is targeted for network developers! You should # 19.25 [+0.00] be aware of what you are doing and what these options above # 19.25 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 19.25 [+0.00] # 19.25 [+0.00] Please report bugs to # 19.25 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 19.25 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 19.26 [+0.00] Swiss federal institute of technology (ETH Zurich) # 19.26 [+0.00] License: GNU GPL version 2.0 # 19.26 [+0.00] This is free software: you are free to change and redistribute it. # 19.26 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 19.26 [+0.00] # 20.84 [+1.58] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 20.85 [+0.01] # 20.85 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 20.85 [+0.00] http://www.netsniff-ng.org # 20.85 [+0.00] # 20.85 [+0.00] Usage: mausezahn [options] [interface] || # 20.85 [+0.00] Options: # 20.85 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 20.86 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 20.86 [+0.00] -4 IPv4 mode (default) # 20.86 [+0.00] -6 IPv6 mode # 20.86 [+0.00] -R Set socket priority # 20.86 [+0.00] -c Send packet count times, default:1, infinite:0 # 20.86 [+0.00] -d Apply delay between transmissions. The delay value can be # 20.87 [+0.00] specified in usec (default, no additional unit needed), or in # 20.87 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 20.87 [+0.00] -r Multiplies the specified delay with a random value # 20.87 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 20.88 [+0.00] -a Use specified source mac address, no matter what has # 20.88 [+0.00] been specified with other arguments; keywords see below, # 20.88 [+0.00] Default is own interface # 20.88 [+0.00] -b Same with destination mac address; keywords: # 20.89 [+0.00] rand Use a random MAC address # 20.89 [+0.00] bc Use a broadcast MAC address # 20.89 [+0.00] own Use own interface MAC address (default for source MAC) # 20.89 [+0.00] stp Use IEEE 802.1d STP multicast address # 20.89 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 20.90 [+0.00] -A Use specified source IP address (default is own interface IP) # 20.90 [+0.00] -B Send packet to specified destination IP or domain name # 20.90 [+0.00] -P Use the specified ASCII payload # 20.91 [+0.00] -f Read the ASCII payload from a file # 20.91 [+0.00] -F Read the hexadecimal payload from a file # 20.91 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 20.91 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 20.92 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 20.92 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 20.92 [+0.00] encapsulations in lower layers, most packet types allow/require # 20.92 [+0.00] additional packet-specific arguments in an ; # 20.92 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 20.93 [+0.00] dns, rtp, syslog, lldp and more; # 20.93 [+0.00] For context-help use 'help' as ! # 20.93 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 20.94 [+0.00] Enter -T help or -T rtp help for further information # 20.94 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 20.94 [+0.00] -V|VV|... Verbose and more verbose mode # 20.94 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 20.95 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 20.95 [+0.00] typically combined with one of the verbose modes (v or V) # 20.95 [+0.00] -v Show version # 20.95 [+0.00] -h Print this help # 20.95 [+0.00] # 20.95 [+0.00] Examples: # 20.95 [+0.00] mausezahn -x 99 # 20.95 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 20.96 [+0.00] mausezahn -t cdp change -c 0 # 20.96 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 20.96 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 20.96 [+0.00] # 20.96 [+0.00] Note: # 20.96 [+0.00] This tool is targeted for network developers! You should # 20.97 [+0.00] be aware of what you are doing and what these options above # 20.97 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 20.97 [+0.00] # 20.97 [+0.00] Please report bugs to # 20.97 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 20.98 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 20.98 [+0.01] Swiss federal institute of technology (ETH Zurich) # 20.99 [+0.01] License: GNU GPL version 2.0 # 20.99 [+0.00] This is free software: you are free to change and redistribute it. # 20.99 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 21.00 [+0.00] # 22.01 [+1.02] TEST: ingress mirror to gretap [FAIL] # 22.01 [+0.00] Expected to capture == 10 packets, got 0. # 22.88 [+0.87] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 22.89 [+0.01] # 22.89 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 22.89 [+0.00] http://www.netsniff-ng.org # 22.89 [+0.00] # 22.89 [+0.00] Usage: mausezahn [options] [interface] || # 22.89 [+0.00] Options: # 22.89 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 22.89 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 22.90 [+0.00] -4 IPv4 mode (default) # 22.90 [+0.00] -6 IPv6 mode # 22.90 [+0.00] -R Set socket priority # 22.90 [+0.00] -c Send packet count times, default:1, infinite:0 # 22.90 [+0.00] -d Apply delay between transmissions. The delay value can be # 22.90 [+0.00] specified in usec (default, no additional unit needed), or in # 22.91 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 22.91 [+0.00] -r Multiplies the specified delay with a random value # 22.91 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 22.91 [+0.00] -a Use specified source mac address, no matter what has # 22.92 [+0.00] been specified with other arguments; keywords see below, # 22.92 [+0.00] Default is own interface # 22.92 [+0.00] -b Same with destination mac address; keywords: # 22.92 [+0.00] rand Use a random MAC address # 22.92 [+0.00] bc Use a broadcast MAC address # 22.93 [+0.00] own Use own interface MAC address (default for source MAC) # 22.93 [+0.00] stp Use IEEE 802.1d STP multicast address # 22.93 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 22.93 [+0.00] -A Use specified source IP address (default is own interface IP) # 22.94 [+0.00] -B Send packet to specified destination IP or domain name # 22.94 [+0.00] -P Use the specified ASCII payload # 22.94 [+0.00] -f Read the ASCII payload from a file # 22.94 [+0.00] -F Read the hexadecimal payload from a file # 22.94 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 22.95 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 22.95 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 22.95 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 22.95 [+0.00] encapsulations in lower layers, most packet types allow/require # 22.96 [+0.00] additional packet-specific arguments in an ; # 22.96 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 22.96 [+0.00] dns, rtp, syslog, lldp and more; # 22.97 [+0.00] For context-help use 'help' as ! # 22.97 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 22.97 [+0.00] Enter -T help or -T rtp help for further information # 22.97 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 22.98 [+0.00] -V|VV|... Verbose and more verbose mode # 22.98 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 22.98 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 22.99 [+0.00] typically combined with one of the verbose modes (v or V) # 22.99 [+0.00] -v Show version # 22.99 [+0.00] -h Print this help # 22.99 [+0.00] # 22.99 [+0.00] Examples: # 22.99 [+0.00] mausezahn -x 99 # 22.99 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 22.99 [+0.00] mausezahn -t cdp change -c 0 # 22.99 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 23.00 [+0.01] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 23.01 [+0.01] # 23.01 [+0.00] Note: # 23.01 [+0.00] This tool is targeted for network developers! You should # 23.01 [+0.00] be aware of what you are doing and what these options above # 23.01 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 23.02 [+0.00] # 23.02 [+0.00] Please report bugs to # 23.02 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 23.02 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 23.02 [+0.00] Swiss federal institute of technology (ETH Zurich) # 23.02 [+0.00] License: GNU GPL version 2.0 # 23.02 [+0.00] This is free software: you are free to change and redistribute it. # 23.03 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 23.03 [+0.00] # 24.60 [+1.57] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 24.60 [+0.01] # 24.60 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 24.61 [+0.00] http://www.netsniff-ng.org # 24.61 [+0.00] # 24.61 [+0.00] Usage: mausezahn [options] [interface] || # 24.61 [+0.00] Options: # 24.61 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 24.61 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 24.62 [+0.00] -4 IPv4 mode (default) # 24.62 [+0.00] -6 IPv6 mode # 24.62 [+0.00] -R Set socket priority # 24.62 [+0.00] -c Send packet count times, default:1, infinite:0 # 24.62 [+0.00] -d Apply delay between transmissions. The delay value can be # 24.62 [+0.00] specified in usec (default, no additional unit needed), or in # 24.63 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 24.63 [+0.00] -r Multiplies the specified delay with a random value # 24.63 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 24.64 [+0.00] -a Use specified source mac address, no matter what has # 24.64 [+0.00] been specified with other arguments; keywords see below, # 24.64 [+0.00] Default is own interface # 24.64 [+0.00] -b Same with destination mac address; keywords: # 24.65 [+0.00] rand Use a random MAC address # 24.65 [+0.00] bc Use a broadcast MAC address # 24.65 [+0.00] own Use own interface MAC address (default for source MAC) # 24.65 [+0.00] stp Use IEEE 802.1d STP multicast address # 24.65 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 24.66 [+0.00] -A Use specified source IP address (default is own interface IP) # 24.66 [+0.00] -B Send packet to specified destination IP or domain name # 24.66 [+0.00] -P Use the specified ASCII payload # 24.66 [+0.00] -f Read the ASCII payload from a file # 24.67 [+0.00] -F Read the hexadecimal payload from a file # 24.67 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 24.67 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 24.67 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 24.68 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 24.68 [+0.00] encapsulations in lower layers, most packet types allow/require # 24.68 [+0.00] additional packet-specific arguments in an ; # 24.68 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 24.69 [+0.00] dns, rtp, syslog, lldp and more; # 24.69 [+0.00] For context-help use 'help' as ! # 24.69 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 24.70 [+0.00] Enter -T help or -T rtp help for further information # 24.70 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 24.70 [+0.01] -V|VV|... Verbose and more verbose mode # 24.71 [+0.01] -q Quiet mode, even omit 'important' standard short messages # 24.72 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 24.72 [+0.00] typically combined with one of the verbose modes (v or V) # 24.72 [+0.00] -v Show version # 24.72 [+0.00] -h Print this help # 24.73 [+0.00] # 24.73 [+0.00] Examples: # 24.73 [+0.00] mausezahn -x 99 # 24.73 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 24.73 [+0.00] mausezahn -t cdp change -c 0 # 24.73 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 24.73 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 24.74 [+0.00] # 24.74 [+0.00] Note: # 24.74 [+0.00] This tool is targeted for network developers! You should # 24.74 [+0.00] be aware of what you are doing and what these options above # 24.74 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 24.74 [+0.00] # 24.74 [+0.00] Please report bugs to # 24.74 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 24.75 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 24.75 [+0.00] Swiss federal institute of technology (ETH Zurich) # 24.75 [+0.00] License: GNU GPL version 2.0 # 24.75 [+0.00] This is free software: you are free to change and redistribute it. # 24.75 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 24.75 [+0.00] # 26.21 [+1.45] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 26.21 [+0.01] # 26.21 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 26.22 [+0.00] http://www.netsniff-ng.org # 26.22 [+0.00] # 26.22 [+0.00] Usage: mausezahn [options] [interface] || # 26.22 [+0.00] Options: # 26.22 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 26.23 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 26.23 [+0.00] -4 IPv4 mode (default) # 26.23 [+0.00] -6 IPv6 mode # 26.23 [+0.00] -R Set socket priority # 26.23 [+0.00] -c Send packet count times, default:1, infinite:0 # 26.24 [+0.00] -d Apply delay between transmissions. The delay value can be # 26.24 [+0.00] specified in usec (default, no additional unit needed), or in # 26.24 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 26.25 [+0.00] -r Multiplies the specified delay with a random value # 26.25 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 26.25 [+0.00] -a Use specified source mac address, no matter what has # 26.26 [+0.00] been specified with other arguments; keywords see below, # 26.26 [+0.00] Default is own interface # 26.26 [+0.00] -b Same with destination mac address; keywords: # 26.26 [+0.00] rand Use a random MAC address # 26.27 [+0.00] bc Use a broadcast MAC address # 26.27 [+0.00] own Use own interface MAC address (default for source MAC) # 26.27 [+0.00] stp Use IEEE 802.1d STP multicast address # 26.27 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 26.28 [+0.00] -A Use specified source IP address (default is own interface IP) # 26.28 [+0.00] -B Send packet to specified destination IP or domain name # 26.28 [+0.00] -P Use the specified ASCII payload # 26.28 [+0.00] -f Read the ASCII payload from a file # 26.29 [+0.00] -F Read the hexadecimal payload from a file # 26.29 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 26.29 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 26.29 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 26.30 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 26.30 [+0.00] encapsulations in lower layers, most packet types allow/require # 26.30 [+0.00] additional packet-specific arguments in an ; # 26.31 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 26.31 [+0.00] dns, rtp, syslog, lldp and more; # 26.31 [+0.00] For context-help use 'help' as ! # 26.31 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 26.32 [+0.00] Enter -T help or -T rtp help for further information # 26.32 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 26.32 [+0.00] -V|VV|... Verbose and more verbose mode # 26.32 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 26.33 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 26.33 [+0.00] typically combined with one of the verbose modes (v or V) # 26.33 [+0.00] -v Show version # 26.33 [+0.00] -h Print this help # 26.33 [+0.00] # 26.33 [+0.00] Examples: # 26.34 [+0.00] mausezahn -x 99 # 26.34 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 26.34 [+0.00] mausezahn -t cdp change -c 0 # 26.34 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 26.34 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 26.34 [+0.00] # 26.34 [+0.00] Note: # 26.34 [+0.00] This tool is targeted for network developers! You should # 26.35 [+0.00] be aware of what you are doing and what these options above # 26.35 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 26.35 [+0.00] # 26.35 [+0.00] Please report bugs to # 26.35 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 26.35 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 26.36 [+0.00] Swiss federal institute of technology (ETH Zurich) # 26.36 [+0.00] License: GNU GPL version 2.0 # 26.36 [+0.00] This is free software: you are free to change and redistribute it. # 26.36 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 26.36 [+0.00] # 27.87 [+1.51] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 27.88 [+0.01] # 27.88 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 27.88 [+0.00] http://www.netsniff-ng.org # 27.88 [+0.00] # 27.88 [+0.00] Usage: mausezahn [options] [interface] || # 27.88 [+0.00] Options: # 27.88 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 27.89 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 27.89 [+0.00] -4 IPv4 mode (default) # 27.89 [+0.00] -6 IPv6 mode # 27.89 [+0.00] -R Set socket priority # 27.89 [+0.00] -c Send packet count times, default:1, infinite:0 # 27.89 [+0.00] -d Apply delay between transmissions. The delay value can be # 27.90 [+0.00] specified in usec (default, no additional unit needed), or in # 27.90 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 27.90 [+0.00] -r Multiplies the specified delay with a random value # 27.90 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 27.91 [+0.00] -a Use specified source mac address, no matter what has # 27.91 [+0.00] been specified with other arguments; keywords see below, # 27.91 [+0.00] Default is own interface # 27.91 [+0.00] -b Same with destination mac address; keywords: # 27.92 [+0.00] rand Use a random MAC address # 27.92 [+0.00] bc Use a broadcast MAC address # 27.92 [+0.00] own Use own interface MAC address (default for source MAC) # 27.92 [+0.00] stp Use IEEE 802.1d STP multicast address # 27.93 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 27.93 [+0.00] -A Use specified source IP address (default is own interface IP) # 27.93 [+0.00] -B Send packet to specified destination IP or domain name # 27.93 [+0.00] -P Use the specified ASCII payload # 27.94 [+0.00] -f Read the ASCII payload from a file # 27.94 [+0.00] -F Read the hexadecimal payload from a file # 27.94 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 27.95 [+0.01] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 27.96 [+0.01] via a comma or a period (e.g. '5:10,20,2:30') # 27.96 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 27.96 [+0.00] encapsulations in lower layers, most packet types allow/require # 27.97 [+0.00] additional packet-specific arguments in an ; # 27.97 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 27.97 [+0.00] dns, rtp, syslog, lldp and more; # 27.97 [+0.00] For context-help use 'help' as ! # 27.98 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 27.98 [+0.00] Enter -T help or -T rtp help for further information # 27.98 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 27.98 [+0.00] -V|VV|... Verbose and more verbose mode # 27.98 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 27.99 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 27.99 [+0.00] typically combined with one of the verbose modes (v or V) # 27.99 [+0.00] -v Show version # 27.99 [+0.00] -h Print this help # 27.99 [+0.00] # 27.99 [+0.00] Examples: # 28.00 [+0.00] mausezahn -x 99 # 28.00 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 28.00 [+0.00] mausezahn -t cdp change -c 0 # 28.00 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 28.00 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 28.00 [+0.00] # 28.00 [+0.00] Note: # 28.00 [+0.00] This tool is targeted for network developers! You should # 28.01 [+0.00] be aware of what you are doing and what these options above # 28.01 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 28.01 [+0.00] # 28.01 [+0.00] Please report bugs to # 28.01 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 28.01 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 28.01 [+0.00] Swiss federal institute of technology (ETH Zurich) # 28.02 [+0.00] License: GNU GPL version 2.0 # 28.02 [+0.00] This is free software: you are free to change and redistribute it. # 28.02 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 28.02 [+0.00] # 28.97 [+0.95] TEST: egress mirror to gretap [FAIL] # 28.97 [+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__->