Log

util/ip.lua @ 11180:ab820b2ad199

description author age
util.ip: Fix equality metamethod for Lua 5.3 Kim Alvefur Wed, 15 Jan 2020 21:16:08 +0100
util.ip: Add missing netmask for 192.168/16 range (fixes #1343) 0.11 Kim Alvefur Sun, 14 Apr 2019 02:06:20 +0200
util.ip: Remove redundant caching of method output (supposed to be done in ab9ddfb03d4d but lost somehow) Kim Alvefur Sat, 09 Dec 2017 20:56:37 +0100
util.ip: Convert the correct IP to IPv6-mapped for comparison (fixes traceback, possibly invalid result) Kim Alvefur Sat, 09 Dec 2017 20:53:37 +0100
util.ip: Do equality checking by comparing packed representation to avoid any variations Kim Alvefur Fri, 01 Dec 2017 05:13:28 +0100
util.ip: Add CGNAT network range reserved in RFC 6598 Kim Alvefur Fri, 01 Dec 2017 03:13:52 +0100
util.ip: Do exact match for longer bit counts than available Kim Alvefur Fri, 01 Dec 2017 03:31:37 +0100
util.ip: Do CIDR matching by comparing all bits at once instead of using O(n) function Kim Alvefur Fri, 01 Dec 2017 03:29:25 +0100
util.ip: Cache return values of all methods in one place Kim Alvefur Fri, 01 Dec 2017 02:25:25 +0100
util.ip: Instantiate various addresses used for comparisons once Kim Alvefur Fri, 01 Dec 2017 02:23:57 +0100
util.ip: Simplify creation of IPv6-mapped IPv4 addresses Kim Alvefur Fri, 01 Dec 2017 04:33:49 +0100
util.ip: Add a method returning a normalized IP address Kim Alvefur Fri, 01 Dec 2017 04:33:27 +0100
util.ip: Simplify bitstring method Kim Alvefur Fri, 01 Dec 2017 04:32:20 +0100
util.ip: Make bit string function into a method Kim Alvefur Fri, 01 Dec 2017 04:37:33 +0100
util.ip: Parse IP address using inet_pton Kim Alvefur Fri, 01 Dec 2017 04:39:12 +0100