BUG: missing subnets in bypass_private_route
Hello,
I noticed two problems with the bypass_private_route array (using for "Bypass LAN"):
112.124.47.0/24and114.114.114.0/24(both ranges are global and used in China) are not included.192.0.0.0/24(private network) is not fully excluded.
Is there any specific reason for that?
LAN subnet are 192.168.0.0/16 (not 192.0.0.0/24), 172.16.0.0/12 and 10.0.0.0/8, see RFC
112.124.47.0/24 and 114.114.114.0/24 aren't private network subnets: they are public, routable subnets (AS37963 delegated to Aliyun Computing Co., LTD and AS21859 delegated to NanJing XinFeng Information Technologies, Inc)
@Nik-mmzd
not 192.0.0.0/24
https://en.wikipedia.org/wiki/Reserved_IP_addresses
112.124.47.0/24 and 114.114.114.0/24 aren't private network subnets
Yep, and that is why these ranges should be present in the array. See: https://github.com/xchacha20-poly1305/husi/commit/45f5c142059b6f2db154427c698c8ee436fef9e6 for details.