Permalink
Browse files

[test suite] added --analysis-write-data to psad test command line

  • Loading branch information...
1 parent 6684533 commit 8018338cd7668da7447fc5e106f4ae2285a972bf @mrash committed Dec 15, 2012
Showing with 17 additions and 17 deletions.
  1. +17 −17 test/test-psad.pl
View
@@ -230,7 +230,7 @@
qr/192\.168\.10\.55/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$syn_scan_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -246,7 +246,7 @@
qr/192\.168\.10\.55/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$ms_sql_server_sig_match_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -262,7 +262,7 @@
qr/SRC\:.*2001\:DB8\:0\:F101\:\:2/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$ipv6_ms_sql_server_sig_match_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -275,7 +275,7 @@
qr/SQL\sServer\scommunication/i],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$ms_sql_server_sig_match_file " .
"--signatures $no_ms_sql_server_sig_match_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
@@ -289,7 +289,7 @@
qr/SQL\sServer\scommunication/i],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$ipv6_ms_sql_server_sig_match_file " .
"--signatures $no_ms_sql_server_sig_match_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
@@ -307,7 +307,7 @@
qr/192\.168\.10\.55/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$fin_scan_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -323,7 +323,7 @@
qr/192\.168\.10\.55/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$xmas_scan_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -338,7 +338,7 @@
qr/192\.168\.10\.55/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$null_scan_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -353,7 +353,7 @@
qr/192\.168\.10\.55/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$proto_scan_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -369,7 +369,7 @@
qr/192\.168\.10\.55/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$ack_scan_file -c $enable_ack_detection_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -384,7 +384,7 @@
qr/192\.168\.10\.55/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$udp_scan_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -755,7 +755,7 @@
qr/SRC\:.*2001\:DB8\:0\:F101\:\:2/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$ipv6_connect_scan_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -768,7 +768,7 @@
qr/SRC\:.*2001\:DB8\:0\:F101\:\:2/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$ipv6_ping_scan_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -782,7 +782,7 @@
qr/SRC\:.*2001\:DB8\:0\:F101\:\:2/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$ipv6_invalid_icmp6_type_code_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -796,7 +796,7 @@
qr/SRC\:\s+192.168.10.55/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$ipv4_valid_ping -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -811,7 +811,7 @@
qr/SRC\:\s+192.168.10.55/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$ipv4_invalid_icmp6_type_code_file -c $default_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO
@@ -825,7 +825,7 @@
'negative_output_matches' => [qr/SRC\:.*2001\:DB8\:0\:F101\:\:2/],
'match_all' => $MATCH_ALL_RE,
'function' => \&generic_exec,
- 'cmdline' => "$psadCmd --test-mode -A -m $scans_dir/" .
+ 'cmdline' => "$psadCmd --test-mode -A --analysis-write-data -m $scans_dir/" .
&fw_type() . "/$ipv6_connect_scan_file -c $disable_ipv6_conf $normal_root_override_str",
'exec_err' => $NO,
'fatal' => $NO

0 comments on commit 8018338

Please sign in to comment.