All of lore.kernel.org
 help / color / mirror / Atom feed
* [ULOGD PATCH 9/9] Update config file to be in sync with latest modifications.
@ 2008-05-19 22:31 Eric Leblond
  2008-06-02  0:00 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Leblond @ 2008-05-19 22:31 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Eric Leblond

This patch adds some examples to the configuration file.

Signed-off-by: Eric Leblond <eric@inl.fr>
---
 ulogd.conf.in |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/ulogd.conf.in b/ulogd.conf.in
index be5e585..ca1334b 100644
--- a/ulogd.conf.in
+++ b/ulogd.conf.in
@@ -83,6 +83,13 @@ 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 to PGSQL
+#stack=ct1:NFCT,ip2str1:IP2STR,pgsql2:PGSQL
+
+# this is a stack for flow-based logging to PGSQL without local hash
+#stack=ct1:NFCT,ip2str1:IP2STR,pgsql3:PGSQL
+
+
 # this is a stack for flow-based logging in NACCT compatible format
 #stack=ct1:NFCT,ip2str1:IP2STR,nacct1:NACCT
 
@@ -90,6 +97,11 @@ plugin="@libdir@/ulogd/ulogd_raw2packet_BASE.so"
 #netlink_socket_buffer_size=217088
 #netlink_socket_buffer_maxsize=1085440
 
+[ct2]
+#netlink_socket_buffer_size=217088
+#netlink_socket_buffer_maxsize=1085440
+hash_enable=0
+
 # IPv4 logging through NFLOG
 [log1]
 # netlink multicast group (the same as the iptables --nflog-group param)
@@ -132,6 +144,14 @@ table="ulog"
 pass="changeme"
 procedure="INSERT_PACKET_FULL"
 
+[mysql2]
+db="nulog"
+host="localhost"
+user="nupik"
+table="ulog"
+pass="changeme"
+procedure="INSERT_CT"
+
 [pgsql1]
 db="nulog"
 host="localhost"
@@ -140,6 +160,22 @@ table="ulog"
 pass="changeme"
 procedure="INSERT_PACKET_FULL"
 
+[pgsql2]
+db="nulog"
+host="localhost"
+user="nupik"
+table="ulog2_ct"
+pass="changeme"
+procedure="INSERT_CT"
+
+[pgsql3]
+db="nulog"
+host="localhost"
+user="nupik"
+table="ulog2_ct"
+pass="changeme"
+procedure="INSERT_OR_REPLACE_CT"
+
 [sys2]
 facility=LOG_LOCAL2
 
-- 
1.5.4.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-02  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-19 22:31 [ULOGD PATCH 9/9] Update config file to be in sync with latest modifications Eric Leblond
2008-06-02  0:00 ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.