Sat, 03 Jul 2021 03:27:57 +0200 util.ip: Fix netmask for link-local address range 0.11
Kim Alvefur <zash@zash.se> [Sat, 03 Jul 2021 03:27:57 +0200] rev 11653
util.ip: Fix netmask for link-local address range This may have mistakenly caused link-local addresses to be considered global. May have caused mod_s2s and prosodyctl check dns to behave incorrectly on networks using link-local IPv4 addresses. By my guesstimate, these are extremely rare. Probably minimal impact beyond a bit longer to establish s2s and some possible confusion from prosodyctl check dns results. Ref RFC 3927
Sat, 03 Jul 2021 04:35:29 +0200 util.format: Escape ASCII control characters also in extra arguments
Kim Alvefur <zash@zash.se> [Sat, 03 Jul 2021 04:35:29 +0200] rev 11652
util.format: Escape ASCII control characters also in extra arguments
Sat, 03 Jul 2021 04:29:25 +0200 util.format: Allow newlines but ensure following lines are indented
Kim Alvefur <zash@zash.se> [Sat, 03 Jul 2021 04:29:25 +0200] rev 11651
util.format: Allow newlines but ensure following lines are indented This should a) prevent injection of text that looks like legitimate log lines and b) not mangle tracebacks.
Sat, 03 Jul 2021 04:24:13 +0200 util.format: Fix missing backslash in pattern
Kim Alvefur <zash@zash.se> [Sat, 03 Jul 2021 04:24:13 +0200] rev 11650
util.format: Fix missing backslash in pattern Made the pattern match a longer range than intended, but with no effect since those characters are not present in the 'control_symbols' table.
Sat, 03 Jul 2021 03:24:26 +0200 util.prosodyctl.check: Reload unbound to ensure hosts.txt is ignored
Kim Alvefur <zash@zash.se> [Sat, 03 Jul 2021 03:24:26 +0200] rev 11649
util.prosodyctl.check: Reload unbound to ensure hosts.txt is ignored If unbound was initialized prior to this then the config change here wouldn't apply, and it will again think that 127.0.1.1 has been found in DNS.
Tue, 29 Jun 2021 16:18:31 +0200 util.format: Change formatting of nil values to avoid looking like XML
Kim Alvefur <zash@zash.se> [Tue, 29 Jun 2021 16:18:31 +0200] rev 11648
util.format: Change formatting of nil values to avoid looking like XML
Tue, 29 Jun 2021 16:07:57 +0200 core.loggingmanager: Pretty-print logged XML snippets in console
Kim Alvefur <zash@zash.se> [Tue, 29 Jun 2021 16:07:57 +0200] rev 11647
core.loggingmanager: Pretty-print logged XML snippets in console This replaces an earlier method in a private extension that logged pretty-printed XML, which broke due to the escaping added in util.format
Tue, 29 Jun 2021 16:06:54 +0200 util.stanza: Export pretty printing function
Kim Alvefur <zash@zash.se> [Tue, 29 Jun 2021 16:06:54 +0200] rev 11646
util.stanza: Export pretty printing function
Tue, 29 Jun 2021 16:05:35 +0200 core.loggingmanager: Support passing log messages trough a filter
Kim Alvefur <zash@zash.se> [Tue, 29 Jun 2021 16:05:35 +0200] rev 11645
core.loggingmanager: Support passing log messages trough a filter This will be used by the console logger for pretty printing.
Sat, 07 Nov 2020 22:09:46 +0100 util.stanza: Simplify and make pretty-printing look nicer
Kim Alvefur <zash@zash.se> [Sat, 07 Nov 2020 22:09:46 +0100] rev 11644
util.stanza: Simplify and make pretty-printing look nicer I've had this color theme in a local debug module for some time and I quite like it. The colors are from the XMPP logo. Removes extra XML serialization implementation in favor of the standard one. Also removes recursive str=str..more string building. The new two-level gsub has the accumulator in C space so shouldn't be too bad. The inner gsub calls use no callback, so should be fast and not create all that much garbage. No serious benchmarking has been done, but who cares if it looks nice?
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip