index
:
prosody.git
0.11
0.12
master
s2s
sasl
tls
origin/0.11
origin/0.12
origin/master
origin/s2s
origin/sasl
origin/tls
origin/vault/0.11
origin/vault/master
origin/vault/s2s
origin/vault/sasl
origin/vault/tls
unofficial mirror of the prosody mercurial project
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
util
/
ip.lua
Commit message (
Expand
)
Author
Age
Files
Lines
*
util.hex: Deprecate to/from in favour of encode/decode, for consistency!
Matthew Wild
2022-03-04
1
-1
/
+1
*
Merge 0.11->trunk
Kim Alvefur
2021-07-03
1
-1
/
+1
|
\
|
*
util.ip: Fix netmask for link-local address range
Kim Alvefur
2021-07-03
1
-1
/
+1
*
|
util.ip: Fix equality metamethod for Lua 5.3
Kim Alvefur
2020-01-15
1
-1
/
+7
|
/
*
util.ip: Add missing netmask for 192.168/16 range (fixes #1343)
Kim Alvefur
2019-04-14
1
-1
/
+1
*
util.ip: Remove redundant caching of method output (supposed to be done in ab...
Kim Alvefur
2017-12-09
1
-17
/
+7
*
util.ip: Convert the correct IP to IPv6-mapped for comparison (fixes tracebac...
Kim Alvefur
2017-12-09
1
-1
/
+1
*
util.ip: Do equality checking by comparing packed representation to avoid any...
Kim Alvefur
2017-12-01
1
-1
/
+1
*
util.ip: Add CGNAT network range reserved in RFC 6598
Kim Alvefur
2017-12-01
1
-1
/
+2
*
util.ip: Do exact match for longer bit counts than available
Kim Alvefur
2017-12-01
1
-1
/
+1
*
util.ip: Do CIDR matching by comparing all bits at once instead of using O(n)...
Kim Alvefur
2017-12-01
1
-4
/
+13
*
util.ip: Cache return values of all methods in one place
Kim Alvefur
2017-12-01
1
-1
/
+5
*
util.ip: Instantiate various addresses used for comparisons once
Kim Alvefur
2017-12-01
1
-45
/
+49
*
util.ip: Simplify creation of IPv6-mapped IPv4 addresses
Kim Alvefur
2017-12-01
1
-14
/
+1
*
util.ip: Add a method returning a normalized IP address
Kim Alvefur
2017-12-01
1
-0
/
+4
*
util.ip: Simplify bitstring method
Kim Alvefur
2017-12-01
1
-18
/
+2
*
util.ip: Make bit string function into a method
Kim Alvefur
2017-12-01
1
-7
/
+9
*
util.ip: Parse IP address using inet_pton
Kim Alvefur
2017-12-01
1
-21
/
+21
*
util.ip: Reflow module export table
Kim Alvefur
2017-12-01
1
-2
/
+4
*
util.ip: Reflow metatable
Kim Alvefur
2017-12-01
1
-3
/
+9
*
util: Various minor changes to please [luacheck]
Kim Alvefur
2017-11-10
1
-1
/
+6
*
util.ip: rename variable (i is already defined) [luacheck]
Anton Shestakov
2016-07-09
1
-2
/
+2
*
util.ip: remove unused one-letter loop variables [luacheck]
Anton Shestakov
2016-07-09
1
-2
/
+2
*
Merge 0.9->0.10
Kim Alvefur
2016-01-08
1
-1
/
+5
|
\
|
*
util.ip: Support zone id syntax in IPv6 addresses
Kim Alvefur
2016-01-04
1
-1
/
+5
|
*
util.ip: Fix protocol detection of IPv6 addresses beginning with : [Backporte...
Matthew Wild
2013-05-18
1
-2
/
+4
|
*
util.ip: Automatically determine protocol of IP address if none specified. Re...
Matthew Wild
2013-05-17
1
-1
/
+9
*
|
util.ip: Improve comparison, == doesn't necessarily handle IPv6 addresses cor...
Matthew Wild
2015-11-22
1
-4
/
+1
*
|
Remove all trailing whitespace
Florian Zeitz
2013-08-09
1
-1
/
+1
*
|
util.ip: Fix protocol detection of IPv6 addresses beginning with :
Matthew Wild
2013-05-18
1
-2
/
+4
*
|
util.ip: Add CIDR notation parsing and matching
Matthew Wild
2013-05-18
1
-1
/
+24
*
|
Merge 0.9->trunk
Kim Alvefur
2013-05-18
1
-0
/
+7
|
\
|
|
*
util.ip: Convert IPv4 mapped addresses to hex.
Kim Alvefur
2013-05-18
1
-0
/
+7
*
|
util.ip: Add 'private' method/property to determine whether an IP address is ...
Matthew Wild
2013-05-17
1
-0
/
+15
*
|
util.ip: Automatically determine protocol of IP address if none specified. Re...
Matthew Wild
2013-05-17
1
-1
/
+9
|
/
*
util.rfc{3484,6724}: Update to RFC 6724
Florian Zeitz
2013-04-30
1
-5
/
+18
*
util.ip: Fix syntax error (while I search for my pre-commit hooks)
Matthew Wild
2011-11-30
1
-1
/
+1
*
util.ip: Fix in IP range calculation for 172.16.0.0/12
Matthew Wild
2011-11-30
1
-1
/
+1
*
util.ip: New module containing IP related functions
Florian Zeitz
2011-10-22
1
-0
/
+176