Kim Alvefur <zash@zash.se> [Sun, 04 Jul 2021 01:29:47 +0200] rev 11656
util.prosodyctl.check: Warn if both use_ipv4 and use_ipv6 are set to false
Why would you do this?!
Kim Alvefur <zash@zash.se> [Sun, 04 Jul 2021 01:23:35 +0200] rev 11655
util.prosodyctl.check: Silence IP protocol mismatches when disabled
If you set 'use_ipv4 = false' then you probably don't care much for the
host not resolving to the IPv4 address, and same with 'use_ipv6'.
Kim Alvefur <zash@zash.se> [Sat, 03 Jul 2021 17:28:07 +0200] rev 11654
Merge 0.11->trunk
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
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
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.
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.
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.
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
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