Commit graph

105 commits

Author SHA1 Message Date
Daniel Micay
e66ad005be drop zerotier-one from ns1.staging.grapheneos.org
We aren't currently using this for testing and it's going to be phased
out for the ns1 servers as soon as we get a second IPv4 /24.

This also switches over to using the nftables ruleset for ns2 instead of
ns1 since it doesn't need the zerotier nftables configuration anymore.
2025-11-21 11:31:48 -05:00
Daniel Micay
a0ba527f9d remove gra1.grapheneos.org and las0.grapheneos.org 2025-11-21 11:31:48 -05:00
Daniel Micay
1fad7ca6cd add fra.grapheneos.org and hio.grapheneos.org servers
These were previously 2 of our 4 OVH ns1.grapheneos.org instances. Our
ns1.grapheneos.network network has been entirely moved to Vultr for BGP
support so we're reusing these 2 instances as replacements for 2 of the
existing grapheneos.org servers.
2025-11-21 11:31:48 -05:00
Daniel Micay
209b1b5def add lon.ns1.grapheneos.org 2025-11-21 11:31:48 -05:00
Daniel Micay
5adb170069 add mia.ns2.grapheneos.org server 2025-11-21 11:31:48 -05:00
Daniel Micay
649e2b53c4 replace remaining OVH ns1 servers with Vultr 2025-11-21 11:31:48 -05:00
Daniel Micay
60b879deb7 hosts: add list of Vultr instances 2025-11-21 11:31:48 -05:00
Daniel Micay
5256f2e4a4 replace 1.ns1.grapheneos.org server with sea.ns1.grapheneos.org 2025-11-21 11:31:48 -05:00
Daniel Micay
f95fa51821 add lax.ns1.grapheneos.org server 2025-11-21 11:31:48 -05:00
Daniel Micay
951662aeca replace 0.ns1.grapheneos.org server with nyc.ns1.grapheneos.org 2025-11-21 11:31:48 -05:00
Daniel Micay
4aba8d355a add mia.ns1.grapheneos.org server 2025-11-21 11:31:48 -05:00
Daniel Micay
f36aa981cd update lax.releases.grapheneos.org IPv6 address 2025-11-21 11:31:48 -05:00
Daniel Micay
ebd44c9253 grapheneos.org: switch to location-based server names 2025-11-21 11:31:48 -05:00
Daniel Micay
3a720695c6 add missing reserved ports entries for unbound 2025-11-21 11:31:48 -05:00
Daniel Micay
37809b12ad new naming convention for staging server hostnames 2025-11-21 11:31:48 -05:00
Daniel Micay
e3bcb9e87f ns2.grapheneos.org: switch to location-based server names 2025-11-21 11:31:48 -05:00
Daniel Micay
93e1d3866b releases.grapheneos.org: switch to location-based server names 2025-11-21 11:31:48 -05:00
Daniel Micay
50729cadb9 split metal and mdraid server types 2025-11-21 03:46:07 -05:00
Daniel Micay
2b90bbc50a journald: reconfigure based on nginx logging split 2025-11-04 14:15:44 -05:00
Daniel Micay
2b9a6f4c59 disable TCP Fast Open for 3.releases.grapheneos.org
It currently causes issues with the TCP synproxy filter we may want to
use to mitigate DDoS attacks.
2025-11-04 11:27:25 -05:00
Daniel Micay
f1ff8ac931 phase out 2.releases.grapheneos.org 2025-11-04 11:19:13 -05:00
Daniel Micay
8697cf2a2d switch back to unified journald rotation/retention
Since we're no longer storing nginx logs in journald, we no longer need
to use journald configuration to control nginx log rotation/retention.

We switched from nginx to dnsdist for the authoritative DNS servers and
are therefore no longer logging any of the queries persistently since we
can rely on the PowerDNS and dnsdist in-memory buffers and stats.

We can use nginx-specific logrotate configuration on a per-server basis
based on balancing the usefulness of access logs with storage space and
getting rid of slightly sensitive data faster (mainly IP addresses).
2025-11-03 20:03:59 -05:00
Daniel Micay
cee00863e3 update servers haven't been on OVH for a while 2025-11-03 00:33:30 -05:00
Daniel Micay
944b4679c1 merge website and network servers
This provides more redundancy for both services through having 2
instances in each region. The network services have much higher
bandwidth usage and load so this will also delay us needing to obtain
new servers by making better use of the ones we have.
2025-11-03 00:33:30 -05:00
Daniel Micay
a346146625 reorder update servers 2025-11-01 20:04:51 -04:00
Daniel Micay
9fde84c877 add initial session ticket key synchronization 2025-10-30 14:22:55 -04:00
Daniel Micay
f9430a1aeb add script for deploying certbot replication setup 2025-10-30 14:22:32 -04:00
Daniel Micay
85c5ccc613 update IP addresses for 0.releases.grapheneos.org 2025-10-28 15:25:16 -04:00
Daniel Micay
02b7e4e5c1 add 3.releases.grapheneos.org server 2025-10-09 09:06:31 -04:00
Daniel Micay
a52a12450d handle update server renaming for authorized_keys 2025-10-07 17:40:32 -04:00
Daniel Micay
e57096dfec disable TCP Fast Open on BuyVM for now 2025-09-30 16:56:21 -04:00
Daniel Micay
c6156ebed7 switch from shaped CAKE to FQ for BuyVM servers
These servers originally only had the 1Gbps base bandwidth and shaping
it with CAKE worked well to make the most of it during traffic spikes
for the web servers. It has little value for the nameservers since the
only potentially high throughput service is non-interactive SSH.

These servers now have 10Gbps burst available but are heavily limited by
their single virtual core and unable to use all of it in practice. CAKE
can only provide significant value when it's the bottleneck which isn't
the case when the workload is CPU limited. We don't want to keep around
the artificially low 1Gbps limit and it can't do much more.

Unlike OVH, the practical bottleneck is the CPU and FQ has the lowest
CPU usage in practice due to being very performance-oriented with a FIFO
fast path and offloading TCP pacing from the TCP stack to itself. On the
DNS servers, the fast path is always used in practice. Our OVH servers
have a much lower enforced bandwidth limit and the way they implement it
ruins fairness across flows. We definitely want to stick with CAKE for
our VPS instances on OVH but it doesn't make sense on BuyVM anymore.
2025-09-18 01:26:39 -04:00
Daniel Micay
8bf64de00d add hosts arrays for ns1 and ns2 2025-09-15 21:10:42 -04:00
Daniel Micay
defb596ac1 raise journal file size for relevant servers 2025-09-04 23:19:40 -04:00
Daniel Micay
676763b8a5 nftables: split out update servers
This will be used for fq-specific configuration.
2025-09-01 19:35:49 -04:00
Daniel Micay
e5ae9ca13b raise tcp_wmem[2] for update servers
Linux recently raised the default tcp_rmem[2] to 32MiB so it makes sense
to match it on the sending side to maximize bandwidth.
2025-09-01 19:35:03 -04:00
Daniel Micay
f54010112e switch to Unix socket for synapse 2025-08-22 16:59:05 -04:00
Daniel Micay
124dd54ef5 more frequent rotation for shorter log retention 2025-08-17 03:17:51 -04:00
Daniel Micay
931c72f9f5 raise journal size for relevant servers 2025-08-17 03:07:20 -04:00
Daniel Micay
785ad04bbf rename update servers 2025-08-03 21:45:34 -04:00
Daniel Micay
53ca057a9a adjust conntrack max based on available memory 2025-07-23 00:26:41 -04:00
Daniel Micay
05bc9199b3 use default log size for 2.ns2.grapheneos.org 2025-05-28 11:35:46 -04:00
Daniel Micay
3f2e33e8df raise journal size for several servers 2025-05-28 11:01:12 -04:00
Daniel Micay
f9f3cdab05 add 1.ns1.grapheneos.org server 2025-05-08 22:26:56 -04:00
Daniel Micay
7095105832 add 3.ns1.grapheneos.org server 2025-05-08 22:26:56 -04:00
Daniel Micay
30128d2654 update releases.grapheneos.org authorized_keys configuration 2025-05-08 22:26:56 -04:00
Daniel Micay
029882f051 set up certificate replication for ns1 replicas 2025-05-05 17:29:54 -04:00
Daniel Micay
c7cb5d025e add 2.ns1.grapheneos.org server 2025-05-04 16:01:04 -04:00
Daniel Micay
566f1a10d2 rename ns1.grapheneos.org to 0.ns1.grapheneos.org 2025-05-03 18:13:18 -04:00
Daniel Micay
c41f579a51 raise journal file size for 2.grapheneos.org 2025-05-03 09:21:37 -04:00