Kim Alvefur <zash@zash.se> [Mon, 25 Apr 2022 14:41:54 +0200] rev 12477
mod_s2s: Distinguish DANE TLSA errors from generic cert chain errors
Otherwise it would just report "is not trusted" unless you inspect the
logs. This message is sent to to the remote server, and will hopefully
show up in their logs, allowing the admin to fix their DANE setup.
Kim Alvefur <zash@zash.se> [Mon, 25 Apr 2022 14:36:56 +0200] rev 12476
mod_s2s: Recognise and report errors with CA or intermediate certs
Should be invoked for cases such as when the Let's Encrypt intermediate
certificate expired not too long ago.
Kim Alvefur <zash@zash.se> [Sun, 24 Apr 2022 16:17:32 +0200] rev 12475
mod_smacks: Improve activation of smacks on outgoing s2s
Using a timer was a hack to get around that stream features are not
available at the right time and sendq stanzas were stored as strings
so could not be counted properly. The later has now been fixed and the
former is fixed by recording the relevant stream feature on the session
so that the correct version of XEP-0198 can be activated once the
connection has been authenticated and is ready to start.
Kim Alvefur <zash@zash.se> [Sat, 23 Apr 2022 14:37:43 +0200] rev 12474
util.crand: Reduce scope here too
Same as previous commit
Kim Alvefur <zash@zash.se> [Sat, 23 Apr 2022 14:29:43 +0200] rev 12473
util.strbitop: Reduce scope of functions
Equivalent to 'local' in Lua, these functions are exported via the
luaopen_ function, which is the only one needing to be visible outside
of the file.
Pointed out by Link Mauve at some point, but there wasn't really any
rush here.
Kim Alvefur <zash@zash.se> [Wed, 20 Apr 2022 22:41:54 +0200] rev 12472
net.connect: Fix accumulation of connection attempt references
Connection attempts that failed the Happy Eyeballs race were not
unreferenced and would accumulate.
Tested by inspecting the 'pending_connections_map' after establishing
s2s with a s2s target where the IPv6 port has a -j DROP rule causing it
to time out and the IPv4 attempt wins the race.
Expected is that the losing connection stays around until net.server
timeouts kick in where it should be removed. The map table should tend
towards being empty during idle times.
Matthew Wild <mwild1@gmail.com> [Wed, 13 Apr 2022 18:46:26 +0100] rev 12471
Merge 0.12->trunk
Matthew Wild <mwild1@gmail.com> [Wed, 13 Apr 2022 18:46:11 +0100] rev 12470
util.prosodyctl: check turn: ensure a result is always returned from a check (thanks eTaurus)
Kim Alvefur <zash@zash.se> [Wed, 13 Apr 2022 16:53:19 +0200] rev 12469
make: Install stanza watcher library (thanks Menel)
Matthew Wild <mwild1@gmail.com> [Wed, 23 Mar 2022 13:43:08 +0000] rev 12468
mod_admin_shell: Add watch:stanzas() command