Commit graph

2953 commits

Author SHA1 Message Date
Roger A. Light
96ba8f6a47 Move psk-key to own file. 2021-11-10 12:15:21 +00:00
Roger A. Light
7e6e517208 Move extended auth to own file. 2021-11-10 12:13:19 +00:00
Roger A. Light
34b41a3b01 Dynsec: Add ability to deny wildcard subscriptions for a role 2021-11-10 11:20:25 +00:00
Roger Light
e9713cca5a Plugin configs as an array of pointers. 2021-11-10 10:02:38 +00:00
Roger A. Light
65d20271a7 Better string 2021-11-09 17:14:04 +00:00
Roger Light
dcff8dfd38 Implement plugin wrappers for v2, v3, v4
This means the internal plugin interface is simpler and is translated to each of the older interfaces if needed.
2021-11-09 17:11:20 +00:00
Roger Light
cd07f1136b Bump copyrights. 2021-11-03 22:10:06 +00:00
Roger Light
92c2c45d7c Rename auth_plugin -> plugin. 2021-11-03 21:27:25 +00:00
Roger Light
3ebc4f851c Fix test. 2021-11-03 09:50:09 +00:00
Roger Light
538154bd9c The --insecure option now disables all server certificate verification. 2021-10-29 22:53:55 +01:00
Roger A. Light
a1288721ce Fix tests 2021-10-27 17:22:58 +01:00
Roger A. Light
8ac11929cc Merge branch 'master' into develop 2021-10-27 17:19:33 +01:00
Roger A. Light
d5970ca998 Merge branch 'fixes' 2021-10-27 16:40:44 +01:00
Roger A. Light
292e969140 Bump version, update web. 2021-10-27 16:40:21 +01:00
Roger A. Light
c986e27f6e Fix missing bracket. Closes #2347. 2021-10-27 16:29:41 +01:00
Roger A. Light
46a6c5d17b Fix mosquitto_plugin.h not including mosquitto_broker.h.
Closes #2350. Thanks to Wolfgang Petroschka.
2021-10-27 16:23:20 +01:00
Roger A. Light
20d2935d81 Fix date format in mosquitto_sub output.
Closes #2353. Thanks to Norman Rasmussen.
2021-10-27 16:22:26 +01:00
Roger A. Light
d662a5fd83 Always run vc installer in quiet mode. 2021-10-27 12:02:50 +01:00
Roger A. Light
6fdc9505bb Remove all files when uninstalling. 2021-10-27 12:02:36 +01:00
Roger A. Light
e0c1e8bbca Windows installer to use openssl 3. 2021-10-27 12:02:14 +01:00
Roger A. Light
94e1792eef Do global ticks even on per_listener_settings true. 2021-10-27 00:18:32 +01:00
Roger A. Light
9e5b850181 Check for NULL before strcmp. 2021-10-24 14:23:57 +01:00
Roger A. Light
a51ead84e3 Migrate snap to core20 for 2.1. 2021-10-21 21:24:36 +01:00
Roger Light
65603da5e4 Add -W timeout support to Windows. 2021-10-20 11:48:26 +01:00
Roger Light
92f3db92d7 Windows build fixes. 2021-10-20 11:25:35 +01:00
Roger Light
4b7ce2d670 Optional Link Time Optimisation. 2021-10-18 00:17:29 +01:00
Roger Light
6efc59e293 Optimise epoll reregistering. 2021-10-18 00:15:36 +01:00
Roger A. Light
7b614b3b59 Move to end of file on append, when on Windows. 2021-10-15 15:52:19 +01:00
Roger A. Light
e6cca024bf Simplify check and reduce check interval. 2021-10-14 12:35:52 +01:00
Roger A. Light
10ea7a9a2a Don't add local bridges to keepalive check. 2021-10-14 12:35:26 +01:00
Roger A. Light
b9b065d2cc Compiler pedantry, and more checks in tests. 2021-10-14 11:39:46 +01:00
Roger A. Light
66082e69af Windows installer improvements. 2021-10-13 14:46:53 +01:00
Roger A. Light
f0ed872786 Allow multiple service instances on Windows. 2021-10-13 14:39:52 +01:00
Roger A. Light
91e8344a3e Windows build fixes. 2021-10-13 14:39:09 +01:00
Roger Light
1cc8ebb782 Add support for sending the SIGRTMIN signal to trigger log rotation.
Closes #2337. Thanks to Evgeny S.
2021-10-13 00:05:52 +01:00
Roger A. Light
7857e5cedb Simplify signal handling. 2021-10-12 23:56:10 +01:00
Roger Light
9d3f292b39 Send DISCONNECT With session-takeover return code.
This is for MQTT v5 clients when a client connects with the same client id.

Closes #2340. Thanks to hvxl.
2021-10-12 23:20:53 +01:00
Roger Light
5cae4d1d81 Fix broker sending duplicate CONNACK on failed MQTT v5 reauthentication.
Closes #2339. Thanks to hvxl.
2021-10-12 22:33:05 +01:00
Roger Light
51eda2bf79 Add more efficient keepalive check. 2021-10-12 17:19:42 +01:00
Roger A. Light
21ded3df0d Build fix 2021-10-12 14:04:50 +01:00
Roger Light
4cb811a0b6 Add more basic auth rejection options for plugins. 2021-10-07 16:16:08 +01:00
Roger A. Light
799cdead15 Experimental custom websockets support. 2021-10-06 15:32:45 +01:00
Roger A. Light
be80a3f4d0 Fix client id not showing in log on failed connections, where possible. 2021-10-06 10:09:38 +01:00
Roger A. Light
3b471c8669 Fix test 2021-10-06 09:54:19 +01:00
Roger A. Light
a1a190b482 Pointless whitespace tidy. 2021-10-05 15:20:37 +01:00
Roger A. Light
7234de7d86 Add Windows headless installer help. 2021-10-05 13:28:51 +01:00
Roger A. Light
0ce167c472 Fix log file being truncated on Windows. 2021-10-05 11:33:35 +01:00
Roger A. Light
c7d9cf3a3c Windows uninstaller fixes. 2021-10-05 09:40:31 +01:00
Roger A. Light
7061569bf4 Don't send retained messages when a shared subscription is made. 2021-10-04 16:26:58 +01:00
Roger Light
3f62e80300
Merge pull request #2317 from doragasu/fixes_discon_cb_on_tls_err
Call disconnect callback on TLS error.
2021-10-01 17:27:39 +01:00