1375 |
richard |
1 |
# Example of a simple configuration for ulogd with ALCASAR
|
|
|
2 |
|
|
|
3 |
[global]
|
|
|
4 |
######################################################################
|
|
|
5 |
# GLOBAL OPTIONS
|
|
|
6 |
######################################################################
|
|
|
7 |
|
|
|
8 |
# netlink multicast group (the same as the iptables --ulog-nlgroup param)
|
|
|
9 |
nlgroup=1
|
|
|
10 |
|
|
|
11 |
# logfile for status messages
|
|
|
12 |
logfile="/var/log/ulogd.log"
|
|
|
13 |
|
|
|
14 |
# loglevel: debug(1), info(3), notice(5), error(7) or fatal(8)
|
|
|
15 |
loglevel=5
|
|
|
16 |
|
|
|
17 |
# socket receive buffer size (should be at least the size of the
|
|
|
18 |
# in-kernel buffer (ipt_ULOG.o 'nlbufsiz' parameter)
|
|
|
19 |
rmem=131071
|
|
|
20 |
|
|
|
21 |
# libipulog/ulogd receive buffer size, should be > rmem
|
|
|
22 |
bufsize=150000
|
|
|
23 |
|
|
|
24 |
######################################################################
|
|
|
25 |
# PLUGIN OPTIONS
|
|
|
26 |
######################################################################
|
|
|
27 |
|
|
|
28 |
# We have to configure and load only the plugins we want to use
|
|
|
29 |
|
|
|
30 |
# general rules:
|
|
|
31 |
# 1. load the plugins _first_ from the global section
|
|
|
32 |
# 2. options for each plugin in seperate section below
|
|
|
33 |
|
|
|
34 |
# ulogd_BASE.so - interpreter plugin for basic IPv4 header fields
|
|
|
35 |
plugin="/usr/lib64/ulogd/ulogd_BASE.so"
|
|
|
36 |
|
|
|
37 |
# output plugins.
|
|
|
38 |
plugin="/usr/lib64/ulogd/ulogd_LOGEMU.so"
|
|
|
39 |
|