Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis

This commit is contained in:
Nico Schottelius 2019-07-28 12:13:30 +02:00
commit 854260984e
5 changed files with 34 additions and 0 deletions

17
bin/sniff-intf.sh Executable file
View 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
View 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

Binary file not shown.

Binary file not shown.