Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis
This commit is contained in:
commit
854260984e
5 changed files with 34 additions and 0 deletions
17
bin/sniff-intf.sh
Executable file
17
bin/sniff-intf.sh
Executable file
|
@ -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}"
|
17
netpfga/ping_ipv6_addresses.sh
Executable file
17
netpfga/ping_ipv6_addresses.sh
Executable file
|
@ -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
|
BIN
pcap/netfpga-ping6-2019-07-28-1203-enp2s0f0.pcap
Normal file
BIN
pcap/netfpga-ping6-2019-07-28-1203-enp2s0f0.pcap
Normal file
Binary file not shown.
BIN
pcap/netfpga-ping6-2019-07-28-1203-enp2s0f1.pcap
Normal file
BIN
pcap/netfpga-ping6-2019-07-28-1203-enp2s0f1.pcap
Normal file
Binary file not shown.
Loading…
Reference in a new issue