diff --git a/p4app/sniff-host.sh b/bin/sniff-host.sh similarity index 100% rename from p4app/sniff-host.sh rename to bin/sniff-host.sh diff --git a/bin/sniff-intf.sh b/bin/sniff-intf.sh new file mode 100755 index 0000000..9f699e1 --- /dev/null +++ b/bin/sniff-intf.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +if [ $# -ne 2 ]; then + echo "$0 intf name" + exit 1 +fi + +set -x +cd ~/master-thesis/pcap + +intf=$1 +name=$2 + +now=$(date +%F-%H%M) +filename=${name}-${now}-${intf}.pcap + +sudo tcpdump -ni ${intf} -w "${filename}" diff --git a/netpfga/ping_ipv6_addresses.sh b/netpfga/ping_ipv6_addresses.sh new file mode 100755 index 0000000..42c25c1 --- /dev/null +++ b/netpfga/ping_ipv6_addresses.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +set -x + +read=yes +if [ $# -ge 1 ]; then + read="" +fi + +for addr in $(seq 1 8); do + ip=2001:db8:42::$addr + echo "Next to ping: ${ip}" + if [ "$read" ]; then + read dummy + fi + ping6 -c1 "$ip" +done diff --git a/pcap/netfpga-ping6-2019-07-28-1203-enp2s0f0.pcap b/pcap/netfpga-ping6-2019-07-28-1203-enp2s0f0.pcap new file mode 100644 index 0000000..4f9600e Binary files /dev/null and b/pcap/netfpga-ping6-2019-07-28-1203-enp2s0f0.pcap differ diff --git a/pcap/netfpga-ping6-2019-07-28-1203-enp2s0f1.pcap b/pcap/netfpga-ping6-2019-07-28-1203-enp2s0f1.pcap new file mode 100644 index 0000000..188faa4 Binary files /dev/null and b/pcap/netfpga-ping6-2019-07-28-1203-enp2s0f1.pcap differ