maybe chmod 0644 './udev/rules.d/.keep_sys-fs_udev-0'
maybe chmod 0644 './udev/rules.d/70-persistent-cd.rules'
maybe chmod 0644 './udev/udev.conf'
-maybe chmod 0644 './ulogd.conf'
+maybe chgrp ulogd './ulogd.conf'
+maybe chmod 0640 './ulogd.conf'
maybe chmod 0755 './unixODBC'
maybe chmod 0755 './unixODBC/ODBCDataSources'
maybe chmod 0644 './unixODBC/odbc.ini'
-/var/log/ulogd.log /var/log/ulogd.syslogemu /var/log/ulogd.pktlog /var/log/ulogd.pcap {
- missingok
+#/var/log/ulogd.log /var/log/ulogd.syslogemu /var/log/ulogd.pktlog /var/log/ulogd.pcap {
+# missingok
+# sharedscripts
+# postrotate
+# /bin/killall -HUP ulogd 2> /dev/null || true
+# endscript
+#}
+
+/var/log/ulogd/*.log {
+ daily
+ maxage 2y
+ rotate 999
+ olddir /var/log/ulogd/%Y-%m
+ size 4M
sharedscripts
postrotate
- /bin/killall -HUP ulogd 2> /dev/null || true
+ /etc/init.d/ulogd restart
+ #/bin/killall -HUP ulogd 2> /dev/null || true
endscript
}
+
+
+# vim: ts=4 filetype=conf
\___/|_| |_|\__,_| |_|
-Hey, sonst denkt ihr auch immer, Joey wäre eine multiple
-Persönlichkeit. Dann zählt die gefälligst auch so.
- -- Martin Schulze
+"Das Schwein trägt seinen Namen nicht umsonst" - Stilblüten aus
+Kinderaufsätzen: (Naturwissenschaft und Mathematik)
+
+Die Astronauten haben auch entdeckt, daß das Hinterteil vom Mond auch
+nicht so glatt und rund ist.
Today is Pungenday, the 28th day of Chaos in the YOLD 3178
# logfile for status messages
-logfile="/var/log/ulogd.log"
+logfile="/var/log/ulogd/ulogd.log"
# loglevel: debug(1), info(3), notice(5), error(7) or fatal(8)
-loglevel=1
+loglevel=3
######################################################################
# PLUGIN OPTIONS
plugin="/usr/lib64/ulogd/ulogd_inppkt_NFLOG.so"
-#plugin="/usr/lib64/ulogd/ulogd_inppkt_ULOG.so"
+plugin="/usr/lib64/ulogd/ulogd_inppkt_ULOG.so"
plugin="/usr/lib64/ulogd/ulogd_inpflow_NFCT.so"
plugin="/usr/lib64/ulogd/ulogd_filter_IFINDEX.so"
plugin="/usr/lib64/ulogd/ulogd_filter_IP2STR.so"
plugin="/usr/lib64/ulogd/ulogd_raw2packet_BASE.so"
# this is a stack for logging packet send by system via LOGEMU
-#stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
+stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
# this is a stack for packet-based logging via LOGEMU
-#stack=log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
+stack=log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
# this is a stack for ULOG packet-based logging via LOGEMU
-#stack=ulog1:ULOG,base1:BASE,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
+stack=ulog1:ULOG,base1:BASE,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
# this is a stack for packet-based logging via LOGEMU with filtering on MARK
#stack=log2:NFLOG,mark1:MARK,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
#numeric_label=0 # optional argument
[emu1]
-file="/var/log/ulogd_syslogemu.log"
+file="/var/log/ulogd/syslogemu.log"
sync=1
[op1]
-file="/var/log/ulogd_oprint.log"
+file="/var/log/ulogd/oprint.log"
sync=1
[xml1]
-directory="/var/log/"
+directory="/var/log/ulogd/"
sync=1
[pcap1]