openziti / desktop-edge-win

Provides a Ziti client for Windows
Apache License 2.0
35 stars 13 forks source link

min allowed block for IPs is too large #524

Open dovholuknf opened 2 years ago

dovholuknf commented 2 years ago

Right now the Ipv4MinMask is set to 16 which is "too many bytes" (too many IP addresses). It probably should be something like 24 or some other size that makes sense (or not even validate it at all?)

https://github.com/openziti/desktop-edge-win/blob/d0496a721d11d1a0b443976c00f0161269eff6da/service/ziti-tunnel/constants/consts.go#L23