Lots of changes. In no particular order:
[distributedratelimiting.git] / ulogd.conf.in
1 # Example configuration for ulogd
2 # $Id: ulogd.conf.in 5267 2005-02-19 21:33:43Z laforge $
3 #
4
5 [global]
6 ######################################################################
7 # GLOBAL OPTIONS
8 ######################################################################
9
10 # netlink multicast group (the same as the iptables --ulog-nlgroup param)
11 nlgroup=1
12
13 # logfile for status messages
14 logfile="/var/log/ulogd.log"
15
16 # loglevel: debug(1), info(3), notice(5), error(7) or fatal(8)
17 loglevel=5
18
19 # socket receive buffer size (should be at least the size of the
20 # in-kernel buffer (ipt_ULOG.o 'nlbufsiz' parameter)
21 rmem=131071
22
23 # libipulog/ulogd receive buffer size, should be > rmem
24 bufsize=150000
25
26 ######################################################################
27 # PLUGIN OPTIONS
28 ######################################################################
29
30 # We have to configure and load all the plugins we want to use
31
32 # general rules:
33 # 1. load the plugins _first_ from the global section
34 # 2. options for each plugin in seperate section below
35
36
37 #
38 # ulogd_BASE.so - interpreter plugin for basic IPv4 header fields
39 #                 you will always need this
40 plugin="@libdir@/ulogd_BASE.so"
41
42
43 # load the plugin (remove the '#'if you want to enable it
44 #plugin="@libdir@/ulogd_NETFLOW.so"
45
46 # output plugins. 
47 #plugin="@libdir@/ulogd_LOGEMU.so"
48 #plugin="@libdir@/ulogd_OPRINT.so"
49 #plugin="@libdir@/ulogd_MYSQL.so"
50 #plugin="@libdir@/ulogd_PGSQL.so"
51 #plugin="@libdir@/ulogd_SQLITE3.so"
52 #plugin="@libdir@/ulogd_PCAP.so"
53
54 plugin="@libdir@/ulogd_DRL.so"
55 [DRL]
56 # nodelimit is the administrative limit for the node
57 # It will never go above this rate, even if capacity is
58 # available.  A value of 0 means unlimited.
59 nodelimit=0
60
61 # Leave this at FPS right now...
62 policy=FPS
63
64 # Smallest interval at which identities are processed.
65 estintms=500
66
67 # Log file location.
68 drl_logfile="/var/log/drl.log"
69
70 # The verbosity of the DRL logfile. 1 = most verbose,
71 # 3 = errors only.
72 drl_loglevel 2
73
74 # Location of the DRL xml configuration file.
75 drl_configfile="/etc/drl.xml"
76
77
78 [NETFLOW]
79 # PlanetLab NetFlow logging
80 # dump interval in minutes
81 interval=5
82
83 # CSV dump
84 csv="/var/www/html/flows.csv"
85
86 # database information
87 #mysqlpass changeme
88 #mysqluser="netflow"
89 #mysqldb="netflow"
90 #mysqlhost localhost
91
92 # slice map
93 slicemap="/etc/passwd"
94
95 [LOGEMU]
96 file="/var/log/ulogd/ulogd.syslogemu"
97 sync=1
98
99 [OPRINT]
100 file="/var/log/ulogd/ulogd.pktlog"
101
102 [MYSQL]
103 table="ulog"
104 pass="changeme"
105 user="laforge"
106 db="ulogd"
107 host="localhost"
108
109 [PGSQL]
110 table="ulog"
111 schema="public"
112 pass="changeme"
113 user="postgres"
114 db="ulogd"
115 host="localhost"
116
117 [SQLITE3]
118 table="ulog"
119 db="/path/to/sqlite/db"
120 buffer=200
121
122 [PCAP]
123 file="/var/log/ulogd/ulogd.pcap"
124 sync=1
125