[Bug] [Discussion] filter_var and reserved IP address range
| From: | Andrew Nester | Date: | Tue, 13 Jun 2017 15:03:25 +0000 |
| Subject: | [Bug] [Discussion] filter_var and reserved IP address range | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-99510@lists.php.net to get a copy of this message | ||
Hello!
Currently I am working on bug #74699 (Thanks brianlmoon for pointing this issue).
Here is some details:
In patch applied for bug #72972 IP address block 240.0.0.0/4 has been removed from list of reserved.
But according to IP Multicast Address Specification:
“The range of addresses between 224.0.0.0 and 224.0.0.255, inclusive,
is reserved for the use of routing protocols and other low-leveltopology discovery or maintenance
protocols,
such as gateway discoveryand group membership reporting.
Multicast routers should not forwardany multicast datagram with destination addresses in this
range,regardless of its TTL.”
Here is the full specification:
https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xhtml
That’s why my PR introducing changes to include addresses between 224.0.0.0 and 224.0.0.255 in
list of reserved.
Here is link to my PR
https://github.com/php/php-src/pull/2562
Thanks!