Page MenuHomePhabricator

IPUtils doesn't allow /0
Closed, ResolvedPublic

Description

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

Event Timeline

Change 641289 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/libs/IPUtils@master] Revert "Stop allowing invalid /0 subnet"

https://gerrit.wikimedia.org/r/641289

Change 641289 merged by jenkins-bot:
[mediawiki/libs/IPUtils@master] Revert "Stop allowing invalid /0 subnet"

https://gerrit.wikimedia.org/r/641289

Reedy claimed this task.
Reedy added a subscriber: Legoktm.