diff src/syslogconfig.h @ 63:60f59936fabb

good authentication prevents ip blocking for awhile
author Carl Byington <carl@five-ten-sg.com>
date Sat, 19 Dec 2015 10:12:24 -0800
parents b45dddebe8fc
children c6c8a2102a3e
line wrap: on
line diff
--- a/src/syslogconfig.h	Sat Oct 04 10:21:40 2014 -0700
+++ b/src/syslogconfig.h	Sat Dec 19 10:12:24 2015 -0800
@@ -21,7 +21,8 @@
     const char *    pattern;    // owned by the string table
     regex_t         re;
     int             index;      // zero based substring of the regex match that contains the ip address or hostname
-    int             amount;     // count to add to the ip address leaky bucket
+    int             amount;     // if positive, count to add to the ip address leaky bucket;
+                                //   if negative count to set into the ip address leaky bucket
     const char *    message;    // for logging, owned by the string table
 public:
     ~PATTERN();