github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/sysproxy/privateaddr.go (about)

     1  package sysproxy
     2  
     3  var priAddr = []string{
     4  	"localhost",
     5  	"::1",
     6  	"0.0.0.0/8",
     7  	"10.0.0.0/8",
     8  	"100.64.0.0/10",
     9  	"127.0.0.0/8",
    10  	"169.254.0.0/16",
    11  	"172.16.0.0/12",
    12  	"192.0.0.0/29",
    13  	"192.0.2.0/24",
    14  	"192.88.99.0/24",
    15  	"192.168.0.0/16",
    16  	"198.18.0.0/15",
    17  	"198.51.100.0/24",
    18  	"203.0.113.0/24",
    19  	"224.0.0.0/3",
    20  }