Project

General

Profile

Feature #10912

Add method(s) to IPAddr for determining whether an address is link local

Added by postmodern (Hal Brodigan) over 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:68332]

Description

I was surprised to find that IPAddr has no methods for determining whether an address is a link local address (ie RFC1918 or RFC5735). This would make it easy to blacklist local IP addresses from services.


Related issues

Is duplicate of Ruby master - Feature #11666: IPAddr#private?Closedknu (Akinori MUSHA)Actions

Also available in: Atom PDF