cidr.ts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. '40.72.0.0/15', // AS58593, Azure China, Shanghai
  29. '42.159.0.0/16', // AS58593, Azure China, Shanghai
  30. '52.130.0.0/17', // AS58593, Azure China, Shanghai
  31. '52.131.0.0/16', // AS58593, Azure China, Beijing
  32. '103.9.8.0/22', // AS58593, Azure China, Backbone
  33. '139.217.0.0/16', // AS58593, Azure China, Shanghai
  34. '139.219.0.0/16', // AS58593, Azure China, Shanghai
  35. '143.64.0.0/16', // AS58593, Azure China, Beijing
  36. '159.27.0.0/16', // AS58593, Azure China, Beijing
  37. '163.228.0.0/16' // AS58593, Azure China, Beijing
  38. ];