-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[建议] 希望增加一个“为空”和“不为空”的判断条件 #744
Labels
Comments
臣附议 |
想拦截UA为空的访问,现在的配置项好些没办法实现 |
为啥需要判断Header头里面是否有某个参数呢 |
比如说如果UA为空,那很有可能就是机器人 |
你想说的是不是 【没有 UA】?机器人一般也不会特地发个 UA 但是为空。 可以看看大家反馈。但是 “拦截没有 UA 的请求” 这种规则非常好绕过呀,机器人加个 UA 就行了,似乎效果很有限?想防机器人的话还是建议直接开 “语义分析” - “机器人检测” 或者 “人机验证”。 |
我的意思就是请求头里不含UA这个字段。有这个判断条件可以判断出来当然是更好,用“机器人检测”有些识别不到。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
背景与遇到的问题
希望在黑名单的Header匹配条件中加入一个为空和不为空的选项,即判断Header头里面是否有某个参数。
建议的解决方案
如图
The text was updated successfully, but these errors were encountered: