cidr.ts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. // Baidu Public DNS
  28. '180.76.76.0/24',
  29. // Ali Public DNS
  30. '223.5.5.0/24',
  31. '223.6.6.0/24',
  32. // Tencent DNSPod Public DNS
  33. '119.29.29.0/24',
  34. '119.28.28.0/24',
  35. '120.53.53.0/24',
  36. '1.12.12.0/24',
  37. '1.12.34.0/24',
  38. // ByteDance Public DNS
  39. '180.184.1.0/24',
  40. '180.184.2.0/24',
  41. // 360 Public DNS
  42. '101.198.198.0/24',
  43. '101.198.199.0/24',
  44. '211.99.96.0/19', // wy.com.cn
  45. '40.72.0.0/15', // AS58593, Azure China, Shanghai
  46. '42.159.0.0/16', // AS58593, Azure China, Shanghai
  47. '52.130.0.0/17', // AS58593, Azure China, Shanghai
  48. '52.131.0.0/16', // AS58593, Azure China, Beijing
  49. '103.9.8.0/22', // AS58593, Azure China, Backbone
  50. '139.217.0.0/16', // AS58593, Azure China, Shanghai
  51. '139.219.0.0/16', // AS58593, Azure China, Shanghai
  52. '143.64.0.0/16', // AS58593, Azure China, Beijing
  53. '159.27.0.0/16', // AS58593, Azure China, Beijing
  54. '163.228.0.0/16', // AS58593, Azure China, Beijing
  55. // NetEase
  56. '223.252.196.0/24'
  57. ];