惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
Martin Fowler
Martin Fowler
月光博客
月光博客
AI
AI
B
Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
C
CXSECURITY Database RSS Feed - CXSecurity.com
WordPress大学
WordPress大学
GbyAI
GbyAI
L
Lohrmann on Cybersecurity
O
OpenAI News
Schneier on Security
Schneier on Security
P
Palo Alto Networks Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
V2EX - 技术
V2EX - 技术
W
WeLiveSecurity
L
LINUX DO - 最新话题
人人都是产品经理
人人都是产品经理
S
Security Affairs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
Arctic Wolf
Recorded Future
Recorded Future
Microsoft Security Blog
Microsoft Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
G
GRAHAM CLULEY
N
Netflix TechBlog - Medium
TaoSecurity Blog
TaoSecurity Blog
C
Check Point Blog
Scott Helme
Scott Helme
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Apple Machine Learning Research
Apple Machine Learning Research
PCI Perspectives
PCI Perspectives
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Vercel News
Vercel News
The Hacker News
The Hacker News
Y
Y Combinator Blog
Latest news
Latest news
SecWiki News
SecWiki News
Hugging Face - Blog
Hugging Face - Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Google Online Security Blog
Google Online Security Blog
Webroot Blog
Webroot Blog
Google DeepMind News
Google DeepMind News
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
Cisco Blogs
博客园_首页
H
Hackread – Cybersecurity News, Data Breaches, AI and More
宝玉的分享
宝玉的分享
L
LINUX DO - 热门话题

繁星点点

最新轻量级龙虾部署教程 通过netboot.xyz重装系统 giffgaff卡保号教程 Llinux系统中全新透明代理方案(可代理所有出站流量) tailscale开启子网路由常见的坑 OpenWrt固件编译 解决UFW和Docker的问题 使用PGP的非对称算法加密文件 NSSM工具把任意exe程序注册为Windows后台服务 轻量级简约端口转发rinetd 安卓IDE的安装和使用 IP信息查询网站汇总 热点共享代理教程 SSH使用密钥认证登录详细解释 Debian系统公网IP出口切换指南,适用多IP服务器 Windows系统安装Scoop包管理器 安卓Flutter开发学习笔记 使用手机搭建节点服务端 关于github提交记录泄露真实邮箱的处理办法 anytls协议部署教程 caddy给域名用上ECH加密 通过gitlab流水线自动备份仓库 通过CF-Workers代理访问网站 低配机器使用alpine系统跑docker 端口敲门教程 3x-ui面板通过api管理示例 nmap端口扫描 数据库常用命令 snap和winget包管理器 Git推送GitHub常用命令 😩😩😩学不完,根本学不完😩😩😩 使用CDN后获取访客真实IP 一些用于网络测试的下载测速文件 纯v6网络访问v4站点最简单的方法 服务器配置SSH密钥登录 windows重装系统教程 Docker部署哪吒监控 Github-Actions默认用户变量GITHUB_TOKEN的提权语法 给站点套CFT的一些坑 解决CF反代Docker失效的问题 使用py3快速启动一个文件上传和下载的接口 ios系统最新免拔卡使用tiktok方法 clash手搓配置最全协议示例详解 为IP地址申请免费证书并开启HTTPS 实用网站收藏 纯CSS实现剧透效果 网络安全之百度URL欺骗漏洞分析和复现 超级强大的ansible批量管理主机运维工具使用教程 收集整理的最新的常用VPS脚本工具 无法注册TG账号和国内号码接收不到验证码详细解决方案 国内环境安装xui面板 免费接码网站合集 完整的网络状态码列表 关于xui面板报错无法监听127.0.0.1:62789的问题 Xboard面板常见问题 项目编译构建文档 ios最新美区ID注册方法 V2board前后端分离 Markdown语法教程 Github加速 Docker镜像加速和离线安装 Liunx配置wrap 代理工具和SSH工具推荐 常用代码记录
在CloudflareWAF中屏蔽国内浏览器
2024-08-21 · via 繁星点点

要在Cloudflare WAF免费计划中添加屏蔽国内浏览器的规则,请按照以下步骤操作。这个规则基于用户代理字符串来屏蔽特定的浏览器。以下是具体的步骤和完整的规则表达式:

步骤:

  • 登录到 Cloudflare Dashboard
  • 选择托管的域名
  • 在左侧导航栏中选择 Security
  • 点击 WAF
  • 选择 Custom rules
  • 点击 Create rule
  • Expression preview 右侧点击 Edit expression
  • 复制以下规则表达式
(http.user_agent contains "115Browser") or 
(http.user_agent contains "2345chrome") or 
(http.user_agent contains "2345Explorer") or 
(http.user_agent contains "360EE") or 
(http.user_agent contains "360SE") or 
(http.user_agent contains "AliApp") or 
(http.user_agent contains "Baidu") or 
(http.user_agent contains "BaiduHD") or 
(http.user_agent contains "baidubrowser") or 
(http.user_agent contains "baiduboxapp") or 
(http.user_agent contains "baidu") or 
(http.user_agent contains "BIDUBrowser") or 
(http.user_agent contains "com.douban.frodo") or 
(http.user_agent contains "DingTalk") or 
(http.user_agent contains "HarmonyOS") or 
(http.user_agent contains "HUAWEI") or 
(http.user_agent contains "HuaweiBrowser") or 
(http.user_agent contains "huawei") or 
(http.user_agent contains "IqiyiApp") or 
(http.user_agent contains "LBBROWSER") or 
(http.user_agent contains "LieBaoFast") or 
(http.user_agent contains "Mb2345Browser") or 
(http.user_agent contains "MetaSr") or 
(http.user_agent contains "MicroMessenger") or 
(http.user_agent contains "MiuiBrowser") or 
(http.user_agent contains "MZBrowser") or 
(http.user_agent contains "OppoBrowser") or 
(http.user_agent contains "QHBrowser") or 
(http.user_agent contains "QihooBrowser") or 
(http.user_agent contains "QQ") or 
(http.user_agent contains "QQBrowser") or 
(http.user_agent contains "Quark") or 
(http.user_agent contains "SNEBUY-APP") or 
(http.user_agent contains "Sogou") or 
(http.user_agent contains "SP-engine") or 
(http.user_agent contains "TheWorld") or 
(http.user_agent contains "UC") or 
(http.user_agent contains "UCBrowser") or 
(http.user_agent contains "UCWEB") or 
(http.user_agent contains "UBrowser") or 
(http.user_agent contains "VivoBrowser") or 
(http.user_agent contains "WeChat") or 
(http.user_agent contains "Weibo") or 
(http.user_agent contains "Weixin") or 
(http.user_agent contains "wxwork")

注意事项:

  • 区分大小写:Cloudflare WAF 的规则是区分大小写的,因此请确保所有用户代理字符串都使用正确的大小写格式。
  • 验证规则:在应用规则之前,可以使用 Cloudflare 的表达式预览功能来验证规则的正确性和效果。
  • 这个规则涵盖了大多数常见的国内浏览器用户代理字符串,并按照字母顺序进行了排序。如果有遗漏,可以根据需要进行补充。