File: enable-nflog-by-default.patch

package info (click to toggle)
ulogd2 2.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,932 kB
  • sloc: ansic: 13,019; sh: 4,674; sql: 2,302; makefile: 197; perl: 90
file content (18 lines) | stat: -rw-r--r-- 774 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Enable NFLOG => LOGEMU stack by default
 The simplest and likely most common usage scenario is to log packets to a
 logfile using NFLOG, bypassing the kernel ringbuffer. Enable this by default.
Forwarded: not-needed
Author: Chris Boot <bootc@debian.org>
Last-Update: 2013-04-27

--- a/ulogd.conf.in
+++ b/ulogd.conf.in
@@ -52,7 +52,7 @@
 #plugin="@pkglibdir@/ulogd_output_JSON.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