]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/suricata/convert-snort
convert-snort: Adjust code to use changed modify_sids_file function.
[people/pmueller/ipfire-2.x.git] / config / suricata / convert-snort
index 83931fa5b984b7a70f9073d2f361a812e28a62f1..5ed36954f3a337c715745e79b23eb746bbff8e6e 100644 (file)
@@ -196,18 +196,8 @@ if (-f $guardian_meta) {
 ## Step 5: Generate and write the file to modify the ruleset.
 #
 
-# Converters default is to only monitor the traffic, so set the IDS action to
-# "alert".
-my $IDS_action = "alert";
-
-# Check if the traffic only should be monitored.
-if ($idssettings{"MONITOR_TRAFFIC_ONLY"} eq "off") {
-       # Swith IDS action to alert only.
-       $IDS_action = "drop";
-}
-
 # Call subfunction and pass the desired IDS action.
-&IDS::write_modify_sids_file($IDS_action);
+&IDS::write_modify_sids_file();
 
 # Set correct ownership.
 &IDS::set_ownership("$IDS::modify_sids_file");