大网数据广告活动
网站运营与故障问答

Is it safe to BAN ASN from Hosting providers?

· 52CE 我爱测

I have some bot problem, i found their ASN and it comes from web hosting providers. Not ISP's. For example: Hetzner: AS24940 Digital Ocean: AS14061 AMAZON-AES: AS14618 Is it safe to ban entire ASN's if they belong to hosting prov…

问题原文

原帖链接 · Michael Rogers · CC BY-SA 4.0

I have some bot problem, i found their ASN and it comes from web hosting providers. Not ISP's. For example:

  • Hetzner: AS24940
  • Digital Ocean: AS14061
  • AMAZON-AES: AS14618

Is it safe to ban entire ASN's if they belong to hosting providers? There's like 2 million IP's in these. I wouldn't like to ban legitimate visitors.

已采纳解答

原帖链接 · closetnoc · CC BY-SA 4.0

Is it safe to ban entire ASN's if they belong to hosting providers?

Yes.

These are not users. Assigned IP addresses are assigned in blocks that are either subscriber, such as DSL customers, or non-subscriber, such as web hosting. It is always safe to block non-subscriber blocks short of a search engine or other service you may actually want. For example, I routinely block traffic from link bots and site performance sites by blocking the entire assigned block(s) as well as web hosts that have a problem with hacked servers or host spam bots, scrapers, etc.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2019-10-21)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。