[Bug] [Discussion] filter_var and reserved IP address range

php.internals

Andrew Nester

9 years ago
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!

Andrew Nester

9 years ago
> On Jun 13, 2017, at 6:03 PM, Andrew Nester <newaltgroup@bk.ru> wrote: > > 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!
Any updates on this? Does it look like reasonable change?

Dan Ackroyd

9 years ago
On 3 August 2017 at 18:08, Andrew Nester <newaltgroup@bk.ru> wrote:
> >> On Jun 13, 2017, at 6:03 PM, Andrew Nester <newaltgroup@bk.ru> wrote: >> >> 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! > > > Any updates on this? > Does it look like reasonable change?
I'm bumping this message as I believe that a lot of people are not receiving Andrew's emails due to his email configuration being borked, and the issues seems like something that should be resolved. cheers Dan

Andrew Nester

9 years ago
> 13 авг. 2017 г., в 18:46, Dan Ackroyd <danack@basereality.com> написал(а): > >> On 3 August 2017 at 18:08, Andrew Nester <newaltgroup@bk.ru> wrote: >> >>> On Jun 13, 2017, at 6:03 PM, Andrew Nester <newaltgroup@bk.ru> wrote: >>> >>> 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! >> >> >> Any updates on this? >> Does it look like reasonable change? > > I'm bumping this message as I believe that a lot of people are not > receiving Andrew's emails due to his email configuration being borked, > and the issues seems like something that should be resolved. > > cheers > Dan
Thanks Dan! Yeah, it would be great to hear some feedback on this issue regarding IP filtering