cidr.ts 667 B

1234567891011121314151617181920212223242526272829
  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. export const CN_CIDR_NOT_INCLUDED_IN_CHNROUTE = [
  26. '211.99.96.0/19' // wy.com.cn
  27. ];