I guess this is a revert of T247165: IPUtils allows illegal value for netmask (/0), ie I broke it...
https://s3.amazonaws.com/tr-learncanvas/docs/IP_Filtering_in_Canvas.pdf
CIDR block of/0 would allow access to any IP address between 0.0.0.0 and 255.255.255.255