summaryrefslogtreecommitdiffstats
path: root/ulogd.conf.in
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-04-29 14:34:30 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-04-29 14:34:30 +0000
commite4f0bd0a93e4777abea99fe7a33d50fd74b57aba (patch)
tree68b7f5a8d7d4b76f2dad6f3877cc3c93545c6aff /ulogd.conf.in
parent0ef20d627b03db080e220a37f3b27339f9f6e2a0 (diff)
This patchset adds support for the "numeric_label" option. For instance, it
can be used to determine if the packet has been dropped, rejected or accepted. The meaning of label is completely user-defined. Signed-off-by: Eric Leblond <eric@inl.fr>
Diffstat (limited to 'ulogd.conf.in')
-rw-r--r--ulogd.conf.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/ulogd.conf.in b/ulogd.conf.in
index 3def8d1..4339650 100644
--- a/ulogd.conf.in
+++ b/ulogd.conf.in
@@ -97,6 +97,7 @@ group=0
[log2]
group=1 # Group has to be different from the one use in log1
addressfamily=10 # 10 is value of AF_INET6
+numeric_label=1 # you can label the log info based on the packet verdict
# ebtables logging through NFLOG
[log3]
@@ -106,6 +107,7 @@ addressfamily=7 # 7 is value of AF_BRIDGE
[ulog1]
# netlink multicast group (the same as the iptables --ulog-nlgroup param)
nlgroup=1
+#numeric_label=0 # optional argument
[emu1]
file="/var/log/ulogd_syslogemu.log"