mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-01-31 07:33:20 -05:00
Daniel Micay
cd59960e7b
move IP-based SSH connection limits to nftables
We use synproxy for establishing all new connections to the SSH port and enforce a connection limit between synproxy and the standard network stack. Once the connection limit is reached, it's also enforced for new connections at the synproxy layer. This avoids creating conntrack and connection limit set entries until connections are already established to avoid packets with spoofed source addresses exhausting these limited size tables. Primary servers using SSH to mirror TLS certificates to their replicas are allowlisted.
Information about GrapheneOS servers is available in the GrapheneOS servers article on grapheneos.org.
Description
Shared server infrastructure - https://grapheneos.org/articles/grapheneos-servers
Readme
MIT
1.9 MiB
Languages
Shell
52.3%
Vim Script
43.9%
Python
2.4%
Erlang
1.4%