aboutsummaryrefslogtreecommitdiffstats
path: root/main/nfdump/nfcapd.confd
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2012-03-18 03:06:25 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-01-03 15:18:06 +0000
commit80a9ff52adac0c4c8df5c29a15203c133bf90860 (patch)
tree1bf2e6ba105f50732fd714ac44ca793f8bc04a4f /main/nfdump/nfcapd.confd
parent7902826268d6673814d5ffc58466abb6773da01c (diff)
downloadaports-80a9ff52adac0c4c8df5c29a15203c133bf90860.tar.gz
aports-80a9ff52adac0c4c8df5c29a15203c133bf90860.tar.bz2
aports-80a9ff52adac0c4c8df5c29a15203c133bf90860.tar.xz
main/nfdump: backported from v2.3
Diffstat (limited to 'main/nfdump/nfcapd.confd')
-rw-r--r--main/nfdump/nfcapd.confd62
1 files changed, 62 insertions, 0 deletions
diff --git a/main/nfdump/nfcapd.confd b/main/nfdump/nfcapd.confd
new file mode 100644
index 0000000000..fb9afb6e32
--- /dev/null
+++ b/main/nfdump/nfcapd.confd
@@ -0,0 +1,62 @@
+# Config file for /etc/init.d/nfcapd
+
+# Port we listen on
+PORT=2205
+
+# Hostname/address we bind on - default is any available
+BINDHOST=127.0.0.1
+
+# IPv4 only
+#IPV4=no
+
+# IPv6 only
+#IPV6=no
+
+# Join a specific Multicast group
+#MULTICASTGROUP=
+
+# Become a packet repeater
+#REPEAT=desthost/port
+
+
+# Ident string, specify the name of the router
+#IDENT=
+
+# Base Directory for output files
+BASEDIR="/var/log/nfcapd"
+
+# Source is one or more sources: Ident,IP,base_directory
+# If you specificy SOURCE, do not specifiy IDENT or BASEDIR
+#SOURCE="Foo,192.168.1.1,/var/log/nfcapd/foo Bar,192.168.1.2,/var/log/nfcapd/bar"
+
+# Sample Rate - defaults to source
+#SAMPLERATE=
+
+# additional directory sub hierarchy (default none)
+#SUBDIR="%Y/%m/%d"
+
+
+# Extensions to be stored in the netflow data
+#EXTENSIONS="all"
+
+# How often to rotate the files (in seconds)
+#INTERVAL=300
+
+# Do we align rotation with next even interval
+#ALIGN=no
+
+# Run a command at the end of every interval
+#ROTATECMD=""
+
+# Auto expire old files (yes/no)
+#AUTOEXPIRE=no
+
+# User / Group
+UID=nobody
+GID=nobody
+
+# Buffer length in bytes (to reduce lost packets)
+BUFFLEN=1024000
+
+# Compress the flows with LZO (yes/no)
+COMPRESS=yes