[ruby-core:78385] [Ruby trunk Feature#10912] Add method(s) to IPAddr for determining whether an address is link local
From:
put.a.feud.pike011235@...
Date:
2016-11-27 04:12:02 UTC
List:
ruby-core #78385
Issue #10912 has been updated by Teppei Fukuda. I also want a method to determine whether an address is link-local. There is a proposal for a fix on https://github.com/ruby/ruby/pull/1494 . ---------------------------------------- Feature #10912: Add method(s) to IPAddr for determining whether an address is link local https://bugs.ruby-lang.org/issues/10912#change-61759 * Author: Hal Brodigan * Status: Open * Priority: Normal * Assignee: ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>