Roger Light
32af599c81
Fix $share subscriptions not being recovered for durable clients.
...
If a plugin had granted ACL subscription access to a
durable/non-clean-session client, then removed that access, the client would
keep its existing subscription. This has been fixed.
4 years ago
Roger A. Light
376226c129
Build warning fixes.
4 years ago
Roger A. Light
756b3fcb08
Document TLS certificate behaviour when using `-p 8883`.
4 years ago
Roger A. Light
f952d19da1
Fix printf format build warning on MIPS.
...
Closes #2271 . Thanks to Karl Palsson.
4 years ago
Roger A. Light
9b25dd3b0d
libressl build fixes.
...
Closes #2198 . Thanks to Theo Buehler.
4 years ago
Roger A. Light
0d1837ebe3
Deconfigure thread mode when the loop thread ends.
...
Threaded mode is deconfigured when the mosquitto_loop_start() thread ends,
which allows mosquitto_loop_start() to be called again.
Closes #2242 . Thanks to Timo Lange.
4 years ago
Roger A. Light
9526b4cf23
Check for file==dir only when reading.
4 years ago
Roger Light
ba2ca33671
Strict protocol compliance fixes, and extensive test suite.
4 years ago
Roger Light
723b5d7081
Fix listener mount_point not being removed on outgoing messages.
...
Closes #2244 . Thanks to alflexRH.
4 years ago
Roger Light
33349010cd
Fix linker error
4 years ago
Roger Light
6608e852a1
Fix broker not quiting if `password_file` is specified as a directory.
...
Closes #2241 . Thanks to Bryan Pearson.
4 years ago
Roger Light
526b8430e2
Fix for #2283 .
...
Closes #2283 . Thanks to Heath Raftery.
4 years ago
Roger Light
c01ae67af7
Fix openssl not being linked to dynamic security plugin.
...
Closes #2277 . Thanks to LeSuisse.
4 years ago
Roger Light
035291c595
Signal+reload documentation improvement.
4 years ago
Roger Light
342aa0ad1a
Fix installation using WITH_TLS=no.
...
Closes #2281 . Thanks to Matt Turner.
4 years ago
Roger Light
93b2232bb9
Apply max_keepalive to MQTT v3.1.1 and v3.1 clients.
4 years ago
Roger A. Light
ea371564e7
Disable TLS 1.3 when using TLS-PSK, because it isn't correctly config'd.
4 years ago
Roger A. Light
0143db71a1
Fix TLS certs and PSK not being able to be config'd at the same time.
4 years ago
Roger A. Light
a37c8e65d2
TLS-PSK mismatch fix.
...
Produce an error if a TLS-PSK client tries to connect to a broker
that is not configured with TLS-PSK.
4 years ago
Roger A. Light
c862ffec8b
Allow mosquitto_ctrl dynsec module to update passwords in files
4 years ago
Roger Light
42b45e0c89
Build fixes.
4 years ago
Roger A. Light
fc4099eafa
Speed up tests.
4 years ago
Roger A. Light
79542158f4
Fix `max_connections` option not being correctly counted.
4 years ago
Roger A. Light
2ace833eee
Remove duplicate line
4 years ago
Roger Light
fe007b2fe2
Example plugin that forces all messages to be retained.
4 years ago
Roger Light
7dd8e7eb62
Add missing tag
4 years ago
Roger Light
fe4393b104
Merge branch 'abiliojr-bridge_tcp_user_timeout' into develop
4 years ago
Roger Light
3eaed4c730
Merge branch 'bridge_tcp_user_timeout' of git://github.com/abiliojr/mosquitto into abiliojr-bridge_tcp_user_timeout
4 years ago
Roger A. Light
8589f082d8
Fix CVE references.
4 years ago
Roger A. Light
4f04f3de92
Add `websockets_origin` option
...
This allows Origin header checking when clients attempt to upgrade from http->websockets.
4 years ago
Roger A. Light
1633010130
WS build fix.
4 years ago
Roger A. Light
9a97a5afc4
Improve client protocol version number logging.
...
Protocol version numbers reported in the log when a client connects now
match the MQTT protocol version numbers, not internal Mosquitto values.
4 years ago
Roger A. Light
14993528ab
Dynsec will generate a config file if it is not found.
4 years ago
Roger Light
17bbca22fb
Merge pull request #2255 from tparker-usgs/master
...
Disable HTTP2 when building libwebsockets for docker images.
4 years ago
Roger A. Light
713b19b96f
Document output of ctrl dynsec listClients.
4 years ago
Roger A. Light
40b402e64a
Add the `global_plugin` option.
...
This gives global plugin loaded regardless of `per_listener_settings`.
4 years ago
Roger A. Light
eec1ef1c55
Parallelise bridge clean session test.
4 years ago
Roger A. Light
8cd2411ab6
Tests should typically use `listener` instead of `port`.
4 years ago
Roger A. Light
182384440b
Password salts are now 64 bytes long.
4 years ago
Roger A. Light
0cdaac0227
Remove unused macro.
4 years ago
Roger A. Light
945de663a0
Registration of the MOSQ_EVT_CONTROL plugin event is now handled globally.
...
This means only a single plugin can register for a given $CONTROL topic.
4 years ago
Roger A. Light
4e146b7b53
Fix possible out of bounds memory reads when reading configuration.
...
This would happen with a corrupt/crafted configuration file. Unless your
configuration file is writable by untrusted users this is not a risk.
Closes #567213 . Thanks to Roland Sako.
4 years ago
Roger Light
114588fff8
Log protocol version and ciphers that a client negotiates when connecting.
4 years ago
Tom Parker
87cba17715
Disable HTTP2 when building libwebsockets for docker images. Works around #1211 .
...
Signed-off-by: Tom Parker <tparker@usgs.gov>
4 years ago
Roger A. Light
dbbffe054c
Simplify bridge topic linked list memory cleanup.
4 years ago
Roger Light
cad11de873
Merge pull request #2249 from cdelston0/develop-transitive-topics
...
Swap bridge topic storage from array to linked-list
4 years ago
Roger Light
e3158e2b09
Merge pull request #2247 from Begasus/haiku
...
Haiku build fixes
4 years ago
Roger A. Light
49065f03a8
Merge remote-tracking branch 'origin/fixes' into develop
4 years ago
Chris Elston
aa5233fc85
Swap bridge topic array to linked list
...
Bridge topics are added on startup to an allocated array which is
reallocated with each new topic. This change alters bridge topic
storage to use a singly linked list.
This is to facilitate upcoming changes to support bridge topic
add/remove operations.
4 years ago
Roger A. Light
192a092d50
Add support for pattern ACLs to dynsec un/subscription ACLs.
4 years ago