Patch is attached On Thursday 10 April 2008 18:09, Eric Leblond wrote: > > Maybe it's worth to add this line into a sample > > ulogd.conf to avoid stupid questions from newbees like > > me :) > > Just send to the ML a patch to ulogd.conf.in with these > modifications ;)
diff -Naur ulogd2/ulogd.conf.in ulogd2-doc/ulogd.conf.in --- ulogd2/ulogd.conf.in 2008-04-12 13:02:50.000000000 +0500 +++ ulogd2-doc/ulogd.conf.in 2008-04-12 13:04:40.000000000 +0500 @@ -39,6 +39,7 @@ plugin="@libdir@/ulogd/ulogd_filter_IP2STR.so" 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_output_LOGEMU.so" plugin="@libdir@/ulogd/ulogd_output_SYSLOG.so" @@ -74,7 +75,7 @@ #stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2bin1:IP2BIN,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,pgsql1:PGSQL +#stack=log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,mac2str1:MAC2STR,pgsql1:PGSQL # this is a stack for logging ebtables packets to syslog after a collect via NFLOG #stack=log3:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,sys1:SYSLOG