1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
# -*- perl -*-
# Only attempt OpenSSL-specific tests when compiled with the library.
# Reading the secret(s) from a file does not work with Capsicum.
$testlist = [
{
config_set => 'HAVE_LIBCRYPTO',
name => 'esp1',
input => '02-sunrise-sunset-esp.pcap',
output => 'esp1.out',
args => '-E "0x12345678@192.1.2.45 3des-cbc-hmac96:0x4043434545464649494a4a4c4c4f4f515152525454575758"'
},
{
config_set => 'HAVE_LIBCRYPTO',
name => 'esp2',
input => '08-sunrise-sunset-esp2.pcap',
output => 'esp2.out',
args => '-E "0x12345678@192.1.2.45 3des-cbc-hmac96:0x43434545464649494a4a4c4c4f4f51515252545457575840,0xabcdabcd@192.0.1.1 3des-cbc-hmac96:0x434545464649494a4a4c4c4f4f5151525254545757584043"'
},
{
config_set => 'HAVE_LIBCRYPTO',
name => 'esp3',
input => '02-sunrise-sunset-esp.pcap',
output => 'esp1.out',
args => '-E "3des-cbc-hmac96:0x4043434545464649494a4a4c4c4f4f515152525454575758"',
},
{
config_set => 'HAVE_LIBCRYPTO',
config_unset => 'HAVE_CAPSICUM',
name => 'esp4',
input => '08-sunrise-sunset-esp2.pcap',
output => 'esp2.out',
args => '-E "file @TESTDIR@/esp-secrets.txt"',
},
{
config_set => 'HAVE_LIBCRYPTO',
config_unset => 'HAVE_CAPSICUM',
name => 'esp5',
input => '08-sunrise-sunset-aes.pcap',
output => 'esp5.out',
args => '-E "file @TESTDIR@/esp-secrets.txt"',
},
{
config_set => 'HAVE_LIBCRYPTO',
config_unset => 'HAVE_CAPSICUM',
name => 'espudp1',
input => 'espudp1.pcap',
output => 'espudp1.out',
args => '-E "file @TESTDIR@/esp-secrets.txt"',
},
{
config_set => 'HAVE_LIBCRYPTO',
config_unset => 'HAVE_CAPSICUM',
name => 'ikev2pI2',
input => 'ikev2pI2.pcap',
output => 'ikev2pI2.out',
args => '-v -v -v -v -E "file @TESTDIR@/ikev2pI2-secrets.txt"',
},
{
config_set => 'HAVE_LIBCRYPTO',
config_unset => 'HAVE_CAPSICUM',
name => 'isakmp4',
input => 'isakmp4500.pcap',
output => 'isakmp4.out',
args => '-E "file @TESTDIR@/esp-secrets.txt"',
},
#bgp-as-path-oobr-ssl ${testsdir}/bgp-as-path-oobr.pcap ${testsdir}/bgp-as-path-oobr-ssl.out '-vvv -e'
{
config_set => 'HAVE_LIBCRYPTO',
name => 'bgp-as-path-oobr-ssl',
input => 'bgp-as-path-oobr.pcap',
output => 'bgp-as-path-oobr-ssl.out',
args => '-vvv -e'
},
# bgp-aigp-oobr-ssl ${testsdir}/bgp-aigp-oobr.pcap ${testsdir}/bgp-aigp-oobr-ssl.out '-vvv -e'
{
config_set => 'HAVE_LIBCRYPTO',
name => 'bgp-aigp-oobr-ssl',
input => 'bgp-aigp-oobr.pcap',
output => 'bgp-aigp-oobr-ssl.out',
args => '-vvv -e'
},
# bgp-as-path-oobr-nossl ${testsdir}/bgp-as-path-oobr.pcap ${testsdir}/bgp-as-path-oobr-nossl.out '-vvv -e'
{
config_unset => 'HAVE_LIBCRYPTO',
name => 'bgp-as-path-oobr-nossl',
input => 'bgp-as-path-oobr.pcap',
output => 'bgp-as-path-oobr-nossl.out',
args => '-vvv -e'
},
# bgp-aigp-oobr-nossl ${testsdir}/bgp-aigp-oobr.pcap ${testsdir}/bgp-aigp-oobr-nossl.out '-vvv -e'
{
config_unset => 'HAVE_LIBCRYPTO',
name => 'bgp-aigp-oobr-nossl',
input => 'bgp-aigp-oobr.pcap',
output => 'bgp-aigp-oobr-nossl.out',
args => '-vvv -e'
},
];
1;
|