util.crand: Return early if a zero bytes are requested
|
Kim Alvefur |
Sun, 03 Dec 2017 15:42:55 +0100 |
spec/util.random: Check a larger range of sizes
|
Kim Alvefur |
Sun, 03 Dec 2017 15:37:17 +0100 |
util.crand: Throw an error for sizes smaller than 1 byte
|
Kim Alvefur |
Sun, 03 Dec 2017 15:36:20 +0100 |
util.crand: Make it possible to use arc4random on Linux (needs libbsd)
|
Kim Alvefur |
Sun, 03 Dec 2017 15:21:12 +0100 |
util.crand: Use a small buffer on the stack for small pieces of random, should be faster
|
Kim Alvefur |
Sun, 03 Dec 2017 15:03:25 +0100 |
util.crand: Remove unneeded cast
|
Kim Alvefur |
Sun, 03 Dec 2017 14:14:35 +0100 |
util.crand: Silence signedness warning
|
Kim Alvefur |
Sun, 03 Dec 2017 14:13:56 +0100 |
util.crand: Only keep return value of getrandom() as the others don't return partial results
|
Kim Alvefur |
Sat, 02 Dec 2017 11:11:32 +0100 |
util.crand: Try getrandom() again until buffer is filled
|
Kim Alvefur |
Sat, 02 Dec 2017 10:58:37 +0100 |
net.websocket.frames: Ignore Lua 5.3-only fields [luacheck]
|
Kim Alvefur |
Sat, 02 Dec 2017 02:12:06 +0100 |
util.ip: Do equality checking by comparing packed representation to avoid any variations
|
Kim Alvefur |
Fri, 01 Dec 2017 05:13:28 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Fri, 01 Dec 2017 04:54:23 +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 |
util.ip: Reflow module export table
|
Kim Alvefur |
Fri, 01 Dec 2017 01:55:40 +0100 |
util.ip: Reflow metatable
|
Kim Alvefur |
Fri, 01 Dec 2017 01:55:15 +0100 |
net.dns: Use inet_ntop from util.net if available
|
Kim Alvefur |
Wed, 29 Nov 2017 08:02:14 +0100 |
util.net: Add bindings to inet_ntop and inet_pton
|
Kim Alvefur |
Sun, 26 Nov 2017 02:26:13 +0100 |
util.crand: Add comments about defines
|
Kim Alvefur |
Fri, 01 Dec 2017 00:56:11 +0100 |
util.crand: Apply formatter
|
Kim Alvefur |
Fri, 01 Dec 2017 00:29:25 +0100 |
util.crand: Reorder includes so system ones are first
|
Kim Alvefur |
Fri, 01 Dec 2017 00:28:52 +0100 |
util.crand: Always include stdlib to be sure __GLIBC_PREREQ is defined
|
Kim Alvefur |
Fri, 01 Dec 2017 00:27:37 +0100 |