Mercurial > syslog2iptables
annotate src/includes.h @ 58:b45dddebe8fc
Add exponential increase in penalty for repeat offenders
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 10 Jun 2014 08:48:53 -0700 |
parents | ba0259c9e411 |
children |
rev | line source |
---|---|
48
ba0259c9e411
Fixes to compile on Fedora 9 and for const correctness
Carl Byington <carl@five-ten-sg.com>
parents:
9
diff
changeset
|
1 /* |
ba0259c9e411
Fixes to compile on Fedora 9 and for const correctness
Carl Byington <carl@five-ten-sg.com>
parents:
9
diff
changeset
|
2 |
ba0259c9e411
Fixes to compile on Fedora 9 and for const correctness
Carl Byington <carl@five-ten-sg.com>
parents:
9
diff
changeset
|
3 Copyright (c) 2007 Carl Byington - 510 Software Group, released under |
ba0259c9e411
Fixes to compile on Fedora 9 and for const correctness
Carl Byington <carl@five-ten-sg.com>
parents:
9
diff
changeset
|
4 the GPL version 3 or any later version at your choice available at |
ba0259c9e411
Fixes to compile on Fedora 9 and for const correctness
Carl Byington <carl@five-ten-sg.com>
parents:
9
diff
changeset
|
5 http://www.gnu.org/licenses/gpl-3.0.txt |
ba0259c9e411
Fixes to compile on Fedora 9 and for const correctness
Carl Byington <carl@five-ten-sg.com>
parents:
9
diff
changeset
|
6 |
ba0259c9e411
Fixes to compile on Fedora 9 and for const correctness
Carl Byington <carl@five-ten-sg.com>
parents:
9
diff
changeset
|
7 */ |
9 | 8 |
9 #ifdef HAVE_CONFIG_H | |
10 #include <config.h> | |
11 #endif | |
12 | |
13 #include <stdio.h> | |
14 #include <unistd.h> | |
15 #include <regex.h> | |
16 #include <sys/types.h> | |
17 #include <sys/stat.h> | |
18 #include <fstream> | |
19 #include <map> | |
20 #include <list> | |
21 #include <set> | |
22 #include <ctype.h> | |
48
ba0259c9e411
Fixes to compile on Fedora 9 and for const correctness
Carl Byington <carl@five-ten-sg.com>
parents:
9
diff
changeset
|
23 #include <string.h> |
ba0259c9e411
Fixes to compile on Fedora 9 and for const correctness
Carl Byington <carl@five-ten-sg.com>
parents:
9
diff
changeset
|
24 #include <stdlib.h> |
9 | 25 |
1 | 26 #include "tokenizer.h" |
27 #include "syslogconfig.h" | |
28 #include "syslog2iptables.h" |