summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/tests/esp2.sh
blob: 18a70833e05f22816ce17d0e2353eb21d7c1da3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

uudecode 08-sunrise-sunset-esp2.puu

echo -n test esp2...
../tcpdump -t -n -E "0x12345678@192.1.2.45 3des-cbc-hmac96:0x43434545464649494a4a4c4c4f4f51515252545457575840,0xabcdabcd@192.0.1.1 3des-cbc-hmac96:0x434545464649494a4a4c4c4f4f5151525254545757584043" -r 08-sunrise-sunset-esp2.pcap >esp2.new
if diff esp2.new esp2.out
then
	echo passed.
else
	echo failed.
fi

OpenPOWER on IntegriCloud