RFC 6598
This commit is contained in:
parent
3bc81ea952
commit
568bd43733
1 changed files with 3 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ namespace Server.Misc
|
|||
// 172.16.0.0/12
|
||||
// 192.168.0.0/16
|
||||
// 169.254.0.0/16
|
||||
// 100.64.0.0/10 RFC 6598
|
||||
|
||||
if ( ip.AddressFamily == AddressFamily.InterNetworkV6 )
|
||||
return false;
|
||||
|
|
@ -163,6 +164,8 @@ namespace Server.Misc
|
|||
return true;
|
||||
else if ( Utility.IPMatch( "169.254.*", ip ) )
|
||||
return true;
|
||||
else if ( Utility.IPMatch( "100.64-127.*", ip ) )
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue