Commit Graph

2777 Commits

Author SHA1 Message Date
Roger Light
342aa0ad1a Fix installation using WITH_TLS=no.
Closes #2281. Thanks to Matt Turner.
2021-08-20 23:49:59 +01:00
Roger Light
93b2232bb9 Apply max_keepalive to MQTT v3.1.1 and v3.1 clients. 2021-08-20 23:27:14 +01:00
Roger A. Light
ea371564e7 Disable TLS 1.3 when using TLS-PSK, because it isn't correctly config'd. 2021-08-19 17:26:04 +01:00
Roger A. Light
0143db71a1 Fix TLS certs and PSK not being able to be config'd at the same time. 2021-08-19 17:26:04 +01:00
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.
2021-08-19 17:26:04 +01:00
Roger A. Light
fc4099eafa Speed up tests. 2021-08-17 17:11:47 +01:00
Roger A. Light
79542158f4 Fix max_connections option not being correctly counted. 2021-08-17 13:10:18 +01:00
Roger A. Light
2ace833eee Remove duplicate line 2021-08-17 12:26:52 +01:00
Roger A. Light
8589f082d8 Fix CVE references. 2021-08-05 16:10:43 +01:00
Roger Light
17bbca22fb
Merge pull request #2255 from tparker-usgs/master
Disable HTTP2 when building libwebsockets for docker images.
2021-07-28 22:40:50 +01:00
Roger A. Light
eec1ef1c55 Parallelise bridge clean session test. 2021-07-28 15:54:21 +01:00
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.
2021-07-22 16:43:06 +01:00
Tom Parker
87cba17715 Disable HTTP2 when building libwebsockets for docker images. Works around #1211.
Signed-off-by: Tom Parker <tparker@usgs.gov>
2021-07-15 19:49:35 +00:00
Roger Light
e3158e2b09
Merge pull request #2247 from Begasus/haiku
Haiku build fixes
2021-07-09 14:16:21 +01:00
begasus
0f49a9ff5b Haiku build fixes
Signed-off-by: begasus <begasus@gmail.com>
2021-07-07 12:26:20 +00:00
Roger A. Light
30b54ba124 Add platform limitations section to man page. 2021-06-29 13:51:31 +01:00
Roger A. Light
b7c3d52cd4 Fix letsencrypt case when RENEWED_DOMAINS is empty. 2021-06-10 11:55:01 +01:00
Roger A. Light
0d1bc03665 Simplify editing needs of the letsencrypt hook script. 2021-06-10 11:05:23 +01:00
Roger A. Light
6028d0e33e mosquitto_sub and mosquitto_rr now open stdout in binary mode on Windows
This is so binary payloads are not modified when printing.

Thanks to Steve Mullock.
2021-06-09 21:16:57 +01:00
Roger A. Light
5217863b8b Bump docker files. 2021-06-09 16:21:55 +01:00
Roger A. Light
1ab6b28e26 Add missing test file. 2021-06-09 14:22:21 +01:00
Roger A. Light
3b89bb2e35 Update post to include 1.6.15 information. 2021-06-09 13:36:28 +01:00
Roger A. Light
f68c052c79 Merge branch 'fixes' 2021-06-09 13:22:56 +01:00
Roger A. Light
c4ca718ea7 Add man page deps to readme. 2021-06-09 13:22:40 +01:00
Roger A. Light
99d7299b24 Fix qos0 messages not being queued when queue_qos0_message enabled.
Closes #2224. Thanks to Luigi Caiffa.
2021-06-09 13:21:27 +01:00
Roger A. Light
ea7e2a6bca Bump version, add post. 2021-06-08 22:27:07 +01:00
Roger A. Light
8416f928df Revert premature want_connect fix. 2021-06-08 22:26:14 +01:00
Roger A. Light
42163634c7 Fix leak on crafted MQTT v5 CONNECT.
If a MQTT v5 client connects with a crafted CONNECT packet a memory leak
will occur.

Thanks to Kathrin Kleinhammer.
2021-06-08 22:26:09 +01:00
Roger A. Light
403691ce40 Add missing return types. 2021-06-08 22:25:59 +01:00
Roger A. Light
238b68686a Fix bridge pollfd corruption on Windows.
Closes #2173. Thanks to Niclas Lindgren.
2021-06-08 13:29:29 +01:00
Roger A. Light
104b94db57 Fix non-reachable bridge blocking the broker on Windows.
Closes #2172. Thanks to Niclas Lindgren.
2021-06-08 12:07:24 +01:00
Roger A. Light
5851713f3e Refactor to remove duplicate code. 2021-06-08 12:00:05 +01:00
Roger A. Light
625e2a5060 Refactor to remove duplicate code. 2021-06-08 11:59:12 +01:00
Roger A. Light
0e1388a615 Fix the return of plugin__handle_message not being fully handled. 2021-05-21 14:54:28 +01:00
Roger A. Light
90e3b287de Remove redundant check, this is handled in send__pubrec. 2021-05-21 14:18:27 +01:00
Roger A. Light
a01dcd68a5 Document that bind_address can be NULL. 2021-05-20 10:21:05 +01:00
Roger A. Light
58c0c0cef4 Document dynsec plugin location for Linux. 2021-05-19 14:43:45 +01:00
Roger A. Light
99833795f2 Man page improvements - document MQTT support. 2021-05-19 13:33:09 +01:00
Roger A. Light
b6187c8880 Dynsec doc tweaks. 2021-05-19 11:48:00 +01:00
Roger A. Light
2e2c9012ec Document reason for Windows connection limit. 2021-05-19 11:19:58 +01:00
Roger A. Light
16fb0025a7 Improve QoS 0 outgoing packet queueing. 2021-05-18 16:53:45 +01:00
Roger Light
c317891df1 Clarify when callbacks get called. 2021-05-18 09:38:06 +01:00
Roger A. Light
0db306ef6b Fix compiler warning. 2021-05-17 17:16:01 +01:00
Roger A. Light
4a08626f43 Only a single call to lws_write() is required. 2021-05-17 17:16:01 +01:00
Roger A. Light
ff872cf943 Upgrade docker images to lws 4.2.0. 2021-05-17 16:37:37 +01:00
Roger A. Light
5f34f27b5e Distribute licenses of self compiled components in docker images. 2021-05-17 16:27:19 +01:00
Roger Light
880df7360d Fix bridge not reconnectng if the first reconnection attempt fails.
Closes #2207. Thanks to Abilio Marques.
2021-05-17 00:49:44 +01:00
Roger Light
9bb58a88fc Cleanup messsage before return.
Coverity scan #1451483.
2021-05-16 19:57:59 +01:00
Roger A. Light
2ae13092f1 Update notice file. 2021-05-13 17:38:31 +01:00
Roger Light
07399c2f3c Fix mosquitto_pub -l quitting if broker unavailable.
This could occur when a message publication is attempted when the broker
is temporarily unavailable.

Closes #2187. Thanks to JsBergbau.
2021-05-08 23:07:02 +01:00