Subversion Repositories ALCASAR

Rev

Rev 1452 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1452 Rev 1704
1
# Example of a simple configuration for ulogd with ALCASAR
1
# Example of a simple configuration for ulogd with ALCASAR
2
 
2
 
3
[global]
3
[global]
4
 
4
 
5
######################################################################
5
######################################################################
6
# GLOBAL OPTIONS
6
# GLOBAL OPTIONS
7
######################################################################
7
######################################################################
8
 
8
 
9
user="ulogd"
9
user="ulogd"
10
group="ulogd"
10
group="ulogd"
11
 
11
 
12
# logfile for status messages
12
# logfile for status messages
13
logfile="/var/log/ulogd/ulogd.log"
13
logfile="/var/log/ulogd/ulogd.log"
14
 
14
 
15
# loglevel: debug(1), info(3), notice(5), error(7) or fatal(8) (default 5)
15
# loglevel: debug(1), info(3), notice(5), error(7) or fatal(8) (default 5)
16
#loglevel=8
16
#loglevel=8
17
 
17
 
18
 
18
 
19
######################################################################
19
######################################################################
20
# PLUGIN OPTIONS
20
# PLUGIN OPTIONS
21
######################################################################
21
######################################################################
22
 
22
 
23
# We have to configure and load only the plugins we want to use
23
# We have to configure and load only the plugins we want to use
24
 
24
 
25
# general rules:
25
# general rules:
26
# 1. load the plugins _first_ from the global section
26
# 1. load the plugins _first_ from the global section
27
# 2. options for each plugin in seperate section below
27
# 2. options for each plugin in seperate section below
28
 
28
 
29
plugin="/usr/lib64/ulogd/ulogd_inppkt_ULOG.so"
29
plugin="/usr/lib64/ulogd/ulogd_inppkt_NFLOG.so"
30
plugin="/usr/lib64/ulogd/ulogd_filter_IFINDEX.so"
30
plugin="/usr/lib64/ulogd/ulogd_filter_IFINDEX.so"
31
plugin="/usr/lib64/ulogd/ulogd_filter_IP2STR.so"
31
plugin="/usr/lib64/ulogd/ulogd_filter_IP2STR.so"
32
plugin="/usr/lib64/ulogd/ulogd_filter_PRINTPKT.so"
32
plugin="/usr/lib64/ulogd/ulogd_filter_PRINTPKT.so"
33
plugin="/usr/lib64/ulogd/ulogd_filter_PRINTFLOW.so"
33
plugin="/usr/lib64/ulogd/ulogd_filter_PRINTFLOW.so"
34
plugin="/usr/lib64/ulogd/ulogd_output_LOGEMU.so"
34
plugin="/usr/lib64/ulogd/ulogd_output_LOGEMU.so"
35
plugin="/usr/lib64/ulogd/ulogd_raw2packet_BASE.so"
35
plugin="/usr/lib64/ulogd/ulogd_raw2packet_BASE.so"
36
 
36
 
37
# this is a stack for ULOG packet-based logging via LOGEMU
37
# this is a stack for ULOG packet-based logging via LOGEMU
38
stack=ulog1:ULOG,base1:BASE,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
38
stack=log1:NFLOG,base1:BASE,ifil:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
39
 
39
 
40
[ulog1]
40
[log1]
41
nlgroup=CHANGEVALUE
41
group=CHANGEVALUE
42
 
42