mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-01-02 10:36:11 -05:00
update for pacman 7.0.0 download sandbox
This commit is contained in:
parent
ea3d577ac6
commit
167618930b
@ -103,13 +103,13 @@ table inet filter {
|
|||||||
type filter hook output priority raw
|
type filter hook output priority raw
|
||||||
|
|
||||||
oif lo goto output-raw-loopback
|
oif lo goto output-raw-loopback
|
||||||
skuid != { root, systemd-network, unbound, chrony, http, attestation } counter goto graceful-reject
|
skuid != { root, systemd-network, unbound, alpm, chrony, http, attestation } counter goto graceful-reject
|
||||||
meta l4proto { icmp, ipv6-icmp } notrack accept
|
meta l4proto { icmp, ipv6-icmp } notrack accept
|
||||||
}
|
}
|
||||||
|
|
||||||
chain output-raw-loopback {
|
chain output-raw-loopback {
|
||||||
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 th dport != 8080 notrack accept
|
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 th dport != 8080 notrack accept
|
||||||
skuid { chrony, attestation } meta l4proto { tcp, udp } th sport >= 1024 th sport != 8080 th dport 53 notrack accept
|
skuid { alpm, chrony, attestation } meta l4proto { tcp, udp } th sport >= 1024 th sport != 8080 th dport 53 notrack accept
|
||||||
|
|
||||||
skuid attestation tcp sport 8080 tcp dport >= 1024 tcp dport != 8080 notrack accept
|
skuid attestation tcp sport 8080 tcp dport >= 1024 tcp dport != 8080 notrack accept
|
||||||
skuid http tcp sport >= 1024 tcp sport != 8080 tcp dport 8080 notrack accept
|
skuid http tcp sport >= 1024 tcp sport != 8080 tcp dport 8080 notrack accept
|
||||||
|
@ -103,13 +103,13 @@ table inet filter {
|
|||||||
type filter hook output priority raw
|
type filter hook output priority raw
|
||||||
|
|
||||||
oif lo goto output-raw-loopback
|
oif lo goto output-raw-loopback
|
||||||
skuid != { root, systemd-network, unbound, chrony, http, flarum, flarum-admin, geoipupdate } counter goto graceful-reject
|
skuid != { root, systemd-network, unbound, alpm, chrony, http, flarum, flarum-admin, geoipupdate } counter goto graceful-reject
|
||||||
meta l4proto { icmp, ipv6-icmp } notrack accept
|
meta l4proto { icmp, ipv6-icmp } notrack accept
|
||||||
}
|
}
|
||||||
|
|
||||||
chain output-raw-loopback {
|
chain output-raw-loopback {
|
||||||
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
||||||
skuid { chrony, http, flarum, flarum-admin, geoipupdate } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
skuid { alpm, chrony, http, flarum, flarum-admin, geoipupdate } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
||||||
|
|
||||||
skuid != root counter goto graceful-reject
|
skuid != root counter goto graceful-reject
|
||||||
notrack accept
|
notrack accept
|
||||||
|
@ -115,13 +115,13 @@ table inet filter {
|
|||||||
type filter hook output priority raw
|
type filter hook output priority raw
|
||||||
|
|
||||||
oif lo goto output-raw-loopback
|
oif lo goto output-raw-loopback
|
||||||
skuid != { root, systemd-network, unbound, chrony, postfix, dovecot, dovenull, http } counter goto graceful-reject
|
skuid != { root, systemd-network, unbound, alpm, chrony, postfix, dovecot, dovenull, http } counter goto graceful-reject
|
||||||
meta l4proto { icmp, ipv6-icmp } notrack accept
|
meta l4proto { icmp, ipv6-icmp } notrack accept
|
||||||
}
|
}
|
||||||
|
|
||||||
chain output-raw-loopback {
|
chain output-raw-loopback {
|
||||||
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
||||||
skuid { chrony, postfix, opendkim, opendmarc, policyd-spf } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
skuid { alpm, chrony, postfix, opendkim, opendmarc, policyd-spf } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
||||||
|
|
||||||
skuid != root counter goto graceful-reject
|
skuid != root counter goto graceful-reject
|
||||||
notrack accept
|
notrack accept
|
||||||
|
@ -103,13 +103,13 @@ table inet filter {
|
|||||||
type filter hook output priority raw
|
type filter hook output priority raw
|
||||||
|
|
||||||
oif lo goto output-raw-loopback
|
oif lo goto output-raw-loopback
|
||||||
skuid != { root, systemd-network, unbound, chrony, http, synapse, matterbridge } counter goto graceful-reject
|
skuid != { root, systemd-network, unbound, alpm, chrony, http, synapse, matterbridge } counter goto graceful-reject
|
||||||
meta l4proto { icmp, ipv6-icmp } notrack accept
|
meta l4proto { icmp, ipv6-icmp } notrack accept
|
||||||
}
|
}
|
||||||
|
|
||||||
chain output-raw-loopback {
|
chain output-raw-loopback {
|
||||||
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 th dport != 8008 notrack accept
|
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 th dport != 8008 notrack accept
|
||||||
skuid { chrony, synapse, matterbridge } meta l4proto { tcp, udp } th sport >= 1024 th sport != 8008 th dport 53 notrack accept
|
skuid { alpm, chrony, synapse, matterbridge } meta l4proto { tcp, udp } th sport >= 1024 th sport != 8008 th dport 53 notrack accept
|
||||||
|
|
||||||
skuid postgres udp sport >= 1024 udp sport != 8008 udp dport >= 1024 udp dport != 8008 notrack accept
|
skuid postgres udp sport >= 1024 udp sport != 8008 udp dport >= 1024 udp dport != 8008 notrack accept
|
||||||
|
|
||||||
|
@ -113,14 +113,14 @@ table inet filter {
|
|||||||
type filter hook output priority raw
|
type filter hook output priority raw
|
||||||
|
|
||||||
oif lo goto output-raw-loopback
|
oif lo goto output-raw-loopback
|
||||||
skuid != { root, systemd-network, unbound, chrony, http } counter goto graceful-reject
|
skuid != { root, systemd-network, unbound, alpm, chrony, http } counter goto graceful-reject
|
||||||
udp sport 123 notrack accept
|
udp sport 123 notrack accept
|
||||||
meta l4proto { icmp, ipv6-icmp } notrack accept
|
meta l4proto { icmp, ipv6-icmp } notrack accept
|
||||||
}
|
}
|
||||||
|
|
||||||
chain output-raw-loopback {
|
chain output-raw-loopback {
|
||||||
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
||||||
skuid { chrony, http } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
skuid { alpm, chrony, http } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
||||||
|
|
||||||
skuid != root counter goto graceful-reject
|
skuid != root counter goto graceful-reject
|
||||||
notrack accept
|
notrack accept
|
||||||
|
@ -105,14 +105,14 @@ table inet filter {
|
|||||||
type filter hook output priority raw
|
type filter hook output priority raw
|
||||||
|
|
||||||
oif lo goto output-raw-loopback
|
oif lo goto output-raw-loopback
|
||||||
skuid != { root, systemd-network, unbound, chrony, http, powerdns, geoipupdate } counter goto graceful-reject
|
skuid != { root, systemd-network, unbound, alpm, chrony, http, powerdns, geoipupdate } counter goto graceful-reject
|
||||||
udp sport 53 notrack accept
|
udp sport 53 notrack accept
|
||||||
meta l4proto { icmp, ipv6-icmp } notrack accept
|
meta l4proto { icmp, ipv6-icmp } notrack accept
|
||||||
}
|
}
|
||||||
|
|
||||||
chain output-raw-loopback {
|
chain output-raw-loopback {
|
||||||
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
||||||
skuid { chrony, geoipupdate } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
skuid { alpm, chrony, geoipupdate } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
||||||
|
|
||||||
skuid powerdns meta l4proto tcp th sport 54 th dport >= 1024 notrack accept
|
skuid powerdns meta l4proto tcp th sport 54 th dport >= 1024 notrack accept
|
||||||
skuid http meta l4proto tcp th sport >= 1024 th dport 54 notrack accept
|
skuid http meta l4proto tcp th sport >= 1024 th dport 54 notrack accept
|
||||||
|
@ -117,14 +117,14 @@ table inet filter {
|
|||||||
type filter hook output priority raw
|
type filter hook output priority raw
|
||||||
|
|
||||||
oif lo goto output-raw-loopback
|
oif lo goto output-raw-loopback
|
||||||
skuid != { root, systemd-network, unbound, chrony, http, powerdns, geoipupdate } counter goto graceful-reject
|
skuid != { root, systemd-network, unbound, alpm, chrony, http, powerdns, geoipupdate } counter goto graceful-reject
|
||||||
udp sport 53 notrack accept
|
udp sport 53 notrack accept
|
||||||
meta l4proto { icmp, ipv6-icmp } notrack accept
|
meta l4proto { icmp, ipv6-icmp } notrack accept
|
||||||
}
|
}
|
||||||
|
|
||||||
chain output-raw-loopback {
|
chain output-raw-loopback {
|
||||||
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
||||||
skuid { chrony, geoipupdate } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
skuid { alpm, chrony, geoipupdate } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
||||||
|
|
||||||
skuid powerdns meta l4proto tcp th sport 54 th dport >= 1024 notrack accept
|
skuid powerdns meta l4proto tcp th sport 54 th dport >= 1024 notrack accept
|
||||||
skuid http meta l4proto tcp th sport >= 1024 th dport 54 notrack accept
|
skuid http meta l4proto tcp th sport >= 1024 th dport 54 notrack accept
|
||||||
|
@ -103,13 +103,13 @@ table inet filter {
|
|||||||
type filter hook output priority raw
|
type filter hook output priority raw
|
||||||
|
|
||||||
oif lo goto output-raw-loopback
|
oif lo goto output-raw-loopback
|
||||||
skuid != { root, systemd-network, unbound, chrony, http, mastodon } counter goto graceful-reject
|
skuid != { root, systemd-network, unbound, alpm, chrony, http, mastodon } counter goto graceful-reject
|
||||||
meta l4proto { icmp, ipv6-icmp } notrack accept
|
meta l4proto { icmp, ipv6-icmp } notrack accept
|
||||||
}
|
}
|
||||||
|
|
||||||
chain output-raw-loopback {
|
chain output-raw-loopback {
|
||||||
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
||||||
skuid { chrony, mastodon } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
skuid { alpm, chrony, mastodon } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
||||||
|
|
||||||
skuid postgres udp sport >= 1024 udp dport >= 1024 notrack accept
|
skuid postgres udp sport >= 1024 udp dport >= 1024 notrack accept
|
||||||
|
|
||||||
|
@ -113,13 +113,13 @@ table inet filter {
|
|||||||
type filter hook output priority raw
|
type filter hook output priority raw
|
||||||
|
|
||||||
oif lo goto output-raw-loopback
|
oif lo goto output-raw-loopback
|
||||||
skuid != { root, systemd-network, unbound, chrony, http } counter goto graceful-reject
|
skuid != { root, systemd-network, unbound, alpm, chrony, http } counter goto graceful-reject
|
||||||
meta l4proto { icmp, ipv6-icmp } notrack accept
|
meta l4proto { icmp, ipv6-icmp } notrack accept
|
||||||
}
|
}
|
||||||
|
|
||||||
chain output-raw-loopback {
|
chain output-raw-loopback {
|
||||||
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
skuid unbound meta l4proto { tcp, udp } th sport 53 th dport >= 1024 notrack accept
|
||||||
skuid chrony meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
skuid { alpm, chrony } meta l4proto { tcp, udp } th sport >= 1024 th dport 53 notrack accept
|
||||||
|
|
||||||
skuid != root counter goto graceful-reject
|
skuid != root counter goto graceful-reject
|
||||||
notrack accept
|
notrack accept
|
||||||
|
@ -35,6 +35,8 @@ Color
|
|||||||
CheckSpace
|
CheckSpace
|
||||||
VerbosePkgLists
|
VerbosePkgLists
|
||||||
#ParallelDownloads = 5
|
#ParallelDownloads = 5
|
||||||
|
DownloadUser = alpm
|
||||||
|
#DisableSandbox
|
||||||
ILoveCandy
|
ILoveCandy
|
||||||
|
|
||||||
# By default, pacman accepts packages signed by keys that its local keyring
|
# By default, pacman accepts packages signed by keys that its local keyring
|
||||||
|
Loading…
Reference in New Issue
Block a user