Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Backed out changeset 84c117cdd048, broke things | Kim Alvefur | 2017-12-12 | 1 | -4/+4 |
| | |||||
* | mod_storage_sql: Remove ability to override name of key-value table ↵ | Kim Alvefur | 2017-12-11 | 1 | -1/+1 |
| | | | | (unreachable and would not work) | ||||
* | util.ip: Remove redundant caching of method output (supposed to be done in ↵ | Kim Alvefur | 2017-12-09 | 1 | -17/+7 |
| | | | | ab9ddfb03d4d but lost somehow) | ||||
* | util.ip: Convert the correct IP to IPv6-mapped for comparison (fixes ↵ | Kim Alvefur | 2017-12-09 | 1 | -1/+1 |
| | | | | traceback, possibly invalid result) | ||||
* | Merge 0.10->trunk | Kim Alvefur | 2017-12-09 | 0 | -0/+0 |
|\ | |||||
| * | Merge 0.9->0.10 | Kim Alvefur | 2017-12-09 | 1 | -3/+1 |
| |\ | |||||
| | * | MUC: Always send subject message, even if it is empty (fixes #1053) | Kim Alvefur | 2017-12-09 | 1 | -3/+1 |
| | | | |||||
* | | | mod_register: Include the session and its IP address in user-registering ↵ | Kim Alvefur | 2017-12-08 | 1 | -1/+1 |
| | | | | | | | | | | | | event, so that plugins can use this | ||||
* | | | mod_s2s: Restructure some code | Kim Alvefur | 2017-12-05 | 1 | -2/+9 |
| | | | |||||
* | | | mod_s2s: Remove unused argument [luacheck] | Kim Alvefur | 2017-12-05 | 1 | -1/+1 |
| | | | |||||
* | | | mod_s2s: Remove unused local [luacheck] | Kim Alvefur | 2017-12-05 | 1 | -1/+1 |
| | | | |||||
* | | | mod_adhoc: Rename variable to avoid name clash [luacheck] | Kim Alvefur | 2017-12-05 | 1 | -2/+2 |
| | | | |||||
* | | | mod_adhoc/adhoc.lib: Rename variable to avoid name clash [luacheck] | Kim Alvefur | 2017-12-05 | 1 | -4/+4 |
| | | | |||||
* | | | mod_dialback: Use non-deprecated API | Kim Alvefur | 2017-12-05 | 1 | -1/+1 |
| | | | |||||
* | | | mod_dialback: Split long line [luacheck] | Kim Alvefur | 2017-12-05 | 1 | -1/+2 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2017-12-05 | 2 | -2/+14 |
|\| | | |||||
| * | | mod_dialback: Copy function from mod_s2s instead of depending on it, which ↵ | Kim Alvefur | 2017-12-05 | 1 | -1/+13 |
| | | | | | | | | | | | | made it harder to disable s2s (fixes #1050) | ||||
| * | | mod_limits: Fix typo in comment | Kim Alvefur | 2017-12-05 | 1 | -1/+1 |
| | | | |||||
* | | | DEPENDS: Change link to https | Kim Alvefur | 2017-12-05 | 1 | -1/+1 |
| | | | |||||
* | | | mod_register: Support CIDR notation in white-/blacklists (closes #941) | Kim Alvefur | 2017-12-01 | 1 | -2/+19 |
| | | | |||||
* | | | util.crand: Return early if a zero bytes are requested | Kim Alvefur | 2017-12-03 | 1 | -1/+5 |
| | | | |||||
* | | | spec/util.random: Check a larger range of sizes | Kim Alvefur | 2017-12-03 | 1 | -2/+2 |
| | | | |||||
* | | | util.crand: Throw an error for sizes smaller than 1 byte | Kim Alvefur | 2017-12-03 | 1 | -1/+3 |
| | | | |||||
* | | | util.crand: Make it possible to use arc4random on Linux (needs libbsd) | Kim Alvefur | 2017-12-03 | 2 | -1/+7 |
| | | | |||||
* | | | util.crand: Use a small buffer on the stack for small pieces of random, ↵ | Kim Alvefur | 2017-12-03 | 1 | -1/+11 |
| | | | | | | | | | | | | should be faster | ||||
* | | | util.crand: Remove unneeded cast | Kim Alvefur | 2017-12-03 | 1 | -1/+1 |
| | | | |||||
* | | | util.crand: Silence signedness warning | Kim Alvefur | 2017-12-03 | 1 | -1/+1 |
| | | | |||||
* | | | util.crand: Only keep return value of getrandom() as the others don't return ↵ | Kim Alvefur | 2017-12-02 | 1 | -14/+6 |
| | | | | | | | | | | | | partial results | ||||
* | | | util.crand: Try getrandom() again until buffer is filled | Kim Alvefur | 2017-12-02 | 1 | -5/+15 |
| | | | |||||
* | | | net.websocket.frames: Ignore Lua 5.3-only fields [luacheck] | Kim Alvefur | 2017-12-02 | 1 | -2/+2 |
| | | | |||||
* | | | util.ip: Do equality checking by comparing packed representation to avoid ↵ | Kim Alvefur | 2017-12-01 | 1 | -1/+1 |
| | | | | | | | | | | | | any variations | ||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2017-12-01 | 3 | -3/+6 |
|\| | | |||||
| * | | net.dns: Don't compress a single zero group in IPv6 addresses to match ↵ | Kim Alvefur | 2017-12-01 | 1 | -1/+1 |
| | | | | | | | | | | | | behaviour of inet_ntop | ||||
| * | | util.signal: Fix loop (fixes #1047) | Kim Alvefur | 2017-11-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | A pre-commit version probably started with i = nsig and counted down, then an incomplete change to counting up was done | ||||
| * | | prosodyctl: Fix traceback with lfs < 1.6.2 and show warning | Matthew Wild | 2017-11-30 | 1 | -0/+3 |
| | | | |||||
* | | | 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 ↵ | Kim Alvefur | 2017-12-01 | 1 | -4/+13 |
| | | | | | | | | | | | | O(n) function | ||||
* | | | 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 |
| | | | |||||
* | | | net.dns: Use inet_ntop from util.net if available | Kim Alvefur | 2017-11-29 | 1 | -0/+13 |
| | | | |||||
* | | | util.net: Add bindings to inet_ntop and inet_pton | Kim Alvefur | 2017-11-26 | 1 | -0/+63 |
| | | | |||||
* | | | util.crand: Add comments about defines | Kim Alvefur | 2017-12-01 | 1 | -0/+2 |
| | | |