Project

General

Profile

Actions

Feature #10912

closed

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

Added by postmodern (Hal Brodigan) over 6 years ago. Updated about 4 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
Actions

Also available in: Atom PDF