WIP: feat(next-v7): extend anubis policy #934
No reviewers
Labels
No labels
bug
cleanup
duplicate
enhancement
forgefriends
help wanted
hetzner
invalid
label workflow
need more info
question
refactor
static-site
sync
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infrastructure/k8s-cluster!934
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/v7-anubis-policy"
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?
base on this file
this adds a lot of complexity so I have to ask: how effective will this be against when is actually causing problem?
@earl-warren wrote in https://invisible.forgejo.org/infrastructure/k8s-cluster/pulls/940#issuecomment-9458:
While it looks complex, the main thing we're doing here is using the recommended defaults of Anubis to decide when it should ramp up the difficulty based upon it's own internal policies.
A lot of this logic also just evaluates browsers based upon how "realistic" they appear to be, and allows browsers that seem pretty legit coming from clean IPs to bypass it entirely. All of this can be fine-tuned, but I do think it's worth trying this for at least a short time to see if it remains effective at stopping crawlers while reducing the number of human complaints about being unable to solve Anubis.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.