Commit Graph

18 Commits (d7789712dab1431eafbf00a8f3bb68e45738bc86)

Author SHA1 Message Date
Kim Alvefur e03302f412 util.ip: Support zone id syntax in IPv6 addresses 10 years ago
Anton Shestakov 1e78e0f236 util.ip: rename variable (i is already defined) [luacheck] 10 years ago
Anton Shestakov 416f381c39 util.ip: remove unused one-letter loop variables [luacheck] 10 years ago
Matthew Wild 68b9f29131 util.ip: Improve comparison, == doesn't necessarily handle IPv6 addresses correctly if they aren't normalized (case, ::, etc.) 10 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Matthew Wild 2b64027204 util.ip: Fix protocol detection of IPv6 addresses beginning with : [Backported from 0.10] 13 years ago
Kim Alvefur 146ed08e62 util.ip: Convert IPv4 mapped addresses to hex. 13 years ago
Matthew Wild 97cef2740b util.ip: Fix protocol detection of IPv6 addresses beginning with : 13 years ago
Matthew Wild 62a1d8a2d3 util.ip: Add CIDR notation parsing and matching 13 years ago
Matthew Wild e082db3cf7 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 2ab42c8dbf util.ip: Automatically determine protocol of IP address if none specified. Return error if invalid. [Backported from 0.10] 13 years ago
Matthew Wild 4d630bbd3c util.ip: Automatically determine protocol of IP address if none specified. Return error if invalid. 13 years ago
Florian Zeitz e53d5b4f79 util.rfc{3484,6724}: Update to RFC 6724 13 years ago
Matthew Wild c08e057bd2 util.ip: Fix syntax error (while I search for my pre-commit hooks) 14 years ago
Matthew Wild 762989f7c9 util.ip: Fix in IP range calculation for 172.16.0.0/12 14 years ago
Florian Zeitz 2156033d35 util.ip: New module containing IP related functions 14 years ago