[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ulogd
Subject:    [ulogd] [PATCH] ulogd.conf
From:       Magnus Boden <sarek () ozaba ! cx>
Date:       2003-04-26 20:44:37
[Download RAW message or body]

Hello,

This patch fixes so the pathes in ulogd.conf matches what you gave to 
configure..

Regards
Magnus

diff -Nru ulogd-1.00/Makefile.in ulogd-1.00.new/Makefile.in
--- ulogd-1.00/Makefile.in	2003-01-13 14:36:59.000000000 +0100
+++ ulogd-1.00.new/Makefile.in	2003-04-24 22:38:01.000000000 +0200
@@ -31,12 +31,17 @@
 recurse: 
 	@for d in $(SUBDIRS); do if ! make -C $$d; then exit 1; fi; done
 
-ulogd: ulogd.c $(LIBIPULOG) include/ulogd/ulogd.h conffile/conffile.o \
$(LIBIPULOG)/libipulog.a +ulogd: ulogd.c $(LIBIPULOG) include/ulogd/ulogd.h \
conffile/conffile.o $(LIBIPULOG)/libipulog.a ulogd.conf  $(CC) $(CFLAGS) -rdynamic $< \
conffile/conffile.o $(LIBIPULOG)/libipulog.a -o $@ $(LIBS)  
+edit = sed -e 's,@libdir\@,$(ULOGD_LIB_PATH),g'
+
+ulogd.conf: ulogd.conf.in
+	$(edit) ulogd.conf.in > ulogd.conf
+
 clean:
 #	rm -f ulogd *.o extensions/*.o extensions/*.so conffile/*.o
-	rm -f ulogd ulogd.o
+	rm -f ulogd ulogd.o ulogd.conf
 	@for d in $(SUBDIRS); do if ! make -C $$d $@; then exit 1; fi; done
 
 distclean: clean
diff -Nru ulogd-1.00/ulogd.conf ulogd-1.00.new/ulogd.conf
--- ulogd-1.00/ulogd.conf	2002-07-30 09:15:54.000000000 +0200
+++ ulogd-1.00.new/ulogd.conf	1970-01-01 01:00:00.000000000 +0100
@@ -1,82 +0,0 @@
-# Example configuration for ulogd
-# $Id: ulogd.conf,v 1.8 2002/07/30 07:15:54 laforge Exp $
-#
-
-######################################################################
-# GLOBAL OPTIONS
-######################################################################
-
-# netlink multicast group (the same as the iptables --ulog-nlgroup param)
-nlgroup 1
-
-# logfile for status messages
-logfile /var/log/ulogd.log
-
-# loglevel: debug(1), info(3), notice(5), error(7) or fatal(8)
-loglevel 5
-
-# libipulog receive buffer size (should be at least the size of the
-# in-kernel buffer (ipt_ULOG.o 'nlbufsiz' parameter)
-bufsize 65535
-
-######################################################################
-# PLUGIN OPTIONS
-######################################################################
-
-# We have to configure and load all the plugins we want to use
-
-# general rules:
-# 1. specify the options FIRST, then load the plugin
-# 2. interpreter plugins have to precede output plugins
-
-
-#
-# ulogd_BASE.so - interpreter plugin for basic IPv4 header fields
-# 		  you will always need this
-plugin /usr/local/lib/ulogd/ulogd_BASE.so
-
-
-#
-# ulogd_LOGEMU.so - simple syslog emulation target
-#
-# where to write to
-syslogfile /var/log/ulogd.syslogemu
-# do we want to fflush() the file after each write?
-syslogsync 1
-# load the plugin
-plugin /usr/local/lib/ulogd/ulogd_LOGEMU.so
-
-
-# 
-# ulogd_OPRINT.so: file for packet dumping
-#
-# where to write the log
-dumpfile /var/log/ulogd.pktlog
-# load the plugin (remove the '#'if you want to enable it
-#plugin /usr/local/lib/ulogd/ulogd_OPRINT.so
-
-
-#
-# ulogd_MYSQL.so: optional logging into a MySQL database
-#
-# database information
-mysqltable ulog
-mysqlpass changeme
-mysqluser laforge
-mysqldb ulogd
-mysqlhost localhost
-# load the plugin (remove the '#' if you want to enable it)
-#plugin /usr/local/lib/ulogd/ulogd_MYSQL.so
-
-
-#
-# ulogd_PGSQL.so: optional logging into a PostgreSQL database
-#
-# database information
-pgsqltable ulog
-pgsqlpass
-pgsqluser postgres
-pgsqldb ulogd
-pgsqlhost localhost
-#load the plugin (remove the '#' if you want to enable it)
-#plugin /usr/local/lib/ulogd/ulogd_PGSQL.so
diff -Nru ulogd-1.00/ulogd.conf.in ulogd-1.00.new/ulogd.conf.in
--- ulogd-1.00/ulogd.conf.in	1970-01-01 01:00:00.000000000 +0100
+++ ulogd-1.00.new/ulogd.conf.in	2003-04-24 22:35:34.000000000 +0200
@@ -0,0 +1,86 @@
+# Example configuration for ulogd
+# $Id: ulogd.conf,v 1.8 2002/07/30 07:15:54 laforge Exp $
+#
+
+######################################################################
+# GLOBAL OPTIONS
+######################################################################
+
+# netlink multicast group (the same as the iptables --ulog-nlgroup param)
+nlgroup 1
+
+# logfile for status messages
+logfile /var/log/ulogd.log
+
+# loglevel: debug(1), info(3), notice(5), error(7) or fatal(8)
+loglevel 5
+
+# libipulog receive buffer size (should be at least the size of the
+# in-kernel buffer (ipt_ULOG.o 'nlbufsiz' parameter)
+bufsize 65535
+
+######################################################################
+# PLUGIN OPTIONS
+######################################################################
+
+# We have to configure and load all the plugins we want to use
+
+# general rules:
+# 1. specify the options FIRST, then load the plugin
+# 2. interpreter plugins have to precede output plugins
+
+
+#
+# ulogd_BASE.so - interpreter plugin for basic IPv4 header fields
+# 		  you will always need this
+plugin @libdir@/ulogd_BASE.so
+
+
+#
+# ulogd_LOGEMU.so - simple syslog emulation target
+#
+# where to write to
+syslogfile /var/log/ulogd.syslogemu
+# do we want to fflush() the file after each write?
+syslogsync 1
+# load the plugin
+plugin @libdir@/ulogd_LOGEMU.so
+
+
+# 
+# ulogd_OPRINT.so: file for packet dumping
+#
+# where to write the log
+dumpfile /var/log/ulogd.pktlog
+# load the plugin (remove the '#'if you want to enable it
+#plugin @libdir@/ulogd_OPRINT.so
+
+
+#
+# ulogd_MYSQL.so: optional logging into a MySQL database
+#
+# database information
+mysqltable ulog
+mysqlpass changeme
+mysqluser laforge
+mysqldb ulogd
+mysqlhost localhost
+# load the plugin (remove the '#' if you want to enable it)
+#plugin @libdir@/ulogd_MYSQL.so
+
+
+#
+# ulogd_PGSQL.so: optional logging into a PostgreSQL database
+#
+# database information
+pgsqltable ulog
+pgsqlpass
+pgsqluser postgres
+pgsqldb ulogd
+pgsqlhost localhost
+#load the plugin (remove the '#' if you want to enable it)
+#plugin @libdir@/ulogd_PGSQL.so
+
+pcapfile /var/log/ulogd.pcap
+pcapsync 1
+#plugin @libdir@/ulogd_PCAP.so


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic