mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 21:49:22 -05:00
switch to unix socket socket for redis
This commit is contained in:
parent
f8d62478cf
commit
53b2431f6b
@ -48,16 +48,13 @@ table inet filter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
chain output-internal {
|
chain output-internal {
|
||||||
skuid unbound meta l4proto {tcp, udp} th sport 53 th dport >= 1024 th dport != {3000, 4000, 6379} accept
|
skuid unbound meta l4proto {tcp, udp} th sport 53 th dport >= 1024 th dport != {3000, 4000} accept
|
||||||
skuid {chrony, mastodon} meta l4proto {tcp, udp} th sport >= 1024 th sport != {3000, 4000, 6379} th dport 53 accept
|
skuid {chrony, mastodon} meta l4proto {tcp, udp} th sport >= 1024 th sport != {3000, 4000} th dport 53 accept
|
||||||
|
|
||||||
skuid postgres udp sport >= 1024 udp sport != {3000, 4000, 6379} udp dport >= 1024 udp dport != {3000, 4000, 6379} accept
|
skuid postgres udp sport >= 1024 udp sport != {3000, 4000} udp dport >= 1024 udp dport != {3000, 4000} accept
|
||||||
|
|
||||||
skuid mastodon tcp sport {3000, 4000, 6379} tcp dport >= 1024 tcp dport != {3000, 4000, 6379} accept
|
skuid mastodon tcp sport {3000, 4000} tcp dport >= 1024 tcp dport != {3000, 4000} accept
|
||||||
skuid http tcp sport >= 1024 tcp sport != {3000, 4000, 6379} tcp dport {3000, 4000, 6379} accept
|
skuid http tcp sport >= 1024 tcp sport != {3000, 4000} tcp dport {3000, 4000} accept
|
||||||
|
|
||||||
skuid redis tcp sport 6379 tcp dport >= 1024 tcp dport != {3000, 4000, 6379} accept
|
|
||||||
skuid mastodon tcp sport >= 1024 tcp sport != {3000, 4000, 6379} tcp dport 6379 accept
|
|
||||||
|
|
||||||
skuid != root counter goto output-reject
|
skuid != root counter goto output-reject
|
||||||
accept
|
accept
|
||||||
|
@ -10,7 +10,6 @@ server:
|
|||||||
outgoing-port-permit: 1024-65535
|
outgoing-port-permit: 1024-65535
|
||||||
outgoing-port-avoid: 3000 # mastodon web
|
outgoing-port-avoid: 3000 # mastodon web
|
||||||
outgoing-port-avoid: 4000 # mastodon streaming
|
outgoing-port-avoid: 4000 # mastodon streaming
|
||||||
outgoing-port-avoid: 6379 # redis
|
|
||||||
outgoing-port-avoid: 7275 # supl
|
outgoing-port-avoid: 7275 # supl
|
||||||
outgoing-port-avoid: 8008 # synapse
|
outgoing-port-avoid: 8008 # synapse
|
||||||
outgoing-port-avoid: 8080 # attestation
|
outgoing-port-avoid: 8080 # attestation
|
||||||
|
Loading…
Reference in New Issue
Block a user