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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
8
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
9 #ifdef HAVE_CONFIG_H
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
10 #include <config.h>
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
11 #endif
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
12
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
13 #include <stdio.h>
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
14 #include <unistd.h>
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
15 #include <regex.h>
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
16 #include <sys/types.h>
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
17 #include <sys/stat.h>
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
18 #include <fstream>
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
19 #include <map>
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
20 #include <list>
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
21 #include <set>
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
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
d76f9ff42487 initial coding
carl
parents: 8
diff changeset
25
1
551433a01cab initial coding
carl
parents:
diff changeset
26 #include "tokenizer.h"
551433a01cab initial coding
carl
parents:
diff changeset
27 #include "syslogconfig.h"
551433a01cab initial coding
carl
parents:
diff changeset
28 #include "syslog2iptables.h"