这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@return42
Copy link
Member

Many bots will probably use other user agents than the common ones (or rotate different ones)[1].

On my instance I can observe how bots with other UA headers are no longer stopped with the patch of PR #4696.

This reverts PR #4696 commit 19b116f.

[1] #4696 (review)


To be clear, I understand the intention of #4696 and think the reasoning is correct. However, I only see disadvantages for me in practice, which is why I am applying this patch to my instance and making it available to the community with this PR.

The PR is rebased in the event of conflicts with the master branch / it can simply be patched on top of your own instance via cherry picking.

@return42 return42 added the area: limiter Things about the limiter bot protection label May 20, 2025
@unixfox
Copy link
Contributor

unixfox commented May 20, 2025

How do you know that these are not legitimate users instead:

Many bots will probably use other user agents than the common ones

?

Any insights to share? Screenshots or explanation about real data?

…earxng#4696)"

Many bots will probably use other user agents than the common ones (or rotate
different ones)[1].

On my instance I can observe how bots with other UA headers are no longer
stopped with the patch of PR searxng#4696.

This reverts PR searxng#4696 commit 19b116f.

[1] searxng#4696 (review)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
@return42
Copy link
Member Author

FYI last force push was just a rebase on current master to solve a conflict / related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: limiter Things about the limiter bot protection

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants