Skip to content
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

Recommendation: Add Guidelines for ASN-Based Geo Blocking Rules #13

Open
groundcat opened this issue Aug 4, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@groundcat
Copy link

groundcat commented Aug 4, 2024

Control-D now supports filtering by ASNs. For example:

  • @AS16509 - This will match queries that resolve to IPs belonging to AS16509 (Amazon.com).
  • !@AS13335 - This will match queries that do not resolve to AS13335 (Cloudflare Inc).

In your method for identifying potentially malicious IPs, you listed all IPs from multiple countries as potentially (controversially) malicious, such as RU, CN, etc. However, I doubt that blocking target IPs in there would provide a decent level of protection, because many of their state-sponsored vendors or cloud providers more often use overseas infrastructure that typically have overseas IPs/CDN nodes but still belongs to their ASNs.

For example, to more effectively block China's state-sponsored cloud providers, use this GitHub repository, which contains a list of ASNs for all China-based providers/ISPs. This covers IPs not only in mainland China but also in other locations.

Converted to Control-D format:

@yokoffing yokoffing added the enhancement New feature or request label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants