1
0
mirror of https://github.com/eclipse/mosquitto.git synced 2025-05-08 16:52:13 +08:00

904 Commits

Author SHA1 Message Date
Roger A. Light
672ae3e57f Update changelog, web page 2025-03-06 16:23:49 +00:00
Roger A. Light
664ca4eb16 Further fix for CVE-2023-28366. 2025-03-06 16:23:49 +00:00
Roger A. Light
6a667172b8 Document Eclipse #248 fix 2025-03-06 16:23:49 +00:00
Roger A. Light
4304ac0af0 Backport keepalive check from develop branch.
Closes #3138
2025-02-27 13:59:36 +00:00
Roger A. Light
87488a27f0 Produce an error for invalid combinations of cafile/capath/certfile/keyfile
Closes #1836. Closes #3130.
2025-02-27 13:23:22 +00:00
Roger A. Light
50ebe2f1d9 Add retain_expiry_interval option
This fixes expired retained message not being removed from memory if
they are not subscribed to.

Closes #3221.
2025-02-27 13:08:28 +00:00
Roger A. Light
cd0987a661 Fix potential deadlock in mosquitto_sub if -W is used.
Closes #3175. Thanks to Audric Schiltknecht
2025-02-27 00:02:26 +00:00
Roger A. Light
167d0c3550 Fix allow_anonymous false not being applied in local only mode.
Closes #3198. Thanks to vphatfla.
2025-02-26 20:46:59 +00:00
Roger A. Light
9f1ebee114 mosquitto_ctrl dynsec now also allows -i to specify a clientid
This is as well as `-c`. This matches the documentation which states `-i`.

Closes #3219. Thanks to dkusalic
2025-02-26 12:37:07 +00:00
Roger A. Light
0285e8bc40 Fix 08-ssl-connect-cert-auth-expired/revoked
Occurs when run under load. Thanks to Joachim Zobel.

Closes #3208.
2025-02-25 11:15:29 +00:00
Roger A. Light
015fe3d687 Fix mismatched wrapped/unwrapped memory alloc/free in properties.
Closes #3192. Thanks to Russell King.
2025-01-20 18:41:36 +00:00
Roger A. Light
ba2b98d4ab Add tzdata to docker images to allow setting timezone
Closes #3040
2024-11-01 10:48:10 +00:00
Roger A. Light
6ff72b838d Update changelog for previous merge.
Fix `bind_interface` producing an error when used with an interface that
has an IPv6 link-local address and no other IPv6 addresses.

Closes #2696.
2024-11-01 08:57:57 +00:00
Roger A. Light
0691935ed9 Fix RESERVED packets not being quickly rejected.
Closes #2325
2024-10-31 23:06:48 +00:00
Roger A. Light
67ef993d23 Fix pthreads linking on Windows for libmosquitto_static
Closes #3143
2024-10-30 17:33:06 +00:00
Roger A. Light
2ea2a925eb Build fix 2024-10-16 17:55:10 +01:00
Roger A. Light
71ddbabb00 Shared subs aren't allowed to set no-local 2024-10-16 16:25:08 +01:00
Roger A. Light
0174abe8f3 Don't allow invalid response-topic values. 2024-10-16 15:30:44 +01:00
Roger A. Light
88b7bb3521 Fix NetBSD build 2024-10-12 17:01:09 +01:00
Roger A. Light
c3dc7a64cd Bump version 2024-10-11 18:24:23 +01:00
Roger A. Light
fecf4797d9 Open files with appropriate access on Windows.
Closes #3119.
2024-10-11 17:56:49 +01:00
Roger A. Light
b979feb92a Fix QoS 1 / QoS 2 publish incorrectly returning "no subscribers".
Closes #3128.
2024-10-09 00:54:30 +01:00
Roger A. Light
30adcd6e39 Fix cmake build on OS X.
Closes #3125.
2024-10-06 21:07:27 +01:00
Roger A. Light
417235565b Update release date 2024-10-02 10:26:34 +01:00
Roger A. Light
8ab20b4ba4 Don't allow SUBACK with missing reason codes.
Closes Eclipse #190
2024-10-02 10:26:08 +01:00
Roger A. Light
ae7a804dad Fix crash on bridge using remapped topic being sent a crafted packet.
Closes Eclipse #197.
2024-10-02 10:25:33 +01:00
Roger A. Light
1914b3ee2a Use separate trees for shared/normal subs
Fixes Eclipse #217, #218.
2024-10-02 10:25:31 +01:00
Roger A. Light
57b5549b3d Fix "payload format invalid" not being allowed as a PUBREC reason code.
Thanks to mdrssv
2024-09-07 00:17:37 +01:00
Roger A. Light
f6d0ddcae0 Clear SSL error state to avoid spurious error reporting.
Thanks to koranyellow. Closes #3054.
2024-09-06 23:56:42 +01:00
Roger A. Light
2d381d1605 Update changelog. 2024-09-06 23:45:11 +01:00
Roger A. Light
39eac9847d Fix bridge expiry
Fix local bridges being incorrectly expired when persistent_client_expiration is in use.
2024-06-05 16:07:23 +01:00
Roger A. Light
0881024aca Windows: Installer quality of life improvements 2024-05-24 09:29:25 +01:00
Roger A. Light
a3e5deb952 Use vcpkg Windows build for 2.0, re-enable thread support 2024-04-21 22:28:26 +01:00
Roger A. Light
fd097d5a0f Fix assert failure when loading a persistence file.
If the file contains subscriptions with no client id.
2023-11-15 23:08:04 +00:00
Roger A. Light
3923526c6b Bump version, add webpage. 2023-09-18 22:22:14 +01:00
Roger A. Light
7ae22c356b Fix mosquitto_rr not honouring -R.
Closes #2893. Thanks to jwinder-ca
2023-09-13 09:02:55 +01:00
Roger A. Light
f09ea91e11 Fix crash on subscribe under certain unlikely conditions.
Closes #2885.
Closes #2881.

Thanks to everybody on those issues.
2023-09-12 23:09:24 +01:00
Roger A. Light
28d96d8ebc Fix max_inflight_messages not being set correctly.
Closes #2876.
2023-08-22 08:39:40 +01:00
Roger A. Light
47ae6dd0e2 Fix mosquitto_passwd -U backup file creation.
Closes #2873.
2023-08-22 08:09:36 +01:00
Roger A. Light
bfb373d774 Fix max_queued_message 0 stopping clients from receiving messages.
Closes #2789. Thanks to Daedaluz.
2023-08-22 07:40:54 +01:00
Roger A. Light
afba3ec9a0 Bump version, update changelog. 2023-08-16 14:01:21 +01:00
Roger A. Light
3ab0a9a3fd mosquitto_ctrl dynsec init uses open( , O_EXCL | O_CREAT)
This allows us to refuse to open an existing file, without a race
condition.
2023-08-16 14:01:21 +01:00
Roger A. Light
00b24e0eb0 Fix memory leak when clients send v5 CONNECT packets.
This occurs when they have a will message that contains invalid property
types.
2023-08-16 14:01:21 +01:00
Roger A. Light
70d713ca07 Fix heap overflow when reading corrupt config with "log_dest file". 2023-08-16 14:01:21 +01:00
Roger A. Light
284db04bc3 Library will no longer allow single level wildcard certificates, e.g. *.com 2023-08-16 14:01:21 +01:00
Roger A. Light
b76c3c7820 Dynsec: Don't allow duplicate c/g/r when loading config 2023-08-16 14:01:21 +01:00
Roger A. Light
8bc047511a Fix any possible case where a json string might be incorrectly loaded. 2023-08-16 14:01:21 +01:00
Roger A. Light
6113eac95a Fix for CVE-2023-28366 2023-08-16 14:01:21 +01:00
Roger A. Light
b1c29e881e Fix potential file persistence crash.
Identified by OS-TIF audit.

TOB-MOSQ-CR-5
2023-08-16 14:01:21 +01:00
Roger A. Light
3fc7dce74c Only register with DLT if DLT logging is enabled. 2023-08-16 14:01:21 +01:00