mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 21:49:22 -05:00
nftables: implement output filtering for loopback
This commit is contained in:
parent
fea9197ace
commit
01f9274fc4
@ -45,8 +45,6 @@ table inet filter {
|
|||||||
chain output {
|
chain output {
|
||||||
type filter hook output priority filter
|
type filter hook output priority filter
|
||||||
|
|
||||||
oif lo accept
|
|
||||||
|
|
||||||
skuid != {root, systemd-network, chrony, unbound, http, attestation} counter goto output-reject
|
skuid != {root, systemd-network, chrony, unbound, http, attestation} counter goto output-reject
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,8 +45,6 @@ table inet filter {
|
|||||||
chain output {
|
chain output {
|
||||||
type filter hook output priority filter
|
type filter hook output priority filter
|
||||||
|
|
||||||
oif lo accept
|
|
||||||
|
|
||||||
skuid != {root, systemd-network, chrony, unbound, http, flarum} counter goto output-reject
|
skuid != {root, systemd-network, chrony, unbound, http, flarum} counter goto output-reject
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,8 +48,6 @@ table inet filter {
|
|||||||
chain output {
|
chain output {
|
||||||
type filter hook output priority filter
|
type filter hook output priority filter
|
||||||
|
|
||||||
oif lo accept
|
|
||||||
|
|
||||||
skuid != {root, systemd-network, chrony, unbound, powerdns} counter goto output-reject
|
skuid != {root, systemd-network, chrony, unbound, powerdns} counter goto output-reject
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,8 +45,7 @@ table inet filter {
|
|||||||
chain output {
|
chain output {
|
||||||
type filter hook output priority filter
|
type filter hook output priority filter
|
||||||
|
|
||||||
oif lo accept
|
skuid {opendmarc, opendkim, policyd-spf} oif lo meta l4proto {tcp, udp} th dport 53 accept
|
||||||
|
|
||||||
skuid != {root, systemd-network, chrony, unbound, postfix, dovecot, dovenull} counter goto output-reject
|
skuid != {root, systemd-network, chrony, unbound, postfix, dovecot, dovenull} counter goto output-reject
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,8 +45,8 @@ table inet filter {
|
|||||||
chain output {
|
chain output {
|
||||||
type filter hook output priority filter
|
type filter hook output priority filter
|
||||||
|
|
||||||
oif lo accept
|
skuid postgres oif lo meta l4proto udp accept
|
||||||
|
skuid mjolnir oif lo tcp dport 8008 accept
|
||||||
skuid != {root, systemd-network, chrony, unbound, http, synapse, matterbridge} counter goto output-reject
|
skuid != {root, systemd-network, chrony, unbound, http, synapse, matterbridge} counter goto output-reject
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,8 +45,6 @@ table inet filter {
|
|||||||
chain output {
|
chain output {
|
||||||
type filter hook output priority filter
|
type filter hook output priority filter
|
||||||
|
|
||||||
oif lo accept
|
|
||||||
|
|
||||||
skuid != {root, systemd-network, chrony, unbound, http} counter goto output-reject
|
skuid != {root, systemd-network, chrony, unbound, http} counter goto output-reject
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user