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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
# -*- perl -*-
# Only attempt OpenSSL-specific tests when compiled with the library.
# Reading the secret(s) from a file does not work with Capsicum.
$testlist = [
# EAP tests
{
config_set => 'ENABLE_SMB',
name => 'eapon1',
input => 'eapon1.pcap',
output => 'eapon1.out',
},
{
config_unset => 'ENABLE_SMB',
name => 'eapon1-nosmb',
input => 'eapon1.pcap',
output => 'eapon1-nosmb.out',
},
{
config_set => 'ENABLE_SMB',
name => 'eapon1-v',
input => 'eapon1.pcap',
output => 'eapon1-v.out',
args => '-v'
},
{
config_unset => 'ENABLE_SMB',
name => 'eapon1-v-nosmb',
input => 'eapon1.pcap',
output => 'eapon1-v-nosmb.out',
args => '-v'
},
# IPX/Netware packets
{
config_set => 'ENABLE_SMB',
name => 'ipx',
input => 'ipx.pcap',
output => 'ipx.out',
},
{
config_unset => 'ENABLE_SMB',
name => 'ipx-nosmb',
input => 'ipx.pcap',
output => 'ipx-nosmb.out',
},
# bad packets from Otto Airamo and Antti Levomäki
{
config_set => 'ENABLE_SMB',
name => 'nbns-valgrind',
input => 'nbns-valgrind.pcap',
output => 'nbns-valgrind.out',
args => '-vvv -e',
},
{
config_unset => 'ENABLE_SMB',
name => 'nbns-valgrind-nosmb',
input => 'nbns-valgrind.pcap',
output => 'nbns-valgrind-nosmb.out',
args => '-vvv -e',
},
# bad packets from Junjie Wang
{
config_set => 'ENABLE_SMB',
name => 'smb_print_trans-oobr1',
input => 'smb_print_trans-oobr1.pcap',
output => 'smb_print_trans-oobr1.out',
args => '-vv',
},
{
config_unset => 'ENABLE_SMB',
name => 'smb_print_trans-oobr1-nosmb',
input => 'smb_print_trans-oobr1.pcap',
output => 'smb_print_trans-oobr1-nosmb.out',
args => '-vv',
},
# bad packets from Philippe Antoine
{
config_set => 'ENABLE_SMB',
name => 'smb_print_trans-oobr2',
input => 'smb_print_trans-oobr2.pcap',
output => 'smb_print_trans-oobr2.out',
args => '-vv',
},
{
config_unset => 'ENABLE_SMB',
name => 'smb_print_trans-oobr2-nosmb',
input => 'smb_print_trans-oobr2.pcap',
output => 'smb_print_trans-oobr2-nosmb.out',
args => '-vv',
},
# bad packets from Luis Rocha
{
config_set => 'ENABLE_SMB',
name => 'smb_data_print-oobr',
input => 'smb_data_print-oobr.pcapng',
output => 'smb_data_print-oobr.out',
args => '-vv',
},
{
config_unset => 'ENABLE_SMB',
name => 'smb_data_print-oobr-nosmb',
input => 'smb_data_print-oobr.pcapng',
output => 'smb_data_print-oobr-nosmb.out',
args => '-vv',
},
{
config_set => 'ENABLE_SMB',
name => 'smb_data_print-segv',
input => 'smb_data_print-segv.pcap',
output => 'smb_data_print-segv.out',
args => '-vv',
},
{
config_unset => 'ENABLE_SMB',
name => 'smb_data_print-segv-nosmb',
input => 'smb_data_print-segv.pcap',
output => 'smb_data_print-segv-nosmb.out',
args => '-vv',
},
];
1;
|