make -C tools/testing/selftests TARGETS="net/forwarding" TEST_PROGS=mirrorr_gre_nh.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-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_nh.sh # 16.85 [+16.85] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 16.85 [+0.01] # 16.85 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 16.86 [+0.00] http://www.netsniff-ng.org # 16.86 [+0.00] # 16.86 [+0.00] Usage: mausezahn [options] [interface] || # 16.86 [+0.00] Options: # 16.86 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 16.86 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 16.87 [+0.00] -4 IPv4 mode (default) # 16.87 [+0.00] -6 IPv6 mode # 16.87 [+0.00] -R Set socket priority # 16.87 [+0.00] -c Send packet count times, default:1, infinite:0 # 16.87 [+0.00] -d Apply delay between transmissions. The delay value can be # 16.87 [+0.00] specified in usec (default, no additional unit needed), or in # 16.88 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 16.88 [+0.00] -r Multiplies the specified delay with a random value # 16.88 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 16.88 [+0.00] -a Use specified source mac address, no matter what has # 16.89 [+0.00] been specified with other arguments; keywords see below, # 16.89 [+0.00] Default is own interface # 16.89 [+0.00] -b Same with destination mac address; keywords: # 16.89 [+0.00] rand Use a random MAC address # 16.89 [+0.00] bc Use a broadcast MAC address # 16.89 [+0.00] own Use own interface MAC address (default for source MAC) # 16.90 [+0.00] stp Use IEEE 802.1d STP multicast address # 16.90 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 16.90 [+0.00] -A Use specified source IP address (default is own interface IP) # 16.90 [+0.00] -B Send packet to specified destination IP or domain name # 16.91 [+0.00] -P Use the specified ASCII payload # 16.91 [+0.00] -f Read the ASCII payload from a file # 16.91 [+0.00] -F Read the hexadecimal payload from a file # 16.91 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 16.91 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 16.92 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 16.92 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 16.92 [+0.00] encapsulations in lower layers, most packet types allow/require # 16.92 [+0.00] additional packet-specific arguments in an ; # 16.92 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 16.93 [+0.00] dns, rtp, syslog, lldp and more; # 16.93 [+0.00] For context-help use 'help' as ! # 16.93 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 16.93 [+0.00] Enter -T help or -T rtp help for further information # 16.94 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 16.94 [+0.00] -V|VV|... Verbose and more verbose mode # 16.94 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 16.94 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 16.94 [+0.00] typically combined with one of the verbose modes (v or V) # 16.95 [+0.00] -v Show version # 16.95 [+0.00] -h Print this help # 16.95 [+0.00] # 16.95 [+0.00] Examples: # 16.95 [+0.00] mausezahn -x 99 # 16.95 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 16.95 [+0.00] mausezahn -t cdp change -c 0 # 16.95 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 16.96 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 16.96 [+0.00] # 16.96 [+0.00] Note: # 16.96 [+0.00] This tool is targeted for network developers! You should # 16.96 [+0.00] be aware of what you are doing and what these options above # 16.96 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 16.96 [+0.00] # 16.96 [+0.00] Please report bugs to # 16.96 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 16.97 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 16.97 [+0.00] Swiss federal institute of technology (ETH Zurich) # 16.97 [+0.00] License: GNU GPL version 2.0 # 16.97 [+0.00] This is free software: you are free to change and redistribute it. # 16.97 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 16.97 [+0.00] # 18.56 [+1.59] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 18.56 [+0.01] # 18.56 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 18.57 [+0.00] http://www.netsniff-ng.org # 18.57 [+0.00] # 18.57 [+0.00] Usage: mausezahn [options] [interface] || # 18.57 [+0.00] Options: # 18.57 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 18.57 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 18.58 [+0.00] -4 IPv4 mode (default) # 18.58 [+0.00] -6 IPv6 mode # 18.58 [+0.00] -R Set socket priority # 18.58 [+0.00] -c Send packet count times, default:1, infinite:0 # 18.59 [+0.00] -d Apply delay between transmissions. The delay value can be # 18.59 [+0.00] specified in usec (default, no additional unit needed), or in # 18.59 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 18.59 [+0.00] -r Multiplies the specified delay with a random value # 18.60 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 18.60 [+0.00] -a Use specified source mac address, no matter what has # 18.60 [+0.00] been specified with other arguments; keywords see below, # 18.61 [+0.00] Default is own interface # 18.61 [+0.00] -b Same with destination mac address; keywords: # 18.61 [+0.00] rand Use a random MAC address # 18.61 [+0.00] bc Use a broadcast MAC address # 18.61 [+0.00] own Use own interface MAC address (default for source MAC) # 18.62 [+0.00] stp Use IEEE 802.1d STP multicast address # 18.62 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 18.62 [+0.00] -A Use specified source IP address (default is own interface IP) # 18.62 [+0.00] -B Send packet to specified destination IP or domain name # 18.63 [+0.00] -P Use the specified ASCII payload # 18.63 [+0.00] -f Read the ASCII payload from a file # 18.63 [+0.00] -F Read the hexadecimal payload from a file # 18.64 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 18.65 [+0.01] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 18.65 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 18.65 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 18.65 [+0.00] encapsulations in lower layers, most packet types allow/require # 18.66 [+0.00] additional packet-specific arguments in an ; # 18.66 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 18.66 [+0.00] dns, rtp, syslog, lldp and more; # 18.67 [+0.00] For context-help use 'help' as ! # 18.67 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 18.67 [+0.00] Enter -T help or -T rtp help for further information # 18.67 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 18.68 [+0.00] -V|VV|... Verbose and more verbose mode # 18.68 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 18.68 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 18.68 [+0.00] typically combined with one of the verbose modes (v or V) # 18.69 [+0.00] -v Show version # 18.69 [+0.00] -h Print this help # 18.69 [+0.00] # 18.69 [+0.00] Examples: # 18.69 [+0.00] mausezahn -x 99 # 18.69 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 18.69 [+0.00] mausezahn -t cdp change -c 0 # 18.69 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 18.69 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 18.70 [+0.00] # 18.70 [+0.00] Note: # 18.70 [+0.00] This tool is targeted for network developers! You should # 18.70 [+0.00] be aware of what you are doing and what these options above # 18.70 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 18.70 [+0.00] # 18.70 [+0.00] Please report bugs to # 18.70 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 18.71 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 18.71 [+0.00] Swiss federal institute of technology (ETH Zurich) # 18.71 [+0.00] License: GNU GPL version 2.0 # 18.71 [+0.00] This is free software: you are free to change and redistribute it. # 18.71 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 18.71 [+0.00] # 20.32 [+1.61] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 20.33 [+0.01] # 20.33 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 20.33 [+0.00] http://www.netsniff-ng.org # 20.33 [+0.00] # 20.33 [+0.00] Usage: mausezahn [options] [interface] || # 20.34 [+0.00] Options: # 20.34 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 20.34 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 20.34 [+0.00] -4 IPv4 mode (default) # 20.34 [+0.00] -6 IPv6 mode # 20.34 [+0.00] -R Set socket priority # 20.35 [+0.00] -c Send packet count times, default:1, infinite:0 # 20.35 [+0.00] -d Apply delay between transmissions. The delay value can be # 20.35 [+0.00] specified in usec (default, no additional unit needed), or in # 20.35 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 20.36 [+0.00] -r Multiplies the specified delay with a random value # 20.36 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 20.36 [+0.00] -a Use specified source mac address, no matter what has # 20.36 [+0.00] been specified with other arguments; keywords see below, # 20.37 [+0.00] Default is own interface # 20.37 [+0.00] -b Same with destination mac address; keywords: # 20.37 [+0.00] rand Use a random MAC address # 20.37 [+0.00] bc Use a broadcast MAC address # 20.37 [+0.00] own Use own interface MAC address (default for source MAC) # 20.38 [+0.00] stp Use IEEE 802.1d STP multicast address # 20.38 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 20.38 [+0.00] -A Use specified source IP address (default is own interface IP) # 20.38 [+0.00] -B Send packet to specified destination IP or domain name # 20.39 [+0.00] -P Use the specified ASCII payload # 20.39 [+0.00] -f Read the ASCII payload from a file # 20.39 [+0.00] -F Read the hexadecimal payload from a file # 20.39 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 20.40 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 20.40 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 20.40 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 20.40 [+0.00] encapsulations in lower layers, most packet types allow/require # 20.41 [+0.00] additional packet-specific arguments in an ; # 20.41 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 20.41 [+0.00] dns, rtp, syslog, lldp and more; # 20.41 [+0.00] For context-help use 'help' as ! # 20.42 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 20.42 [+0.00] Enter -T help or -T rtp help for further information # 20.42 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 20.42 [+0.00] -V|VV|... Verbose and more verbose mode # 20.43 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 20.43 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 20.43 [+0.00] typically combined with one of the verbose modes (v or V) # 20.43 [+0.00] -v Show version # 20.44 [+0.00] -h Print this help # 20.44 [+0.00] # 20.44 [+0.00] Examples: # 20.44 [+0.00] mausezahn -x 99 # 20.44 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 20.44 [+0.00] mausezahn -t cdp change -c 0 # 20.44 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 20.44 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 20.44 [+0.00] # 20.44 [+0.00] Note: # 20.45 [+0.00] This tool is targeted for network developers! You should # 20.45 [+0.00] be aware of what you are doing and what these options above # 20.45 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 20.45 [+0.00] # 20.45 [+0.00] Please report bugs to # 20.45 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 20.45 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 20.46 [+0.00] Swiss federal institute of technology (ETH Zurich) # 20.46 [+0.00] License: GNU GPL version 2.0 # 20.46 [+0.00] This is free software: you are free to change and redistribute it. # 20.46 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 20.46 [+0.00] # 22.09 [+1.63] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 22.09 [+0.01] # 22.09 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 22.10 [+0.00] http://www.netsniff-ng.org # 22.10 [+0.00] # 22.10 [+0.00] Usage: mausezahn [options] [interface] || # 22.10 [+0.00] Options: # 22.10 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 22.10 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 22.11 [+0.00] -4 IPv4 mode (default) # 22.11 [+0.00] -6 IPv6 mode # 22.11 [+0.00] -R Set socket priority # 22.11 [+0.00] -c Send packet count times, default:1, infinite:0 # 22.11 [+0.00] -d Apply delay between transmissions. The delay value can be # 22.12 [+0.00] specified in usec (default, no additional unit needed), or in # 22.12 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 22.12 [+0.00] -r Multiplies the specified delay with a random value # 22.12 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 22.13 [+0.00] -a Use specified source mac address, no matter what has # 22.13 [+0.00] been specified with other arguments; keywords see below, # 22.13 [+0.00] Default is own interface # 22.13 [+0.00] -b Same with destination mac address; keywords: # 22.14 [+0.00] rand Use a random MAC address # 22.14 [+0.00] bc Use a broadcast MAC address # 22.14 [+0.00] own Use own interface MAC address (default for source MAC) # 22.14 [+0.00] stp Use IEEE 802.1d STP multicast address # 22.14 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 22.15 [+0.00] -A Use specified source IP address (default is own interface IP) # 22.15 [+0.00] -B Send packet to specified destination IP or domain name # 22.15 [+0.00] -P Use the specified ASCII payload # 22.16 [+0.00] -f Read the ASCII payload from a file # 22.16 [+0.00] -F Read the hexadecimal payload from a file # 22.16 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 22.16 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 22.17 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 22.17 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 22.17 [+0.00] encapsulations in lower layers, most packet types allow/require # 22.17 [+0.00] additional packet-specific arguments in an ; # 22.18 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 22.18 [+0.00] dns, rtp, syslog, lldp and more; # 22.18 [+0.00] For context-help use 'help' as ! # 22.18 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 22.19 [+0.00] Enter -T help or -T rtp help for further information # 22.19 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 22.19 [+0.00] -V|VV|... Verbose and more verbose mode # 22.20 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 22.20 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 22.20 [+0.00] typically combined with one of the verbose modes (v or V) # 22.20 [+0.00] -v Show version # 22.21 [+0.00] -h Print this help # 22.21 [+0.00] # 22.21 [+0.00] Examples: # 22.21 [+0.00] mausezahn -x 99 # 22.21 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 22.21 [+0.00] mausezahn -t cdp change -c 0 # 22.21 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 22.21 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 22.22 [+0.00] # 22.22 [+0.00] Note: # 22.22 [+0.00] This tool is targeted for network developers! You should # 22.22 [+0.00] be aware of what you are doing and what these options above # 22.22 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 22.22 [+0.00] # 22.22 [+0.00] Please report bugs to # 22.23 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 22.23 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 22.23 [+0.00] Swiss federal institute of technology (ETH Zurich) # 22.23 [+0.00] License: GNU GPL version 2.0 # 22.23 [+0.00] This is free software: you are free to change and redistribute it. # 22.24 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 22.24 [+0.00] # 23.42 [+1.18] TEST: mirror to gre with next-hop remote [FAIL] # 23.43 [+0.01] Expected to capture == 10 packets, got 0. # 24.32 [+0.90] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 24.33 [+0.01] # 24.33 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 24.33 [+0.00] http://www.netsniff-ng.org # 24.33 [+0.00] # 24.33 [+0.00] Usage: mausezahn [options] [interface] || # 24.34 [+0.00] Options: # 24.34 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 24.34 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 24.34 [+0.00] -4 IPv4 mode (default) # 24.34 [+0.00] -6 IPv6 mode # 24.34 [+0.00] -R Set socket priority # 24.35 [+0.00] -c Send packet count times, default:1, infinite:0 # 24.35 [+0.00] -d Apply delay between transmissions. The delay value can be # 24.35 [+0.00] specified in usec (default, no additional unit needed), or in # 24.35 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 24.36 [+0.00] -r Multiplies the specified delay with a random value # 24.36 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 24.36 [+0.00] -a Use specified source mac address, no matter what has # 24.37 [+0.00] been specified with other arguments; keywords see below, # 24.37 [+0.00] Default is own interface # 24.37 [+0.00] -b Same with destination mac address; keywords: # 24.37 [+0.00] rand Use a random MAC address # 24.37 [+0.00] bc Use a broadcast MAC address # 24.38 [+0.00] own Use own interface MAC address (default for source MAC) # 24.38 [+0.00] stp Use IEEE 802.1d STP multicast address # 24.38 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 24.38 [+0.00] -A Use specified source IP address (default is own interface IP) # 24.39 [+0.00] -B Send packet to specified destination IP or domain name # 24.39 [+0.00] -P Use the specified ASCII payload # 24.39 [+0.00] -f Read the ASCII payload from a file # 24.39 [+0.00] -F Read the hexadecimal payload from a file # 24.40 [+0.01] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 24.41 [+0.01] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 24.41 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 24.41 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 24.41 [+0.00] encapsulations in lower layers, most packet types allow/require # 24.42 [+0.00] additional packet-specific arguments in an ; # 24.42 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 24.42 [+0.00] dns, rtp, syslog, lldp and more; # 24.42 [+0.00] For context-help use 'help' as ! # 24.42 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 24.43 [+0.00] Enter -T help or -T rtp help for further information # 24.43 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 24.43 [+0.00] -V|VV|... Verbose and more verbose mode # 24.43 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 24.44 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 24.44 [+0.00] typically combined with one of the verbose modes (v or V) # 24.44 [+0.00] -v Show version # 24.44 [+0.00] -h Print this help # 24.44 [+0.00] # 24.44 [+0.00] Examples: # 24.44 [+0.00] mausezahn -x 99 # 24.44 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 24.45 [+0.00] mausezahn -t cdp change -c 0 # 24.45 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 24.45 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 24.45 [+0.00] # 24.45 [+0.00] Note: # 24.45 [+0.00] This tool is targeted for network developers! You should # 24.45 [+0.00] be aware of what you are doing and what these options above # 24.45 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 24.46 [+0.00] # 24.46 [+0.00] Please report bugs to # 24.46 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 24.46 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 24.46 [+0.00] Swiss federal institute of technology (ETH Zurich) # 24.46 [+0.00] License: GNU GPL version 2.0 # 24.46 [+0.00] This is free software: you are free to change and redistribute it. # 24.47 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 24.47 [+0.00] # 25.92 [+1.45] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 25.93 [+0.00] # 25.93 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 25.93 [+0.00] http://www.netsniff-ng.org # 25.93 [+0.00] # 25.93 [+0.00] Usage: mausezahn [options] [interface] || # 25.93 [+0.01] Options: # 25.93 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 25.94 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 25.94 [+0.00] -4 IPv4 mode (default) # 25.94 [+0.00] -6 IPv6 mode # 25.94 [+0.00] -R Set socket priority # 25.94 [+0.00] -c Send packet count times, default:1, infinite:0 # 25.95 [+0.00] -d Apply delay between transmissions. The delay value can be # 25.95 [+0.00] specified in usec (default, no additional unit needed), or in # 25.95 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 25.95 [+0.00] -r Multiplies the specified delay with a random value # 25.96 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 25.96 [+0.00] -a Use specified source mac address, no matter what has # 25.96 [+0.00] been specified with other arguments; keywords see below, # 25.96 [+0.00] Default is own interface # 25.97 [+0.00] -b Same with destination mac address; keywords: # 25.97 [+0.00] rand Use a random MAC address # 25.97 [+0.00] bc Use a broadcast MAC address # 25.97 [+0.00] own Use own interface MAC address (default for source MAC) # 25.97 [+0.00] stp Use IEEE 802.1d STP multicast address # 25.98 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 25.98 [+0.00] -A Use specified source IP address (default is own interface IP) # 25.98 [+0.00] -B Send packet to specified destination IP or domain name # 25.98 [+0.00] -P Use the specified ASCII payload # 25.99 [+0.00] -f Read the ASCII payload from a file # 25.99 [+0.00] -F Read the hexadecimal payload from a file # 25.99 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 25.99 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 26.00 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 26.00 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 26.00 [+0.00] encapsulations in lower layers, most packet types allow/require # 26.00 [+0.00] additional packet-specific arguments in an ; # 26.01 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 26.01 [+0.00] dns, rtp, syslog, lldp and more; # 26.01 [+0.00] For context-help use 'help' as ! # 26.01 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 26.02 [+0.00] Enter -T help or -T rtp help for further information # 26.02 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 26.02 [+0.00] -V|VV|... Verbose and more verbose mode # 26.02 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 26.02 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 26.03 [+0.00] typically combined with one of the verbose modes (v or V) # 26.03 [+0.00] -v Show version # 26.03 [+0.00] -h Print this help # 26.03 [+0.00] # 26.03 [+0.00] Examples: # 26.03 [+0.00] mausezahn -x 99 # 26.03 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 26.03 [+0.00] mausezahn -t cdp change -c 0 # 26.04 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 26.04 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 26.04 [+0.00] # 26.04 [+0.00] Note: # 26.04 [+0.00] This tool is targeted for network developers! You should # 26.04 [+0.00] be aware of what you are doing and what these options above # 26.05 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 26.05 [+0.00] # 26.05 [+0.00] Please report bugs to # 26.05 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 26.05 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 26.05 [+0.00] Swiss federal institute of technology (ETH Zurich) # 26.05 [+0.00] License: GNU GPL version 2.0 # 26.06 [+0.00] This is free software: you are free to change and redistribute it. # 26.06 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 26.06 [+0.00] # 27.16 [+1.10] TEST: mirror to ip6gre with next-hop remote [FAIL] # 27.16 [+0.01] Expected to capture == 10 packets, got 0. not ok 1 selftests: net/forwarding: mirror_gre_nh.sh # exit=1 make[1]: Leaving directory '/home/virtme/testing/wt-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__->