* ULOGD and invalid timestamps
@ 2004-09-09 16:30 Steve Melo
2004-09-10 13:53 ` Jason Opperisano
0 siblings, 1 reply; 5+ messages in thread
From: Steve Melo @ 2004-09-09 16:30 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: ULOGD and invalid timestamps
@ 2004-09-10 13:41 Piszcz, Justin Michael
2004-09-10 14:48 ` Steve Melo
0 siblings, 1 reply; 5+ messages in thread
From: Piszcz, Justin Michael @ 2004-09-10 13:41 UTC (permalink / raw)
To: Steve Melo, netfilter
I have never had a problem with the timestamp in any version of ulogd
since 1.00, 1.01 or 1.02.
What does the following show:
% date
Where did you obtain/how did you install ulogd?
I used the source in all three versions.
-----Original Message-----
From: netfilter-bounces@lists.netfilter.org
[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of Steve Melo
Sent: Thursday, September 09, 2004 12:31 PM
To: netfilter@lists.netfilter.org
Subject: ULOGD and invalid timestamps
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ULOGD and invalid timestamps
2004-09-09 16:30 ULOGD and invalid timestamps Steve Melo
@ 2004-09-10 13:53 ` Jason Opperisano
0 siblings, 0 replies; 5+ messages in thread
From: Jason Opperisano @ 2004-09-10 13:53 UTC (permalink / raw)
To: netfilter
On Thu, 2004-09-09 at 12:30, Steve Melo wrote:
> 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
--
Jason Opperisano <opie@817west.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ULOGD and invalid timestamps
2004-09-10 13:41 Piszcz, Justin Michael
@ 2004-09-10 14:48 ` Steve Melo
0 siblings, 0 replies; 5+ messages in thread
From: Steve Melo @ 2004-09-10 14:48 UTC (permalink / raw)
To: Piszcz, Justin Michael, netfilter
Piszcz,
Thank you for taking the time to look into my problem.. My system's time
works, the output of the date command shows: "Fri Sep 10 10:43:35 EDT 2004".
You mentioned that you have been using ULOG since version 1.0 with no
problems in the timestamp feature, but i did see something in the changelog
about a timestamp fix for version 1.02:
===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
===end changelog===================================
Unlike yourself tho i installed from binary. I wonder also if this could be
because im running a 2.6.7 kernel.. what kernel do you use?
-thanx
steve
----- Original Message -----
From: "Piszcz, Justin Michael" <justin.piszcz@mitretek.org>
To: "Steve Melo" <smelo@communitytrust.ca>; <netfilter@lists.netfilter.org>
Sent: Friday, September 10, 2004 9:41 AM
Subject: RE: ULOGD and invalid timestamps
I have never had a problem with the timestamp in any version of ulogd
since 1.00, 1.01 or 1.02.
What does the following show:
% date
Where did you obtain/how did you install ulogd?
I used the source in all three versions.
-----Original Message-----
From: netfilter-bounces@lists.netfilter.org
[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of Steve Melo
Sent: Thursday, September 09, 2004 12:31 PM
To: netfilter@lists.netfilter.org
Subject: ULOGD and invalid timestamps
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: ULOGD and invalid timestamps
@ 2004-09-10 15:23 Piszcz, Justin Michael
0 siblings, 0 replies; 5+ messages in thread
From: Piszcz, Justin Michael @ 2004-09-10 15:23 UTC (permalink / raw)
To: Steve Melo, netfilter
I have used kernel 2.6.7 with no problems.
I currently use kernel 2.6.8.1.
-----Original Message-----
From: Steve Melo [mailto:smelo@communitytrust.ca]
Sent: Friday, September 10, 2004 10:49 AM
To: Piszcz, Justin Michael; netfilter@lists.netfilter.org
Subject: Re: ULOGD and invalid timestamps
Piszcz,
Thank you for taking the time to look into my problem.. My system's
time
works, the output of the date command shows: "Fri Sep 10 10:43:35 EDT
2004".
You mentioned that you have been using ULOG since version 1.0 with no
problems in the timestamp feature, but i did see something in the
changelog
about a timestamp fix for version 1.02:
===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
===end changelog===================================
Unlike yourself tho i installed from binary. I wonder also if this
could be
because im running a 2.6.7 kernel.. what kernel do you use?
-thanx
steve
----- Original Message -----
From: "Piszcz, Justin Michael" <justin.piszcz@mitretek.org>
To: "Steve Melo" <smelo@communitytrust.ca>;
<netfilter@lists.netfilter.org>
Sent: Friday, September 10, 2004 9:41 AM
Subject: RE: ULOGD and invalid timestamps
I have never had a problem with the timestamp in any version of ulogd
since 1.00, 1.01 or 1.02.
What does the following show:
% date
Where did you obtain/how did you install ulogd?
I used the source in all three versions.
-----Original Message-----
From: netfilter-bounces@lists.netfilter.org
[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of Steve Melo
Sent: Thursday, September 09, 2004 12:31 PM
To: netfilter@lists.netfilter.org
Subject: ULOGD and invalid timestamps
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-09-10 15:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-09 16:30 ULOGD and invalid timestamps Steve Melo
2004-09-10 13:53 ` Jason Opperisano
-- strict thread matches above, loose matches on Subject: below --
2004-09-10 13:41 Piszcz, Justin Michael
2004-09-10 14:48 ` Steve Melo
2004-09-10 15:23 Piszcz, Justin Michael
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox