Skip to contentSkip to conversation

ULOGD and invalid timestamps

DISCUSSION Steve Melo 2 participants 2 messages Sep 9, 2004 – Sep 10, 2004

lore
Share & tools
lore

Steve Melo

author
#0 lore raw

Greetings list,

I'm using the ulogd to log information and everything works great except that everything that gets logged has a timestamp of "Dec 31 19:00:00". I would like to have the correct timestamp.

Here is my setup:
Debian Linux w/2.6.7-1-686 kernel (binary install) ulogd Version 1.02
iptables v1.2.9

Here is my /etc/ulogd.conf:

# netlink multicast group (the same as the iptables --ulog-nlgroup param)
nlgroup 1
# logfile for status messages
logfile /var/log/ulog/ulogd.log

# loglevel: debug(1), info(3), notice(5), error(7) or fatal(8) loglevel 5

# socket receive buffer size (should be at least the size of the
# in-kernel buffer (ipt_ULOG.o 'nlbufsiz' parameter)
rmem 131071
# libipulog/ulogd receive buffer size, should be > rmem
bufsize 150000

# ulogd_BASE.so - interpreter plugin for basic IPv4 header fields
# you will always need this
plugin /usr/lib/ulogd/ulogd_BASE.so
plugin /usr/lib/ulogd/ulogd_LOCAL.so

#
# ulogd_LOGEMU.so - simple syslog emulation target #

# where to write to
syslogfile /var/log/ulog/syslogemu.log
# do we want to fflush() the file after each write?
syslogsync 1
# load the plugin
plugin /usr/lib/ulogd/ulogd_LOGEMU.so

#
# ulogd_OPRINT.so: file for packet dumping
#

# where to write the log
dumpfile /var/log/ulog/pktlog.log
# load the plugin (remove the '#'if you want to enable it
plugin /usr/lib/ulogd/ulogd_OPRINT.so
#1 lore raw
Quoted 5 lines · Steve Melo

Greetings list,

I'm using the ulogd to log information and everything works great except that everything that gets logged has a timestamp of "Dec 31 19:00:00". I would like to have the correct timestamp.

from:
http://packages.debian.org/changelogs/pool/main/u/ulogd/ulogd_1.02-1/changelog

---------------------------------------------------------------
ulogd (1.02-1) unstable; urgency=low

* New upstream release.
- fixed timestamp printing in LOGEMU (closes: Bug#208506)
* debian/patches/ulogd-version.patch:
- this is really ulogd 1.02
---------------------------------------------------------------

The thread on bug 208506:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=208506

What I typed into google to find the above info: ulogd timestamp

-j

Signature · 1 line
Jason Opperisano <[email protected]>