aboutsummaryrefslogtreecommitdiffstats
path: root/test/mandatory/log.json
blob: d1cbb4c485c5cbbe7f3b5389651b465b5341ef8e (plain)
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
{
    "log": {
	"dual": { "mode": "log", "mirror": "fc00::1" },
	"mirror": { "mirror": [ "10.0.0.1", "10.0.0.2", "fc00::2" ] },
	"nflog": { "mode": "nflog", "group": 1, "range": 128 },
	"none": { "mode": "none" },
	"ulog": { "mode": "ulog", "limit": { "interval": 5 } }
    },
    "packet-log": [
	{ "out": "_fw" },
	{ "out": "_fw", "log": "mirror" },
	{ "out": "_fw", "log": "nflog" },
	{ "out": "_fw", "log": "ulog" }
    ],
    "filter": [
	{},
	{ "action": "drop" },
	{ "action": "pass" },
	{ "log": false },
	{ "log": false, "action": "drop" },
	{ "log": false, "action": "pass" },
	{ "log": true },
	{ "log": true, "action": "drop" },
	{ "log": true, "action": "pass" },
	{ "log": "dual" },
	{ "log": "dual", "action": "drop" },
	{ "log": "dual", "action": "pass" },
	{ "log": "mirror" },
	{ "log": "mirror", "action": "drop" },
	{ "log": "mirror", "action": "pass" },
	{ "log": "none" },
	{ "log": "none", "action": "drop" },
	{ "log": "none", "action": "pass" },

	{ "log": "ulog" },
	{ "log": "ulog", "action": "drop" },
	{ "log": "ulog", "action": "pass" },
	{ "in": "_fw", "log": "ulog", "action": "pass" }
    ]
}