diff src/dnsbl.cpp @ 282:e276180647ab stable-6-0-38

Activate check for unique ip connection limits
author Carl Byington <carl@five-ten-sg.com>
date Tue, 24 Dec 2013 08:17:47 -0800
parents 2b77295fb9a7
children 896b9393d3f0
line wrap: on
line diff
--- a/src/dnsbl.cpp	Thu Dec 19 10:17:42 2013 -0800
+++ b/src/dnsbl.cpp	Tue Dec 24 08:17:47 2013 -0800
@@ -1189,8 +1189,8 @@
                 my_syslog(&priv, msg);
             }
             if ((hourly > h_limit) || (daily > d_limit)){
-                //smfi_setreply(ctx, (char*)"550", (char*)"5.7.1", (char*)"unique connection address limit exceeded");
-                //return SMFIS_REJECT;
+                smfi_setreply(ctx, (char*)"550", (char*)"5.7.1", (char*)"unique connection ip address limit exceeded");
+                return SMFIS_REJECT;
             }
         }
     }