From: /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org Date: Wed, 9 Apr 2008 13:58:36 +0000 (+0000) Subject: This patch adds some example to the default configuration file. It modify X-Git-Tag: ulogd-2.0.0beta2~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9112e0e3ef2263e6afb6d970f98f11d51261203b;p=thirdparty%2Fulogd2.git This patch adds some example to the default configuration file. It modify some stack to take my latest patches into account. Signed-off-by: Eric Leblond --- diff --git a/ulogd.conf.in b/ulogd.conf.in index ff46146..867525c 100644 --- a/ulogd.conf.in +++ b/ulogd.conf.in @@ -42,7 +42,8 @@ plugin="@libdir@/ulogd/ulogd_filter_PRINTPKT.so" plugin="@libdir@/ulogd/ulogd_filter_PRINTFLOW.so" plugin="@libdir@/ulogd/ulogd_output_LOGEMU.so" plugin="@libdir@/ulogd/ulogd_output_SYSLOG.so" -plugin="@libdir@/ulogd/ulogd_output_OPRINT.so" +#plugin="@libdir@/ulogd/ulogd_output_OPRINT.so" +#plugin="@libdir@/ulogd/ulogd_output_NACCT.so" #plugin="@libdir@/ulogd/ulogd_output_PCAP.so" #plugin="@libdir@/ulogd/ulogd_output_PGSQL.so" #plugin="@libdir@/ulogd/ulogd_output_MYSQL.so" @@ -61,7 +62,7 @@ plugin="@libdir@/ulogd/ulogd_raw2packet_BASE.so" #stack=ulog1:ULOG,base1:BASE,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU # this is a stack for flow-based logging via LOGEMU -#stack=ct1:NFCT,print1:PRINTFLOW,emu1:LOGEMU +#stack=ct1:NFCT,ip2str1:IP2STR,print1:PRINTFLOW,emu1:LOGEMU # this is a stack for flow-based logging via OPRINT #stack=ct1:NFCT,op1:OPRINT @@ -81,6 +82,9 @@ plugin="@libdir@/ulogd/ulogd_raw2packet_BASE.so" # this is a stack for flow-based logging to MySQL #stack=ct1:NFCT,ip2bin1:IP2BIN,mysql2:MYSQL +# this is a stack for flow-based logging in NACCT compatible format +#stack=ct1:NFCT,ip2str1:IP2STR,nacct1:NACCT + [ct1] # IPv4 logging through NFLOG @@ -131,3 +135,6 @@ procedure="INSERT_PACKET_FULL" [sys2] facility=LOG_LOCAL2 + +[nacct1] +sync = 1