kernel:
X queue the logging in the kernel and send multiple packets in one
multipart nlmsg
-- add timer to flush queue in user-defineable time intervals
+X add timer to flush queue in user-defineable time intervals
- IPv6 ULOG target
ulogd:
X MYSQL output plugin
X syslog compatibility output plugin
- autoconf-detection of ipt_ULOG.h
-- _fini() support for plugin destructors (needed for clean shutdown and
+X _fini() support for plugin destructors (needed for clean shutdown and
SIGHUP configfile reload
X commandline option for "to fork or not to fork"
X various command line options (we don't even have --version)
-/* ulogd, Version $Revision: 1.26 $
+/* ulogd, Version $Revision: 1.27 $
*
- * $Id: ulogd.c,v 1.26 2002/07/30 07:04:12 laforge Exp $
+ * $Id: ulogd.c,v 1.27 2002/07/30 07:15:54 laforge Exp $
*
* userspace logging daemon for the netfilter ULOG target
* of the linux 2.4 netfilter subsystem.
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: ulogd.c,v 1.26 2002/07/30 07:04:12 laforge Exp $
+ * $Id: ulogd.c,v 1.27 2002/07/30 07:15:54 laforge Exp $
*
* Modifications:
* 14 Jun 2001 Martin Josefsson <gandalf@wlug.westbo.se>
/***********************************************************************
* INTERPRETER MANAGEMENT
- ***********************************************************************
+ ***********************************************************************/
/* try to lookup a registered interpreter for a given name */
static ulog_interpreter_t *find_interpreter(const char *name)
exit(2);
}
}
+ ulogd_log(ULOGD_INFO, "ulogd Version %s starting\n", ULOGD_VERSION);
return 0;
}
/* endless loop receiving packets and handling them over to
* handle_packet */
- while (len = ipulog_read(libulog_h, libulog_buf, MYBUFSIZ, 1)) {
+ while (len = ipulog_read(libulog_h, libulog_buf,
+ bufsiz_ce.u.value, 1)) {
if (len <= 0) {
/* this is not supposed to happen */