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

272 Commits

Author SHA1 Message Date
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
3972d3f652 Help client man page users find Encrypted Connection section
Closes #3178.
2025-02-27 14:45:07 +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
52de9182a0 Merge branch 'ctrl-tls' of github.com:ckrey/mosquitto into ckrey-ctrl-tls 2025-02-25 19:54:28 +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
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
Christoph Krey
eaaf579029 Fix Tiny typo in mosquitto-tls man page - "mosquitto-conf" should be "mosquitto.conf" closes #2803
Signed-off-by: Christoph Krey <c@ckrey.de>
2024-10-15 14:24: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
9e0831b3ed Merge branch 'fixes' 2023-08-16 14:03:29 +01:00
Roger A. Light
66faab12d5 Document mosquitto_rr -W option
Closes #2839. Thanks to KaeLL
2023-08-16 14:01:21 +01:00
Roger A. Light
fa9979ce68 Update mosquitto-tls to suggest modern cypher. 2023-08-16 14:01:21 +01:00
Philippe Coval
e653f75f67 man: Fix typo-in-manual-page noticable noticeable
This was reported by debian lintian checker

Forwarded: https://github.com/eclipse/mosquitto/pull/2846#Open
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2023-07-10 08:52:51 +02:00
Bart Desplanques
105e30ff5b Fix engine support.
Do not try to open keyfile when keyform is "engine": this is not necessarily a real file.
Dynamic engines require init with OPENSSL_INIT_ENGINE_DYNAMIC before they can be loaded.

Signed-off-by: Bart Desplanques <bart.desplanques@gmail.com>
2023-06-02 19:11:50 +02:00
Roger A. Light
63da7472b5 Fix default settings incorrectly allowing TLS v1.1.
Closes #2722. Thanks to KramNamez.
2023-03-28 01:39:28 +01:00
Roger A. Light
c77fa4c089 Merge branch 'make-man' of https://github.com/podsvirov/mosquitto into podsvirov-make-man 2022-12-16 15:52:25 +00:00
Rony B Chandran
d1cdaec963
Removed repeated line
<listitem><para><option>%I</option> ISO-8601 format date and time, e.g. 2016-08-10T09:47:38+0100</para></listitem>
2022-11-22 11:53:31 +05:30
Roger A. Light
c4664f08ac Clarify use_username_as_clientid is not global 2022-08-11 11:51:53 +01:00
Roger A. Light
29c6480c47 Improve documentation of persistent_client_expiration option.
Closes #2404. Thanks to Rainer Plischke.
2022-05-19 17:04:20 +01:00
JsBergbau
651331ff7d Added queue_qos0_messages documentation for bridging
See https://github.com/eclipse/mosquitto/pull/2500
2022-05-11 15:51:59 +01:00
Pierre Hallot
8504f6b70b
CMake: Use PROJECT_SOURCE_DIR to improve using mosquitto as subdirectory
When mosquitto is included as subdirectory, `CMAKE_SOURCE_DIR` does not refer to the mosquitto top level CMake file, but to the whole project top level CMake.
Use `PROJECT_SOURCE_DIR` instead to refer to the right CMake in both contextes.

Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2022-04-05 16:14:48 +02:00
Konstantin Podsvirov
0de3f3a3f7 Allow to build man pages on Windows
Why not if xsltproc available?
Moreover why try to install not existent files?

Signed-off-by: Konstantin Podsvirov <konstantin@podsvirov.pro>
2021-11-06 16:31:20 +03:00
Roger A. Light
a1a190b482 Pointless whitespace tidy. 2021-10-05 15:20:37 +01:00
Roger A. Light
d942ed7eec Fix max_keepalive option not being able to be set to 0. 2021-09-09 12:19:13 +01:00
Roger A. Light
e43d36020f Update plugin configuration documentation.
Closes #2286. Thanks to Karl Palsson.
2021-08-31 10:57:48 +01:00
Roger A. Light
756b3fcb08 Document TLS certificate behaviour when using -p 8883. 2021-08-24 23:15:06 +01:00
Roger Light
035291c595 Signal+reload documentation improvement. 2021-08-21 00:08:20 +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
30b54ba124 Add platform limitations section to man page. 2021-06-29 13:51:31 +01:00
Roger A. Light
99833795f2 Man page improvements - document MQTT support. 2021-05-19 13:33:09 +01:00
Roger A. Light
d3dd89da82 Fix man page typos. 2021-04-18 09:10:27 +01:00
Roger Light
f1f0396d86 Fix links in man pages. 2021-04-09 23:21:29 +01:00
Roger A. Light
54df92cdc9 Add references to dynsec plugin in mosquitto.conf(5)
Closes #2089. Thanks to YerayAlonso.
2021-04-03 11:43:33 +01:00
Roger A. Light
3ac2c3ee09 Improve mosquitto_ctrl documentation. 2021-03-26 10:42:18 +00:00
Roger A. Light
c11a2d5a8b Fix mosquitto_rr doc default version.
Closes #2032.
2021-03-11 14:00:08 +00:00
Roger A. Light
217b416a2d Fix man page building to not absolutely require xsltproc when using CMake.
This now handles the case where we are building from the released tar, or
building from git if xsltproc is available, or building from git if xsltproc
is not available.
2021-02-02 16:33:49 +00:00
Roger Light
ad9a78dfc3 Note in the man pages that SIGHUP reloads TLS certificates.
Closes #2037. Thanks to Greg Troxel.
2021-01-25 23:09:03 +00:00
Roger A. Light
e717b7f42c Merge branch 'Hallot-make-sure-xsltproc-installed' into fixes 2021-01-08 17:09:39 +00:00
Roger A. Light
f7255ac3cf Merge branch 'make-sure-xsltproc-installed' of git://github.com/Hallot/mosquitto into Hallot-make-sure-xsltproc-installed 2021-01-08 17:08:58 +00:00
Roger Light
886ee6cd0c Fix bind_interface option.
Closes #1999. Thanks to Joerg55.
2021-01-07 22:50:32 +00:00
Roger Light
28c28fe707 Fix incorrect description in mosquitto_ctrl man page.
Closes #1995. Thanks to fyta2000.
2021-01-07 11:48:55 +00:00
Pierre Hallot
2cbb3e45ca
Look for xsltproc when needed; to fail early
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2021-01-04 16:53:51 +01:00
Roger A. Light
7fc472232c Merge branch 'fixes' 2020-12-22 16:56:29 +00:00
Roger A. Light
4a012aef06 Fix man pages not being built when using CMake.
Closes #1969. Thanks to phplpf.
2020-12-20 22:33:01 +00:00
Roger A. Light
0ec258d01f Fix incorrect string length calculation.
Closes #1963. Thanks to twegener-embertec.
2020-12-18 09:45:49 +00:00
Peter Stevenson
8a44e5940c Systemd service changes for updated pid path.
Signed-off-by: Peter Stevenson <pete@ihut.co.uk>
2020-12-17 00:24:10 +00:00
Roger A. Light
04c110183c Bridge support for MQTT v5 maximum-qos. 2020-12-01 18:15:29 +00:00
Roger A. Light
29c771cdd4 Add lib and client support for OS CA certs
- Add `MOSQ_OPT_TLS_USE_OS_CERTS` option, to instruct the client to load and  trust OS provided CA certificates for use with TLS connections.
- All clients now load OS provided CA certificates if used with `-L
  mqtts://...`, or if port is set to 8883 and no other CA certificates are
  used. Closes #1824.
- Add the `--tls-use-os-certs` option to all clients.

Closes #1824. Thanks to Jens Reimann.
2020-12-01 11:51:13 +00:00
Roger A. Light
b7e6638fd8 Add ciphers_tls1.3 option, to allow setting TLS v1.3 ciphersuites.
Closes #1825. Thanks to Valentin Dimov.
2020-12-01 10:45:10 +00:00
Roger A. Light
4667c9d5bc Change max_queued_messages default to 1000. 2020-11-24 10:13:21 +00:00
Roger A. Light
68f849f2af Fix slug 2020-11-13 22:11:08 +00:00