Commit Graph

18 Commits (0ff1619ea4e2a6702a3fb70135fb656efd64790b)

Author SHA1 Message Date
Kim Alvefur fe0303fe45 util.ip: Support zone id syntax in IPv6 addresses 10 years ago
Anton Shestakov 3e39dcb915 util.ip: rename variable (i is already defined) [luacheck] 10 years ago
Anton Shestakov 4daf38eaeb util.ip: remove unused one-letter loop variables [luacheck] 10 years ago
Matthew Wild be456ba1fa util.ip: Improve comparison, == doesn't necessarily handle IPv6 addresses correctly if they aren't normalized (case, ::, etc.) 10 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Matthew Wild b985f77de3 util.ip: Fix protocol detection of IPv6 addresses beginning with : [Backported from 0.10] 13 years ago
Kim Alvefur 55946c9e63 util.ip: Convert IPv4 mapped addresses to hex. 13 years ago
Matthew Wild e6d86ed80b util.ip: Fix protocol detection of IPv6 addresses beginning with : 13 years ago
Matthew Wild 38abedd438 util.ip: Add CIDR notation parsing and matching 13 years ago
Matthew Wild 0fa89e6a22 util.ip: Add 'private' method/property to determine whether an IP address is generally expected to be internet-routeable (YMMV) 13 years ago
Matthew Wild 5b21f4242a util.ip: Automatically determine protocol of IP address if none specified. Return error if invalid. [Backported from 0.10] 13 years ago
Matthew Wild e2c0ebf93d util.ip: Automatically determine protocol of IP address if none specified. Return error if invalid. 13 years ago
Florian Zeitz 81cb2e4380 util.rfc{3484,6724}: Update to RFC 6724 13 years ago
Matthew Wild d531e402d0 util.ip: Fix syntax error (while I search for my pre-commit hooks) 14 years ago
Matthew Wild 65ffc17487 util.ip: Fix in IP range calculation for 172.16.0.0/12 14 years ago
Florian Zeitz f0cd412842 util.ip: New module containing IP related functions 14 years ago