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 # 15.94 [+15.94] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 15.95 [+0.01] # 15.95 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 15.95 [+0.00] http://www.netsniff-ng.org # 15.95 [+0.00] # 15.95 [+0.00] Usage: mausezahn [options] [interface] || # 15.95 [+0.00] Options: # 15.95 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 15.96 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 15.96 [+0.00] -4 IPv4 mode (default) # 15.96 [+0.00] -6 IPv6 mode # 15.96 [+0.00] -R Set socket priority # 15.96 [+0.00] -c Send packet count times, default:1, infinite:0 # 15.96 [+0.00] -d Apply delay between transmissions. The delay value can be # 15.97 [+0.00] specified in usec (default, no additional unit needed), or in # 15.97 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 15.97 [+0.00] -r Multiplies the specified delay with a random value # 15.97 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 15.98 [+0.00] -a Use specified source mac address, no matter what has # 15.98 [+0.00] been specified with other arguments; keywords see below, # 15.98 [+0.00] Default is own interface # 15.98 [+0.00] -b Same with destination mac address; keywords: # 15.98 [+0.00] rand Use a random MAC address # 15.98 [+0.00] bc Use a broadcast MAC address # 15.99 [+0.00] own Use own interface MAC address (default for source MAC) # 15.99 [+0.00] stp Use IEEE 802.1d STP multicast address # 16.00 [+0.01] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 16.01 [+0.01] -A Use specified source IP address (default is own interface IP) # 16.01 [+0.00] -B Send packet to specified destination IP or domain name # 16.01 [+0.00] -P Use the specified ASCII payload # 16.01 [+0.00] -f Read the ASCII payload from a file # 16.01 [+0.00] -F Read the hexadecimal payload from a file # 16.02 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 16.02 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 16.02 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 16.02 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 16.03 [+0.00] encapsulations in lower layers, most packet types allow/require # 16.03 [+0.00] additional packet-specific arguments in an ; # 16.03 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 16.03 [+0.00] dns, rtp, syslog, lldp and more; # 16.03 [+0.00] For context-help use 'help' as ! # 16.04 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 16.04 [+0.00] Enter -T help or -T rtp help for further information # 16.04 [+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.05 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 16.05 [+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.06 [+0.00] mausezahn -x 99 # 16.06 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 16.06 [+0.00] mausezahn -t cdp change -c 0 # 16.06 [+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.07 [+0.00] be aware of what you are doing and what these options above # 16.07 [+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.08 [+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.52 [+1.44] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 17.53 [+0.00] # 17.53 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 17.53 [+0.00] http://www.netsniff-ng.org # 17.53 [+0.00] # 17.53 [+0.00] Usage: mausezahn [options] [interface] || # 17.53 [+0.00] Options: # 17.53 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 17.53 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 17.54 [+0.00] -4 IPv4 mode (default) # 17.54 [+0.00] -6 IPv6 mode # 17.54 [+0.00] -R Set socket priority # 17.54 [+0.00] -c Send packet count times, default:1, infinite:0 # 17.54 [+0.00] -d Apply delay between transmissions. The delay value can be # 17.54 [+0.00] specified in usec (default, no additional unit needed), or in # 17.55 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 17.55 [+0.00] -r Multiplies the specified delay with a random value # 17.55 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 17.55 [+0.00] -a Use specified source mac address, no matter what has # 17.56 [+0.00] been specified with other arguments; keywords see below, # 17.56 [+0.00] Default is own interface # 17.56 [+0.00] -b Same with destination mac address; keywords: # 17.56 [+0.00] rand Use a random MAC address # 17.56 [+0.00] bc Use a broadcast MAC address # 17.56 [+0.00] own Use own interface MAC address (default for source MAC) # 17.57 [+0.00] stp Use IEEE 802.1d STP multicast address # 17.57 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 17.57 [+0.00] -A Use specified source IP address (default is own interface IP) # 17.57 [+0.00] -B Send packet to specified destination IP or domain name # 17.57 [+0.00] -P Use the specified ASCII payload # 17.58 [+0.00] -f Read the ASCII payload from a file # 17.58 [+0.00] -F Read the hexadecimal payload from a file # 17.58 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 17.58 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 17.58 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 17.59 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 17.59 [+0.00] encapsulations in lower layers, most packet types allow/require # 17.59 [+0.00] additional packet-specific arguments in an ; # 17.59 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 17.60 [+0.00] dns, rtp, syslog, lldp and more; # 17.60 [+0.00] For context-help use 'help' as ! # 17.60 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 17.60 [+0.00] Enter -T help or -T rtp help for further information # 17.60 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 17.61 [+0.00] -V|VV|... Verbose and more verbose mode # 17.61 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 17.61 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 17.61 [+0.00] typically combined with one of the verbose modes (v or V) # 17.61 [+0.00] -v Show version # 17.62 [+0.00] -h Print this help # 17.62 [+0.00] # 17.62 [+0.00] Examples: # 17.62 [+0.00] mausezahn -x 99 # 17.62 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 17.62 [+0.00] mausezahn -t cdp change -c 0 # 17.62 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 17.62 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 17.62 [+0.00] # 17.62 [+0.00] Note: # 17.62 [+0.00] This tool is targeted for network developers! You should # 17.63 [+0.00] be aware of what you are doing and what these options above # 17.63 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 17.63 [+0.00] # 17.63 [+0.00] Please report bugs to # 17.63 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 17.63 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 17.63 [+0.00] Swiss federal institute of technology (ETH Zurich) # 17.64 [+0.00] License: GNU GPL version 2.0 # 17.64 [+0.00] This is free software: you are free to change and redistribute it. # 17.64 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 17.64 [+0.00] # 19.30 [+1.66] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 19.30 [+0.00] # 19.30 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 19.31 [+0.00] http://www.netsniff-ng.org # 19.31 [+0.00] # 19.31 [+0.00] Usage: mausezahn [options] [interface] || # 19.31 [+0.00] Options: # 19.31 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 19.31 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 19.32 [+0.00] -4 IPv4 mode (default) # 19.32 [+0.00] -6 IPv6 mode # 19.32 [+0.00] -R Set socket priority # 19.32 [+0.00] -c Send packet count times, default:1, infinite:0 # 19.32 [+0.00] -d Apply delay between transmissions. The delay value can be # 19.33 [+0.00] specified in usec (default, no additional unit needed), or in # 19.33 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 19.33 [+0.00] -r Multiplies the specified delay with a random value # 19.33 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 19.33 [+0.00] -a Use specified source mac address, no matter what has # 19.34 [+0.00] been specified with other arguments; keywords see below, # 19.34 [+0.00] Default is own interface # 19.34 [+0.00] -b Same with destination mac address; keywords: # 19.34 [+0.00] rand Use a random MAC address # 19.34 [+0.00] bc Use a broadcast MAC address # 19.35 [+0.00] own Use own interface MAC address (default for source MAC) # 19.35 [+0.00] stp Use IEEE 802.1d STP multicast address # 19.35 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 19.35 [+0.00] -A Use specified source IP address (default is own interface IP) # 19.35 [+0.00] -B Send packet to specified destination IP or domain name # 19.36 [+0.00] -P Use the specified ASCII payload # 19.36 [+0.00] -f Read the ASCII payload from a file # 19.36 [+0.00] -F Read the hexadecimal payload from a file # 19.36 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 19.37 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 19.37 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 19.37 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 19.37 [+0.00] encapsulations in lower layers, most packet types allow/require # 19.38 [+0.00] additional packet-specific arguments in an ; # 19.38 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 19.38 [+0.00] dns, rtp, syslog, lldp and more; # 19.38 [+0.00] For context-help use 'help' as ! # 19.39 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 19.39 [+0.00] Enter -T help or -T rtp help for further information # 19.39 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 19.39 [+0.00] -V|VV|... Verbose and more verbose mode # 19.39 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 19.40 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 19.40 [+0.00] typically combined with one of the verbose modes (v or V) # 19.40 [+0.00] -v Show version # 19.40 [+0.00] -h Print this help # 19.40 [+0.00] # 19.40 [+0.00] Examples: # 19.40 [+0.00] mausezahn -x 99 # 19.40 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 19.41 [+0.00] mausezahn -t cdp change -c 0 # 19.41 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 19.41 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 19.41 [+0.00] # 19.41 [+0.00] Note: # 19.41 [+0.00] This tool is targeted for network developers! You should # 19.41 [+0.00] be aware of what you are doing and what these options above # 19.41 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 19.42 [+0.00] # 19.42 [+0.00] Please report bugs to # 19.42 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 19.42 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 19.42 [+0.00] Swiss federal institute of technology (ETH Zurich) # 19.42 [+0.00] License: GNU GPL version 2.0 # 19.43 [+0.00] This is free software: you are free to change and redistribute it. # 19.43 [+0.01] There is NO WARRANTY, to the extent permitted by law. # 19.44 [+0.00] # 21.00 [+1.56] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 21.00 [+0.01] # 21.00 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 21.00 [+0.00] http://www.netsniff-ng.org # 21.00 [+0.00] # 21.00 [+0.00] Usage: mausezahn [options] [interface] || # 21.01 [+0.00] Options: # 21.01 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 21.01 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 21.01 [+0.00] -4 IPv4 mode (default) # 21.01 [+0.00] -6 IPv6 mode # 21.01 [+0.00] -R Set socket priority # 21.01 [+0.00] -c Send packet count times, default:1, infinite:0 # 21.02 [+0.00] -d Apply delay between transmissions. The delay value can be # 21.02 [+0.00] specified in usec (default, no additional unit needed), or in # 21.02 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 21.02 [+0.00] -r Multiplies the specified delay with a random value # 21.03 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 21.03 [+0.00] -a Use specified source mac address, no matter what has # 21.03 [+0.00] been specified with other arguments; keywords see below, # 21.03 [+0.00] Default is own interface # 21.03 [+0.00] -b Same with destination mac address; keywords: # 21.04 [+0.00] rand Use a random MAC address # 21.04 [+0.00] bc Use a broadcast MAC address # 21.04 [+0.00] own Use own interface MAC address (default for source MAC) # 21.04 [+0.00] stp Use IEEE 802.1d STP multicast address # 21.04 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 21.04 [+0.00] -A Use specified source IP address (default is own interface IP) # 21.05 [+0.00] -B Send packet to specified destination IP or domain name # 21.05 [+0.00] -P Use the specified ASCII payload # 21.05 [+0.00] -f Read the ASCII payload from a file # 21.05 [+0.00] -F Read the hexadecimal payload from a file # 21.05 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 21.06 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 21.06 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 21.06 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 21.06 [+0.00] encapsulations in lower layers, most packet types allow/require # 21.07 [+0.00] additional packet-specific arguments in an ; # 21.07 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 21.07 [+0.00] dns, rtp, syslog, lldp and more; # 21.07 [+0.00] For context-help use 'help' as ! # 21.07 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 21.08 [+0.00] Enter -T help or -T rtp help for further information # 21.08 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 21.08 [+0.00] -V|VV|... Verbose and more verbose mode # 21.08 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 21.08 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 21.09 [+0.00] typically combined with one of the verbose modes (v or V) # 21.09 [+0.00] -v Show version # 21.09 [+0.00] -h Print this help # 21.09 [+0.00] # 21.09 [+0.00] Examples: # 21.09 [+0.00] mausezahn -x 99 # 21.09 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 21.09 [+0.00] mausezahn -t cdp change -c 0 # 21.09 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 21.10 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 21.10 [+0.00] # 21.10 [+0.00] Note: # 21.10 [+0.00] This tool is targeted for network developers! You should # 21.10 [+0.00] be aware of what you are doing and what these options above # 21.10 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 21.10 [+0.00] # 21.10 [+0.00] Please report bugs to # 21.11 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 21.11 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 21.11 [+0.00] Swiss federal institute of technology (ETH Zurich) # 21.11 [+0.00] License: GNU GPL version 2.0 # 21.11 [+0.00] This is free software: you are free to change and redistribute it. # 21.11 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 21.11 [+0.00] # 22.30 [+1.19] TEST: mirror to gre with next-hop remote [FAIL] # 22.31 [+0.01] Expected to capture == 10 packets, got 0. # 23.30 [+0.99] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 23.30 [+0.01] # 23.30 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 23.31 [+0.00] http://www.netsniff-ng.org # 23.31 [+0.00] # 23.31 [+0.00] Usage: mausezahn [options] [interface] || # 23.31 [+0.00] Options: # 23.31 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 23.31 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 23.32 [+0.00] -4 IPv4 mode (default) # 23.32 [+0.00] -6 IPv6 mode # 23.32 [+0.00] -R Set socket priority # 23.32 [+0.00] -c Send packet count times, default:1, infinite:0 # 23.32 [+0.00] -d Apply delay between transmissions. The delay value can be # 23.32 [+0.00] specified in usec (default, no additional unit needed), or in # 23.33 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 23.33 [+0.00] -r Multiplies the specified delay with a random value # 23.33 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 23.33 [+0.00] -a Use specified source mac address, no matter what has # 23.34 [+0.00] been specified with other arguments; keywords see below, # 23.34 [+0.00] Default is own interface # 23.34 [+0.00] -b Same with destination mac address; keywords: # 23.34 [+0.00] rand Use a random MAC address # 23.34 [+0.00] bc Use a broadcast MAC address # 23.34 [+0.00] own Use own interface MAC address (default for source MAC) # 23.35 [+0.00] stp Use IEEE 802.1d STP multicast address # 23.35 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 23.35 [+0.00] -A Use specified source IP address (default is own interface IP) # 23.35 [+0.00] -B Send packet to specified destination IP or domain name # 23.35 [+0.00] -P Use the specified ASCII payload # 23.36 [+0.00] -f Read the ASCII payload from a file # 23.36 [+0.00] -F Read the hexadecimal payload from a file # 23.36 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 23.36 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 23.36 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 23.37 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 23.37 [+0.00] encapsulations in lower layers, most packet types allow/require # 23.37 [+0.00] additional packet-specific arguments in an ; # 23.37 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 23.38 [+0.00] dns, rtp, syslog, lldp and more; # 23.38 [+0.00] For context-help use 'help' as ! # 23.38 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 23.38 [+0.00] Enter -T help or -T rtp help for further information # 23.38 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 23.39 [+0.00] -V|VV|... Verbose and more verbose mode # 23.39 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 23.39 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 23.39 [+0.00] typically combined with one of the verbose modes (v or V) # 23.39 [+0.00] -v Show version # 23.39 [+0.00] -h Print this help # 23.40 [+0.00] # 23.40 [+0.00] Examples: # 23.40 [+0.00] mausezahn -x 99 # 23.40 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 23.40 [+0.00] mausezahn -t cdp change -c 0 # 23.40 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 23.40 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 23.40 [+0.00] # 23.40 [+0.00] Note: # 23.40 [+0.00] This tool is targeted for network developers! You should # 23.41 [+0.00] be aware of what you are doing and what these options above # 23.41 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 23.41 [+0.00] # 23.41 [+0.00] Please report bugs to # 23.41 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 23.41 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 23.41 [+0.00] Swiss federal institute of technology (ETH Zurich) # 23.41 [+0.00] License: GNU GPL version 2.0 # 23.42 [+0.00] This is free software: you are free to change and redistribute it. # 23.42 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 23.42 [+0.00] # 25.04 [+1.62] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 25.04 [+0.01] # 25.04 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 25.05 [+0.00] http://www.netsniff-ng.org # 25.05 [+0.00] # 25.05 [+0.00] Usage: mausezahn [options] [interface] || # 25.05 [+0.00] Options: # 25.05 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 25.05 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 25.06 [+0.00] -4 IPv4 mode (default) # 25.06 [+0.00] -6 IPv6 mode # 25.06 [+0.00] -R Set socket priority # 25.06 [+0.00] -c Send packet count times, default:1, infinite:0 # 25.06 [+0.00] -d Apply delay between transmissions. The delay value can be # 25.07 [+0.00] specified in usec (default, no additional unit needed), or in # 25.07 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 25.07 [+0.00] -r Multiplies the specified delay with a random value # 25.08 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 25.08 [+0.01] -a Use specified source mac address, no matter what has # 25.10 [+0.02] been specified with other arguments; keywords see below, # 25.11 [+0.00] Default is own interface # 25.11 [+0.00] -b Same with destination mac address; keywords: # 25.11 [+0.00] rand Use a random MAC address # 25.11 [+0.00] bc Use a broadcast MAC address # 25.11 [+0.00] own Use own interface MAC address (default for source MAC) # 25.12 [+0.00] stp Use IEEE 802.1d STP multicast address # 25.12 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 25.12 [+0.00] -A Use specified source IP address (default is own interface IP) # 25.13 [+0.00] -B Send packet to specified destination IP or domain name # 25.13 [+0.00] -P Use the specified ASCII payload # 25.13 [+0.00] -f Read the ASCII payload from a file # 25.13 [+0.00] -F Read the hexadecimal payload from a file # 25.14 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 25.14 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 25.14 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 25.15 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 25.15 [+0.00] encapsulations in lower layers, most packet types allow/require # 25.15 [+0.00] additional packet-specific arguments in an ; # 25.15 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 25.16 [+0.00] dns, rtp, syslog, lldp and more; # 25.16 [+0.00] For context-help use 'help' as ! # 25.16 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 25.17 [+0.00] Enter -T help or -T rtp help for further information # 25.17 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 25.17 [+0.00] -V|VV|... Verbose and more verbose mode # 25.17 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 25.18 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 25.18 [+0.00] typically combined with one of the verbose modes (v or V) # 25.18 [+0.00] -v Show version # 25.19 [+0.00] -h Print this help # 25.19 [+0.00] # 25.19 [+0.00] Examples: # 25.19 [+0.00] mausezahn -x 99 # 25.19 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 25.19 [+0.00] mausezahn -t cdp change -c 0 # 25.19 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 25.19 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 25.20 [+0.00] # 25.20 [+0.00] Note: # 25.20 [+0.00] This tool is targeted for network developers! You should # 25.20 [+0.00] be aware of what you are doing and what these options above # 25.20 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 25.20 [+0.00] # 25.20 [+0.00] Please report bugs to # 25.21 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 25.21 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 25.21 [+0.00] Swiss federal institute of technology (ETH Zurich) # 25.21 [+0.00] License: GNU GPL version 2.0 # 25.21 [+0.00] This is free software: you are free to change and redistribute it. # 25.22 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 25.22 [+0.00] # 26.12 [+0.91] TEST: mirror to ip6gre with next-hop remote [FAIL] # 26.13 [+0.00] Expected to capture == 10 packets, got 0. not ok 1 selftests: net/forwarding: mirror_gre_nh.sh # exit=1 make[1]: Leaving directory '/home/virtme/testing/wt-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__->