Skip to content

Commit

Permalink
增加北京上海CMN2的IP前缀
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS authored Jun 1, 2024
1 parent ad2c9a7 commit bc36b6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backtrace/asn.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ func ipAsn(ip string) string {
case strings.HasPrefix(ip, "219.158"):
return "AS4837"
case strings.HasPrefix(ip, "223.120.19") || strings.HasPrefix(ip, "223.120.17") || strings.HasPrefix(ip, "223.120.16") ||
strings.HasPrefix(ip, "223.120.140") || strings.HasPrefix(ip, "223.120.130"):
strings.HasPrefix(ip, "223.120.140") || strings.HasPrefix(ip, "223.120.130") || strings.HasPrefix(ip, "223.120.131") ||
strings.HasPrefix(ip, "223.120.141"):
return "AS58807"
case strings.HasPrefix(ip, "223.118") || strings.HasPrefix(ip, "223.119") || strings.HasPrefix(ip, "223.120") || strings.HasPrefix(ip, "223.121"):
return "AS58453"
Expand Down

0 comments on commit bc36b6b

Please sign in to comment.