fix: anubis must not OG_PASSTHROUGH #481
No reviewers
Labels
No labels
bug
cleanup
duplicate
enhancement
forgefriends
help wanted
invalid
label workflow
need more info
question
refactor
static-site
sync
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/k8s-cluster#481
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/521/head097a9d207156ea01dc1a2366b49635871e704aa2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OG_PASSTHROUGH is self defeating in the patterns used to crawl
forgejo because there is a very wide variety of URLs. It is only
effective when a lot of requests are made in a short (24h) period
of time.
Since Matrix and all user agents in need of OpenGraph announce
themselves with proper user agents, it is enough to only route
user agents matching Mozilla|Opera to anubis and let the rest go
directly to Forgejo.
using https://invisible.forgejo.org/infrastructure/k8s-cluster/issues/482
The number of 200 requests is consistent with OpenGraph passthrough being deactivated. Now Anubis is effective. Previously it would have sent an additional ~600,000 requests, one for each challenge (code 202).
added by F3
@ -107,9 +107,7 @@ spec:
- name: 'DIFFICULTY'
value: '1'
- name: 'OG_PASSTHROUGH'
value: 'true'
we should explicit disable it for now
c3ada98f2f..097a9d2071
agreed
Pull request closed