changeset 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 e11f99e10957
children 7438f79afeb0
files ChangeLog NEWS configure.in dnsbl.spec.in src/dnsbl.cpp tld.conf
diffstat 6 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Dec 19 10:17:42 2013 -0800
+++ b/ChangeLog	Tue Dec 24 08:17:47 2013 -0800
@@ -1,3 +1,6 @@
+6.38 2013-12-24
+    Activate check for unique ip connection limits.
+
 6.37 2013-12-17
     Add unique ip connection limits per authenticated id or email address.
 
--- a/NEWS	Thu Dec 19 10:17:42 2013 -0800
+++ b/NEWS	Tue Dec 24 08:17:47 2013 -0800
@@ -1,3 +1,4 @@
+6.38 2013-12-24 Activate check for unique ip connection limits.
 6.37 2013-12-17 Add unique ip connection limits per authenticated id or email address.
 6.36 2013-09-09 Code cleanup, increase minimum hostname length for uribl checking.
 6.35 2013-09-09 Use mozilla prefix list for tld checking. Enable surbl/uribl/dbl rhs lists.
--- a/configure.in	Thu Dec 19 10:17:42 2013 -0800
+++ b/configure.in	Tue Dec 24 08:17:47 2013 -0800
@@ -1,6 +1,6 @@
 
 AC_PREREQ(2.59)
-AC_INIT(dnsbl,6.37,carl@five-ten-sg.com)
+AC_INIT(dnsbl,6.38,carl@five-ten-sg.com)
 AC_CONFIG_SRCDIR([config.h.in])
 AC_CONFIG_HEADER([config.h])
 
--- a/dnsbl.spec.in	Thu Dec 19 10:17:42 2013 -0800
+++ b/dnsbl.spec.in	Tue Dec 24 08:17:47 2013 -0800
@@ -103,6 +103,9 @@
 
 
 %changelog
+* Tue Dec 24 2013 Carl Byington <carl@five-ten-sg.com> - 6.38-1
+- Activate check for unique ip connection limits.
+
 * Tue Dec 17 2013 Carl Byington <carl@five-ten-sg.com> - 6.37-1
 - Add unique ip connection limits per authenticated id or email address.
 
--- 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;
             }
         }
     }
--- a/tld.conf	Thu Dec 19 10:17:42 2013 -0800
+++ b/tld.conf	Tue Dec 24 08:17:47 2013 -0800
@@ -1,4 +1,4 @@
-// generated by make-tld-conf.py on 2013-12-12 08:31:06
+// generated by make-tld-conf.py on 2013-12-24 08:10:29
 
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this