freebsd-skq/contrib/tcpdump/tests/esp1.sh
2006-09-04 20:04:42 +00:00

14 lines
287 B
Bash

#!/bin/sh
uudecode 02-sunrise-sunset-esp.puu
echo -n test esp1...
../tcpdump -t -n -E "0x12345678@192.1.2.45 3des-cbc-hmac96:0x4043434545464649494a4a4c4c4f4f515152525454575758" -r 02-sunrise-sunset-esp.pcap >esp1.new
if diff esp1.new esp1.out
then
echo passed.
else
echo failed.
fi