summaryrefslogtreecommitdiffstats
path: root/ulogd.conf.in
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2008-06-12 11:15:58 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-06-12 11:15:58 +0200
commit45499c285e455cb748c7bc85f759682022fc295f (patch)
treebcbf84e8c60e4e1655b146289dd69eb5b4bd0aae /ulogd.conf.in
parent2ea1541ce5bd9ca035d13a5ec778c555b9cb2069 (diff)
Update configfile for MARK module
Add stack example for MARK and update some wrong stacks. Signed-off-by: Eric Leblond <eric@inl.fr>
Diffstat (limited to 'ulogd.conf.in')
-rw-r--r--ulogd.conf.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/ulogd.conf.in b/ulogd.conf.in
index ca1334b..a32234d 100644
--- a/ulogd.conf.in
+++ b/ulogd.conf.in
@@ -41,6 +41,7 @@ plugin="@libdir@/ulogd/ulogd_filter_IP2BIN.so"
plugin="@libdir@/ulogd/ulogd_filter_PRINTPKT.so"
plugin="@libdir@/ulogd/ulogd_filter_MAC2STR.so"
plugin="@libdir@/ulogd/ulogd_filter_PRINTFLOW.so"
+#plugin="@libdir@/ulogd/ulogd_filter_MARK.so"
plugin="@libdir@/ulogd/ulogd_output_LOGEMU.so"
plugin="@libdir@/ulogd/ulogd_output_SYSLOG.so"
#plugin="@libdir@/ulogd/ulogd_output_OPRINT.so"
@@ -62,6 +63,9 @@ plugin="@libdir@/ulogd/ulogd_raw2packet_BASE.so"
# this is a stack for ULOG packet-based logging via LOGEMU
#stack=ulog1:ULOG,base1:BASE,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
+# this is a stack for IPv4 packet-based logging via LOGEMU with filtering on MARK
+#stack=log1:NFLOG,mark1:MARK,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
+
# this is a stack for flow-based logging via LOGEMU
#stack=ct1:NFCT,ip2str1:IP2STR,print1:PRINTFLOW,emu1:LOGEMU
@@ -72,7 +76,7 @@ plugin="@libdir@/ulogd/ulogd_raw2packet_BASE.so"
#stack=log1:NFLOG,base1:BASE,pcap1:PCAP
# this is a stack for logging packet to MySQL
-#stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2bin1:IP2BIN,mysql1:MYSQL
+#stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2bin1:IP2BIN,mac2str1:MAC2STR,mysql1:MYSQL
# this is a stack for logging IPv6 packet to PGsql after a collect via NFLOG
#stack=log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,mac2str1:MAC2STR,pgsql1:PGSQL
@@ -181,3 +185,6 @@ facility=LOG_LOCAL2
[nacct1]
sync = 1
+
+[mark1]
+mark = 1