1
0
mirror of https://github.com/eclipse/mosquitto.git synced 2025-04-19 10:22:16 +03:00

3106 Commits

Author SHA1 Message Date
Roger A. Light
c6c6850d5c Whitespace tidy 2025-04-06 22:25:02 +01:00
Roger A. Light
f522dcaeed Remove unused service files 2025-04-04 12:34:07 +01:00
Roger A. Light
6ba7792a50 Add editorconfig file 2025-04-04 12:34:05 +01:00
Roger A. Light
a61bfe122d Add details on client config files under snap
Closes #3236
2025-03-19 09:19:07 +00:00
Roger A. Light
4e1b872b48 Update test certs - seemingly broken due to merge 2025-03-08 06:51:58 +00:00
Roger A. Light
d5e2e89fe8 Harmonise test workflow run conditions and extend to master branch and tags 2025-03-08 06:51:05 +00:00
Roger A. Light
44fe135864 Bump docker 2025-03-06 16:26:36 +00:00
Roger A. Light
672ae3e57f Update changelog, web page v2.0.21 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
1c6a813e6f Merge branch 'fixes' 2025-03-06 15:04:13 +00:00
Roger A. Light
3972d3f652 Help client man page users find Encrypted Connection section
Closes #3178.
2025-02-27 14:45:07 +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
Guiorgy
72a8a96103 removed trailing space from OCI title label
Signed-off-by: Guiorgy <Guiorgy123@gmail.com>
2025-02-26 16:27:10 +00:00
Arvin
a853be5008 fix leakage of mosq->tls_engine and User SSL Context
Signed-off-by: Arvin <icemanpeng@foxmail.com>
2025-02-26 12:53:40 +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
greg.m4879
60e47417cd Fix db_dump build issue with some older toolchain
With some older gcc toolchain, mosquitto_db_dump fails to build because of
missing link with -lrt

[2021-04-13T08:09:44.016Z] time_mosq.o: In function `mosquitto_time':
[2021-04-13T08:09:44.016Z] /home/jenkins/workspace/CORE/Builder/slave_g/network/lib_mosquitto/apps/db_dump/../../lib/time_mosq.c:44: undefined reference to `clock_gettime'
[2021-04-13T08:09:44.016Z] collect2: ld returned 1 exit status
[2021-04-13T08:09:44.016Z] make[6]: *** [Makefile:28: mosquitto_db_dump] Error 1
2025-02-26 10:55:59 +00:00
Roger A. Light
742f6194d2 Merge branch 'ckrey-ctrl-tls' into fixes 2025-02-25 20:02:17 +00:00
Roger A. Light
52de9182a0 Merge branch 'ctrl-tls' of github.com:ckrey/mosquitto into ckrey-ctrl-tls 2025-02-25 19:54:28 +00:00
Simon B. Gasse
7f50849875 Remove unused variables in database.c 2025-02-25 18:49:00 +00:00
Thomas De Backer
cfe71470f2 Update docker documentation
Signed-off-by: Thomas De Backer <mosterdt@debacker.me>
2025-02-25 17:18:17 +00:00
Roger A. Light
18ca132631 Merge branch 'hannes09-http_download_timout_fix' into fixes 2025-02-25 17:15:36 +00:00
Roger A. Light
e9c28c6abd Merge branch 'http_download_timout_fix' of github.com:hannes09/mosquitto into hannes09-http_download_timout_fix 2025-02-25 17:14:08 +00:00
Roger A. Light
d0d0ac4bd6 Fix test 2025-02-25 13:57:32 +00:00
Roger A. Light
66b68a80dd Update test certificates 2025-02-25 13:42:40 +00:00
Roger A. Light
b2b8df111e Merge branch 'ckrey-fix2908' into fixes 2025-02-25 13:42:21 +00:00
Roger A. Light
a8d887f30b Merge branch 'fix2908' of github.com:ckrey/mosquitto into ckrey-fix2908 2025-02-25 12:34:41 +00:00
Christoph Krey
b1f2b7bf67 Add test for early check of RESERVED command with illegal remaining length #2325
Signed-off-by: Christoph Krey <c@ckrey.de>
2025-02-25 11:33:18 +00:00
Lars-Dominik Braun
ac3ee3f91a Document that MOSQ_ERR_NOT_SUPPORTED is returned for more methods.
The documentation was wrong, the properties argument is not ignored.
2025-02-25 11:31:22 +00:00
Bertrand Roussel
9d08d2ac3f Warn capath is not supported for websockets
libwebsockets doesn't provide an option to provide a `capath`, ie
a directory that contains multiple certificates.
( https://github.com/warmcat/libwebsockets/issues/3276 )

To avoid confusion, explicitly state that it's not supported for
websockets in the doc for mosquitto.conf, and add a warning if option is
provided while `capath` is not provided.
2025-02-25 11:30:05 +00:00
Bertrand Roussel
0b6daae041 Fix build for plugin_debug.so
Signed-off-by: Bertrand Roussel <bertrand.roussel@generac.com>
2025-02-25 11:29:16 +00:00
alorente
c852a96eda Add OCI Image Labels 2025-02-25 11:25:51 +00:00
moosemanf
ae93953682 Update dynamic-security.md
the cli arguments in the example went out of sync with the actual commands certfile -> cert and keyfile -> key
2025-02-25 11:23:05 +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
c85313dbde Update snap to core24.
Closes #3196.
2025-01-20 22:15:53 +00:00
Roger A. Light
7b14be8eec Add details on starting/stopping the broker from the snap
Closes #3197. Thanks to Van Phat Phan.
2025-01-20 20:51:57 +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
Joachim Zobel
49cf044650 Regenerated certificates with gen.sh 2025-01-20 18:30:50 +00:00
Joachim Zobel
59c9d13225 Fixed issue in CA cert. creation 2025-01-20 18:30:50 +00:00
Christoph Krey
b72df4538e ctrl with automatic TLS mode with PSK
Signed-off-by: Christoph Krey <c@ckrey.de>
2024-11-05 10:44:04 +01:00
Christoph Krey
d8133888f4 mosquitto_ctrl changes automatically to TLS mode if you use port 8883 like mosquitto_* clients #2541
Signed-off-by: Christoph Krey <c@ckrey.de>
2024-11-05 10:38:24 +01:00
Roger A. Light
849e0f5c58 Automatically label new issues as available 2024-11-02 10:26:16 +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
Thymo van Beers
c968f5b7c4 Copy scope id when binding to IPv6 Link-Local address
Binding to an IPv6 Link-Local address requires the scope ID to be set.
If this is not set bind will return EINVAL.

Signed-off-by: Thymo van Beers <tvanbeers@bauwatch.com>
2024-11-01 08:55:40 +00:00
Thymo van Beers
9d325b26d6 Updated broker tests readme
Signed-off-by: Thymo van Beers <tvanbeers@bauwatch.com>
2024-11-01 08:55:40 +00:00