-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgarin.conf.defaults
41 lines (38 loc) · 1.34 KB
/
garin.conf.defaults
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[general]
log-level=INFO
parsing-concurrency=2
recording-threads=1
dont-record-destinations=false
[database]
; type of the database
; Should be a database/sql driver or mongodb
type=sqlite3
; args are the connection string
; -- SQL database --
; database/sql connection string
; sqlite3 ex : garin.sqlite3
; MySQL : [username[:password]@][protocol[(address)]]/dbname[?param1=value1&...¶mN=valueN]
; MySQL socket ex : user:passwerd@unix(/var/run/mysqld/mysqld.sock)/garin
; MySQL IP ex : user:passwerd@tcp(127.0.0.1)/garin
; -- Mongo DB --
; mgo.v2 connection string
; [user:pass@]host1[:port1][,host2[:port2],...][/database][?options]
; ex : user:[email protected]:1234/garin
args=garin.sqlite3
; Debounce the destinations recording by the duration specified in this parameter.
; If set to 20s, then the same destination will only be saved once every 20 seconds.
; This can be used to reduce the logging of all activity related to a domain (like fetching HTML + assets)
; Must follow the time.Duration standard
; A value of 0 disables the feature
debounce-destinations=0
[capture]
interface=eth0
unencrypted-ports=80
encrypted-ports=443
snaplen=65536
; 0 or less is infinite
buffered-per-connection=0
total-max-buffer=0
; Determines the maximum of time after which the flows will be considered as complete
; must follow time.Duration standard
flush-after=20s