-
Notifications
You must be signed in to change notification settings - Fork 2
/
log-high.ruleset
30 lines (27 loc) · 915 Bytes
/
log-high.ruleset
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
table inet filter {
chain u-before-logging-input {
limit rate 3/minute burst 10 packets counter log prefix "[UNITE INPUT AUDIT] "
}
chain u-before-logging-output {
limit rate 3/minute burst 10 packets counter log prefix "[UNITE OUTPUT AUDIT] "
}
chain u-before-logging-forward {
limit rate 3/minute burst 10 packets counter log prefix "[UNITE FORWARD AUDIT] "
}
chain u-after-logging-input {
counter log prefix "[UNITE INPUT BLOCK] "
}
chain u-after-logging-output {
counter log prefix "[UNITE OUTPUT ALLOW] "
}
chain u-after-logging-forward {
counter log prefix "[UNITE FORWARD BLOCK] "
}
chain u-logging-deny {
ct state invalid counter log prefix "[UNITE AUDIT INVALID] "
counter log prefix "[UNITE BLOCK] "
}
chain u-logging-allow {
counter log prefix "[UNITE ALLOW] "
}
}