Allow 1.2.3.0/24 style masks in Login Keys

Version 1.61.0

Feature
Finished

The IP lists for Login Keys now permit the use of standardized subnet masks, eg: 1.2.3.0/24 which would allow the login from any 1.2.3.x IP address. (Can be any sized bit /mask, doesn't not need to be per 255 block. This also works for IPv6 addresses and /128 masks. All types are run through inet_pton, and IPv4's are internally prefixed with ::FFFF:, so they're also worked on in an IPv6 space. --------- Compile time: May 3 2020 at 21:29:29 T26436

Interested to try DirectAdmin? Get a 30-day Free Trial!