- Jul 31, 2024
-
-
Kristian Klausen authored
archwiki: Add simple challenge for Chinese IP addresses See merge request !851
-
Kristian Klausen authored
The wiki has been hammered with requests from some stupid Chinese bots/crawlers. Adding a simple challenge (requiring a cookie to be set), seems to be enough to throw them off. This was initially added for all pages, but as that could affect Chinese search engines (concern raised on the forum[1]), it was changed to only affect "action views", which search engines are not supposed to crawl. [1] https://bbs.archlinux.org/viewtopic.php?pid=2185963#p2185963
-
Kristian Klausen authored
This will be used for installing the geoip2 module, so we can make it more difficult for Chinese bots to crawl the wiki. The name of the shared object file can be overridden in case it is not named ngx_http_{{ module.name }}_module.so, e.g. srcache where the shared object is named ngx_http_srcache_filter_module.so.
-
- Jul 30, 2024
-
-
Jan Alexander Steffens (heftig) authored
-
- Jul 29, 2024
-
-
Jelle van der Waa authored
Archweb now exports Prometheus status via /metrics with request duration information.
-
- Jul 28, 2024
-
-
Jan Alexander Steffens (heftig) authored
Add support for "legacy" RSA 4096 certs Closes releng#22 See merge request !852
-
Jan Alexander Steffens (heftig) authored
To shut up the linter.
-
Jan Alexander Steffens (heftig) authored
Using a cert named after the primary domain with `_legacy` appended. However, the cert is only issued for the legacy domains, not the primary domain. Deploy for `ipxe.archlinux.org`. Fixes: archlinux/releng#22
-
Jan Alexander Steffens (heftig) authored
They might conflict with the normal configuration, so we don't want these redirects to get cached.
-
Jan Alexander Steffens (heftig) authored
-
Jan Alexander Steffens (heftig) authored
With RSA 4096 instead of ECDSA.
-
Jan Alexander Steffens (heftig) authored
Don't require the cert to have the same name as the first domain.
-
- Jul 27, 2024
-
-
Kristian Klausen authored
This reverts commit f5b566fa. We no longer have cloud servers with 1-vCPU so this isn't needed.
-
- Jul 23, 2024
-
-
Evangelos Foutras authored
Simplify the role by removing the configurability of "EditionIDs", and hardcoding its value to "GeoLite2-Country GeoLite2-City". While it was originally intended for consumers to select which database(s) to fetch, it's not straightforward how to support multiple inclusions of the role.
-
Evangelos Foutras authored
This reverts commit a9b596c4. We no longer have cloud servers with 1-vCPU so this isn't needed.
-
- Jul 21, 2024
-
-
Jan Alexander Steffens (heftig) authored
dbscripts: Unbreak mirrorauth See merge request !849
-
Jan Alexander Steffens (heftig) authored
archlinux.org started rejecting connections without SNI because of experiments with deploying HTTP/3. See: !850
-
Jan Alexander Steffens (heftig) authored
nginx: Set a resolver Closes #607 See merge request !848
-
Jan Alexander Steffens (heftig) authored
This is required of OCSP stapling to work, or you get warnings when NGINX starts up: no resolver defined to resolve e6.o.lencr.org while requesting certificate status Let NGINX use the local systemd-resolved as its resolver. Fixes: #607
-
Christian Heusel authored
After fixing the cert setup on the host a working certbot installation is needed for the automatic cert renewal. Signed-off-by:
Christian Heusel <christian@heusel.eu>
-
Christian Heusel authored
Fixes: 7fdcc769 ("Revert "dbscripts: Add tmpfiles.d/rsyncd.conf for abs and friends"") Signed-off-by:
Christian Heusel <christian@heusel.eu>
-
- Jul 20, 2024
-
-
Kristian Klausen authored
Ensure atomicity for lastsync file See merge request !794
-
We try to ensure an atomic operation of the lastsync file. This requires creating a tmp file which needs to be ignored. This should take care of having empty lastsync files being served. Possible cause is that the IO is stuck thus taking several seconds to write the lastsync timestamp. This causes mirrors to download the empty file which causes checks to fail.
-
Jelle van der Waa authored
One year of mirrorlogs keeps a table of 5000 MB which is rather large as we only show 7 days of logs. Keep it 6 months as maybe in the future mirror operators are interested in older data.
-
Jelle van der Waa authored
Keep postgresql connections around for 5 minutes this avoids expensive authentication requests.
-
Jan Alexander Steffens (heftig) authored
certbot: Use ECDSA (P-256) certificates, not RSA See merge request !844
-
Jan Alexander Steffens (heftig) authored
certbot switched to ECDSA by default about two years ago, following [recommended practices][1]. We are currently using RSA with 4096 bits, which is extremely slow to sign. Using ECDSA should give us a nice speedup. [1]: https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28recommended.29
-
Jan Alexander Steffens (heftig) authored
nginx: Update SSL settings to current guidelines See merge request !843
-
Jan Alexander Steffens (heftig) authored
This reduces the session cache size and adds the `DHE-RSA-CHACHA20-POLY1305` cipher.
-
Jan Alexander Steffens (heftig) authored
dbscripts: Enable proxy_cache_background_update for mirrorauth See merge request !842
-
Jan Alexander Steffens (heftig) authored
This allows serving a stale response even to the request that triggers an update. This should ensure all requests finish quickly. With just `proxy_cache_use_stale updating`, the request that attempts to update the cache waits for the response, while all other requests get to use the stale response. Currently archweb is badly overloaded and can take over half a minute to respond. Pacman is not that patient and fails the download.
-
Jan Alexander Steffens (heftig) authored
-
- Jul 18, 2024
-
-
Jelle van der Waa authored
planet.archlinux.org redirects to https://archlinux.org/planet which then redirects to https://archlinux.org/planet/. Skip one extra redirect.
-
Jelle van der Waa authored
As we aren't the speediest at checking, this is fine.
-
Jelle van der Waa authored
This rate limits the endpoint which does things (ie. uwsgi). 10 requests per second was already a lot, so 5 should be fine, realistically it can go lower as we have a burst.
-
- Jul 17, 2024
-
-
Jan Alexander Steffens (heftig) authored
-
Jan Alexander Steffens (heftig) authored
-
- Jul 15, 2024
-
-
Christian Heusel authored
Update archmanweb to v1.11 See merge request !841
-
Jakub Klinkovský authored
-
- Jul 13, 2024
-
-
Jelle van der Waa authored
See: #600
-