diff maltfilter @ 74:e8fbe7cd65a7 maltfilter-0.17.1

v0.17.1
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 27 Aug 2009 00:32:44 +0300
parents adb4795f451e
children 4769aad8bd14
line wrap: on
line diff
--- a/maltfilter	Thu Aug 27 00:31:33 2009 +0300
+++ b/maltfilter	Thu Aug 27 00:32:44 2009 +0300
@@ -12,7 +12,7 @@
 use Net::DNS;
 use LWP::UserAgent;
 
-my $progversion = "0.17.0";
+my $progversion = "0.17.1";
 my $progbanner =
 "Malicious Attack Livid Termination Filter daemon (maltfilter) v$progversion\n".
 "Programmed by Matti 'ccr' Hamalainen <ccr\@tnsp.org>\n".
@@ -533,8 +533,8 @@
   my $entries = 0;
   while (my ($ip, $entry) = each(%dronebl)) {
     if ($entry->{"sent"} == 0 && $entry->{"tries"} < 3) {
-      $xml .= "<add ip=\"".$ip."\" type=\"".$entry->{"type"}."\" />\n";
-#      $xml .= "<add ip=\"".$ip."\" type=\"1\" />\n";
+#      $xml .= "<add ip=\"".$ip."\" type=\"".$entry->{"type"}."\" />\n";
+      $xml .= "<add ip=\"".$ip."\" type=\"1\" />\n";
       $entries++;
     }
   }