Commit Graph

1081 Commits

Author SHA1 Message Date
Roger A. Light
99fa50f30e Release prep for 2.1.2 2026-02-09 09:29:02 +00:00
Roger A. Light
20d9578077 Fix cmake linking of libwebsockets static/shared 2026-02-09 09:24:43 +00:00
Roger A. Light
a7f3f4c362 Forbid running with persistence true and a plugin at the same time. 2026-02-07 23:25:24 +00:00
Roger A. Light
8d0394a977 Add libedit to docker builds
Closes #3476
2026-02-06 15:05:21 +00:00
Roger A. Light
0a64c1de23 OpenBSD build fixes
Closes #3474. Thanks to Stuart Henderson
2026-02-06 14:50:20 +00:00
Roger A. Light
f58cecd04c 2.1.1 release prep 2026-02-04 22:27:34 +00:00
Roger A. Light
15a163eb09 Don't enforce receive-maximum on the broker 2026-02-04 21:37:51 +00:00
Roger A. Light
578d30e90f Fix max_connections not being honoured on libwebsockets listeners.
Closes #3455. Thanks to FelixPopp.
2026-02-03 23:54:11 +00:00
Roger A. Light
df7b703080 Fix $SYS load values not being published initially.
Closes #3459. Thanks to hessijames79
2026-02-03 09:28:18 +00:00
Roger A. Light
695df7719d Fix building with WITH_TLS=no
Closes #3469. Thanks to iTitou.
2026-02-03 09:23:27 +00:00
Roger A. Light
6edc3fb6a7 Fix incorrect linking of libmosquitto_common.so for the acl and password plugins
Closes #3460. Thanks to Jacopo Labardi
2026-02-03 08:29:50 +00:00
Roger A. Light
a1dcebd273 Fix plugin/global_plugin option not allowing space characters. 2026-02-03 00:19:59 +00:00
Roger A. Light
750c0f44d8 Fix address and port missing from disconnect messages 2026-02-02 23:50:42 +00:00
Roger A. Light
abf70df7e7 Fix changelog incorrect entries 2026-02-02 18:37:28 +00:00
Roger A. Light
16f41e61fc Add MOSQUITTO_UNSAFE_ALLOW_SYMLINKS env var
Setting this environment variable allows sensitive files to be read
through symlinks.

Closes #3461. Thanks to Jeff Cutsinger
2026-02-02 16:33:37 +00:00
Roger A. Light
c2c5ed9853 Fix PUID/PGID checking for docker 2026-01-30 09:41:31 +00:00
Roger A. Light
d2418a1687 Bump changelog and version 2026-01-29 15:00:47 +00:00
Roger A. Light
ebd3f228e0 Re-enable support for TLS 1.1 in the broker but not by default
Log a scary message if used.
2026-01-28 00:40:24 +00:00
Roger A. Light
81a9385877 Merge branch 'fixes' into develop 2026-01-15 00:49:53 +00:00
Roger A. Light
a2ad289e33 Bump version number 2026-01-14 19:12:03 +00:00
Roger A. Light
9f576d2a71 Set max_packet_size to 2,000,000 bytes by default 2026-01-13 12:15:46 +00:00
Roger A. Light
8ad81a9917 MOSQ_EVT_ACL_CHECK event is now passed message properties where possible.
Closes #3176.
2026-01-12 23:51:02 +00:00
Roger A. Light
dd57e98c6b Limit auto_id_prefix to 50 characters
Back port from develop.

Closes #3440. Thanks to Lukas Dresel
2026-01-12 22:15:52 +00:00
Roger A. Light
1c9500b554 Fix potential crash on loading corrupt obsolete persistence file
Fix potential crash on startup if a malicious/corrupt persistence file from
mosquitto 1.5 or earlier is loaded.

Closes #3439. Thanks to Lukas Dresel
2026-01-12 22:08:57 +00:00
Roger A. Light
a0fa07f9ed Check return value of openssl ASN1_string_[get0_]data() functions for NULL.
This prevents a crash in case of incorrect certificate handling in openssl.

Closes #3390. Thanks to Qingpeng Du.
2025-10-11 22:43:09 +01:00
Roger A. Light
f3a9fbb78c Check *_get_ex_data() and *_set_ex_data() return values.
Closes #3389. Thanks to Qingpeng Du.
2025-10-11 22:43:09 +01:00
Roger A. Light
a06d93610e Fix: session handling when per_listener_settings is set to true
Closes #2618
Closes #2526

Thanks to Reuben Miller and llamaonaskateboard.
2025-09-17 17:04:50 +01:00
Roger A. Light
ed9936e39d Exit broker on reload if acl_file or password_file detect invalid input
Also exit if a plugin returns an error code from the RELOAD event.

Closes #3350.
2025-08-23 08:52:24 +01:00
Roger A. Light
32c2b64081 Add --retain-handling to sub and rr clients 2025-08-11 12:17:17 +01:00
Roger A. Light
6967e5b890 Update for previous commit
Update functionality, man page, changelog, and add test.
2025-08-07 23:35:12 +01:00
Roger A. Light
7fe08adce6 Further changelog rearranging, and removing incorrect TLS1.1 info 2025-08-05 10:40:21 +01:00
Roger A. Light
08ef1f4bfd Changelog: Reformat whole file and rearrange entries for 2.1 2025-08-05 10:34:50 +01:00
n4n5
95fddeb1bf fix: typos
Signed-off-by: n4n5 <its.just.n4n5@gmail.com>
2025-08-04 18:52:42 +01:00
Roger A. Light
b8ffdb878e Merge from master 2025-07-25 19:13:51 +01:00
Roger A. Light
d61d25d488 Replace mosquitto__cmp_hostname_wildcard with openssl equivalent 2025-07-18 07:48:42 +01:00
Roger A. Light
f1ecfd4cc3 Bump changelog date 2025-07-11 17:54:11 +01:00
Roger A. Light
da34d3b6be Fix clients being incorrectly expired.
This would ocurr when they have keepalive == max_keepalive.

Closes #3226
Closes #3286
2025-07-11 17:53:19 +01:00
Roger A. Light
d785f84548 Fix crash on exit when using WITH_EPOLL=no.
Closes #3302. Thanks to Keyi-Wang.
2025-07-11 15:28:11 +01:00
Roger A. Light
598a3a2fc7 Add changelog entry
Closes #1211.
2025-07-11 14:52:59 +01:00
Roger A. Light
90a7b9106a Add changelog entry 2025-07-11 14:51:10 +01:00
Roger A. Light
0c0683094b Allow plugins to choose when their tick event is next called 2025-07-10 21:06:01 +01:00
Roger A. Light
ee8ed763b5 Allow seconds in persistent_client_expiration definition. 2025-07-10 09:26:05 +01:00
Roger A. Light
55134b48e9 mosquitto_rr: Add --latency option 2025-06-03 13:13:08 +01:00
Roger A. Light
b99c89cfc9 Fix Websockets PING not being sent on Windows.
Closes #3272. Thanks to andrewthecat
2025-05-07 14:31:30 +01:00
Roger A. Light
2879012ef0 Windows: Add linker lib file for broker to the installer
Closes #3269. Thanks to u19809
2025-05-06 12:07:27 +01:00
Roger A. Light
d4945d2159 Fix linker errors on some architectures using cmake.
Closes #3167. Thanks to acode-x
2025-05-01 16:26:35 +01:00
Roger A. Light
d0fd1985bd Fix TLS tests when running on a single CPU system
Affects 08-ssl-connect-cert-auth-expired and
08-ssl-connect-cert-auth-revoked

Closes #3230. Thanks to Joachim Zobel
2025-05-01 15:14:08 +01:00
Roger A. Light
ca8f00fab5 Fix compilation using WITH_OLD_KEEPALIVE
Closes #3250. Thanks to Stefan Bigler
2025-05-01 13:44:48 +01:00
Roger A. Light
a250ae59ef Fix incorrect "out of memory" reporting of client disconnections
Closes #3253. Thanks to Abilio Marques.
2025-05-01 13:24:06 +01:00
Roger A. Light
2cb8129793 Fix incorrect reference clock being selected on startup on Linux.
Closes #3238. Thanks to Eric Guin and karlri.
Closes #3168.
2025-05-01 11:59:17 +01:00