summaryrefslogtreecommitdiff
path: root/net/traff/files/patch-traff.conf
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-09-28 16:34:40 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-09-28 16:34:40 +0000
commit5402fcdd5e0047ba1896230c22992fd915091617 (patch)
treedf16f8d97df1c1814b80f13f555d3487e7f8bbee /net/traff/files/patch-traff.conf
parentUpdate to 2.5 (diff)
New port
Traff is a program that attaches itself to one or more network interfaces, sniffs all IP-packages passing at it and accounts each packets size. The collected information can be dumped to a mysql-Database, for further processing. The configuration is very flexible, allowing you to create different/multiple accounting rules. PR: 86615 Submitted by: Dan Caescu <dancaescu@netcaetera.ro> Approved by: pav (mentor)
Notes
Notes: svn path=/head/; revision=143708
Diffstat (limited to 'net/traff/files/patch-traff.conf')
-rw-r--r--net/traff/files/patch-traff.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/traff/files/patch-traff.conf b/net/traff/files/patch-traff.conf
new file mode 100644
index 000000000000..540929016337
--- /dev/null
+++ b/net/traff/files/patch-traff.conf
@@ -0,0 +1,18 @@
+--- traff.conf.orig Fri Feb 1 16:11:44 2002
++++ traff.conf Tue Sep 27 17:34:05 2005
+@@ -1,13 +1,13 @@
+ # SAmple configuration File
+ # Lines starting with a # are comments
+
+-Devices eth0 eth1 #Diveces where traff should listen to
++Devices fxp0 fxp1 #Diveces where traff should listen to
+ Period 30 #Time in seconds in witch table is dumped
+ #Buffersize 800 # At the moment hardcoded to 500. This will work
+
+
+ Cat Test
+- primary account 127.0.0.0 255.255.255.0 0
++ primary account 0.0.0.0 0.0.0.0 0 # define here your class
+ secondary account 0.0.0.0 0.0.0.0 0
+ timedivider 300
+ bytedivider 1