cidr.ts 879 B

123456789101112131415161718192021222324252627282930313233
  1. // https://en.wikipedia.org/wiki/Reserved_IP_addresses
  2. export const RESERVED_IPV4_CIDR = [
  3. '0.0.0.0/8',
  4. '10.0.0.0/8',
  5. '100.64.0.0/10',
  6. '127.0.0.0/8',
  7. '169.254.0.0/16',
  8. '172.16.0.0/12',
  9. '192.0.0.0/24',
  10. '192.0.2.0/24',
  11. // 192.88.99.0 // is currently being broadcast by HE and Comcast
  12. '192.168.0.0/16',
  13. '198.18.0.0/15',
  14. '198.51.100.0/24',
  15. '203.0.113.0/24',
  16. '224.0.0.0/4',
  17. '233.252.0.0/24',
  18. '240.0.0.0/4'
  19. ];
  20. // https://github.com/misakaio/chnroutes2/issues/25
  21. export const NON_CN_CIDR_INCLUDED_IN_CHNROUTE = [
  22. '223.118.0.0/15',
  23. '223.120.0.0/15'
  24. ];
  25. // https://github.com/misakaio/chnroutes2/issues/46
  26. export const CN_CIDR_NOT_INCLUDED_IN_CHNROUTE = [
  27. '211.99.96.0/19', // wy.com.cn
  28. '139.217.0.0/16', // AS58593, Azure China, Shanghai
  29. '139.219.0.0/16', // AS58593, Azure China, Shanghai
  30. '143.64.0.0/16' // AS58593, Azure China, Beijing
  31. ];