All of lore.kernel.org
 help / color / mirror / Atom feed
* [ULOGD2] Timestamp without year in logemu
@ 2017-01-03 19:28 Petteri Matilainen
  2017-01-03 20:58 ` Eric Leblond
  0 siblings, 1 reply; 3+ messages in thread
From: Petteri Matilainen @ 2017-01-03 19:28 UTC (permalink / raw)
  To: netfilter

Hello list,

I'm using iptables firewall and I'm logging blocked packets with NFLOG 
target and ULOGD2. I have the following configuration in ulogd.conf:

# this is a stack for logging packets to firewall.log after a collect 
via NFLOG
stack=firewall6:NFLOG,base6:BASE,ifi6:IFINDEX,ip2str6:IP2STR,print6:PRINTPKT,logemu6:LOGEMU

[logemu6]
file="/var/log/firewall.log"
sync=1

The logging itself works just fine, but I noticed the timestamps are 
missing the year, like so:

Apr 23 10:38:04 Router In_New_TCP IN=eth0 OUT=...

Any ideas why? This causes problems with the system I'm using to graph 
the logs and make statistics. My system is Debian with kernel 3.16.7. 
Ulogd version is 2.0.4. I found an online manual for ulogd2 which 
mentioned a LOCAL filter but my ulogd does not recognize it.

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

end of thread, other threads:[~2017-01-04  5:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-03 19:28 [ULOGD2] Timestamp without year in logemu Petteri Matilainen
2017-01-03 20:58 ` Eric Leblond
2017-01-04  5:37   ` Petteri Matilainen

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.