From: Frank Brehm Date: Mon, 16 Jan 2012 06:16:24 +0000 (+0100) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=519cab1a0b31639222f02a88ef53c0dbfb96cc33;p=config%2Fbruni%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/._cfg0000_ulogd.conf b/._cfg0000_ulogd.conf new file mode 100644 index 00000000..234ee5d6 --- /dev/null +++ b/._cfg0000_ulogd.conf @@ -0,0 +1,82 @@ +# Example configuration for ulogd +# $Id: ulogd.conf.in 714 2005-02-19 21:33:43Z laforge $ +# + +[global] +###################################################################### +# GLOBAL OPTIONS +###################################################################### + +# netlink multicast group (the same as the iptables --ulog-nlgroup param) +nlgroup=1 + +# logfile for status messages +logfile="/var/log/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 + +###################################################################### +# PLUGIN OPTIONS +###################################################################### + +# We have to configure and load all the plugins we want to use + +# general rules: +# 1. load the plugins _first_ from the global section +# 2. options for each plugin in seperate section below + + +# +# ulogd_BASE.so - interpreter plugin for basic IPv4 header fields +# you will always need this +plugin="/usr/lib64/ulogd/ulogd_BASE.so" + + +# output plugins. +plugin="/usr/lib64/ulogd/ulogd_LOGEMU.so" +#plugin="/usr/lib64/ulogd/ulogd_OPRINT.so" +#plugin="/usr/lib64/ulogd/ulogd_MYSQL.so" +#plugin="/usr/lib64/ulogd/ulogd_PGSQL.so" +#plugin="/usr/lib64/ulogd/ulogd_SQLITE3.so" +#plugin="/usr/lib64/ulogd/ulogd_PCAP.so" + + +[LOGEMU] +file="/var/log/ulogd.syslogemu" +sync=1 + +[OPRINT] +file="/var/log/ulogd.pktlog" + +[MYSQL] +table="ulog" +pass="changeme" +user="laforge" +db="ulogd" +host="localhost" + +[PGSQL] +table="ulog" +schema="public" +pass="changeme" +user="postgres" +db="ulogd" +host="localhost" + +[SQLITE3] +table="ulog" +db="/path/to/sqlite/db" +buffer=200 + +[PCAP] +file="/var/log/ulogd.pcap" +sync=1 + diff --git a/.etckeeper b/.etckeeper index aad94e44..3b6ca658 100755 --- a/.etckeeper +++ b/.etckeeper @@ -14,6 +14,7 @@ mkdir -p './skel/.ssh' mkdir -p './sudoers.d' mkdir -p './unixODBC/ODBCDataSources' maybe chmod 0755 '.' +maybe chmod 0600 './._cfg0000_ulogd.conf' maybe chmod 0700 './.etckeeper' maybe chmod 0644 './.gitignore' maybe chmod 0600 './.pwd.lock'