Commit graph

334 commits

Author SHA1 Message Date
Roger A. Light
51888d8957 Remove unencrypted private key example 2023-11-20 23:08:16 +00:00
Roger A. Light
837c272c29 Add argon2 password hash support 2023-11-20 22:58:42 +00:00
Roger A. Light
4174b12206 Temporary disable xsltproc on Windows for CI builds 2023-11-19 10:50:56 +00:00
Roger A. Light
45ff076a09 No net for xsltproc with make 2023-11-19 10:23:38 +00:00
Roger A. Light
e656e694ed Merge branch 'master' into develop 2023-09-09 15:20:40 +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
a791532c12 Simplify $SYS metric generation. 2023-03-10 23:48:47 +00:00
Roger A. Light
385ddd7d86 Limit bridge restart base and cap to prevent integer overflow.
Non-critical.

Closes oss-fuzz #56302.
2023-03-03 22:11:54 +00:00
Roger A. Light
5fbe8e5be2 Add --tls-keylog for clients. 2023-03-03 15:31:46 +00:00
Roger A. Light
7f0cd48921 Formatting plus whitespace tidy 2023-03-03 15:31:46 +00:00
Roger A. Light
1a8e416b17 Add -q option to mosquitto 2023-01-27 17:21:36 +00:00
Roger A. Light
9260cf25f8 Fix parsing of IPv6 addresses in socks proxy urls. 2023-01-16 10:31:13 +00: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
Roger A. Light
00faec3ccd Doc update 2022-12-13 17:17:51 +00:00
Roger A. Light
3d5309a622 Complicated config test. 2022-11-30 15:35:19 +00:00
Roger A. Light
e452f8a4c5 Fix formatting 2022-11-30 15:35:19 +00:00
Roger A. Light
d64331603c Don't use TLS v1.1 by default. 2022-11-30 14:36:32 +00:00
Roger A. Light
4612901128 Typos 2022-11-30 09:52:28 +00:00
Roger A. Light
0dd85cfa23 Fix option name 2022-11-27 22:37:35 +00:00
Roger A. Light
3523fc597c Add extra help to mosquitto.conf man page. 2022-11-26 22:27:40 +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
826af31be7 Update changelog and man page. 2022-11-03 17:02:22 +00:00
Roger A. Light
fd68bf00c7 Merge branch 'master' into develop 2022-08-17 16:18:24 +01:00
Roger A. Light
e5cb3d0d58 Using -x now sets the clients to use MQTT v5.0. 2022-08-12 15:03:00 +01:00
Roger A. Light
c4664f08ac Clarify use_username_as_clientid is not global 2022-08-11 11:51:53 +01:00
Roger A. Light
29f49bf6ab Publish global out_packet values to $SYS 2022-06-04 22:40:48 +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
Roger A. Light
fe32e2506b Add more mosquitto_passwd examples 2022-05-19 15:28:37 +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
Roger A. Light
a84b5abb69 Update changelog and sort documentation order. 2022-04-29 22:02:41 +01:00
Michał Łyszczek
91bca8899c mosquitto_sub: add support to print floats
This patch adds support for two new format specifiers (%f and %d)
to print float and double data.

Generally it's not save to directly take native binary data of one machine and
print it on another one (since mosquitto is multiarch). But in case of floats
it's save to print representation of it, if __STDC_IEC_559__ is defined.

In C99 Annex F, standard we can read:
> This annex specifies C language support for the
> IEC 60559 floating-point standard.
> (...)
> An implementation that defines __STDC_IEC_559__
> shall conform to the specifications in this annex

All float printing code is behind __STDC_IEC_559__, so if that is not
defined, floating print will be disabled and error returned to user.

Documentation also describes restrictions about printing floats.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2022-04-24 17:33:37 +02: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
Roger A. Light
6ccdda7261 Add bridge_tls_use_os_certs option.
This allows bridges to be easily configured to trust default CA
certificates.

Closes #2473. Thanks to Dustin Utecht.
2022-03-11 23:10:20 +00:00
Roger A. Light
1972ab9a59 Man page fix 2022-02-28 21:58:42 +00:00
Roger A. Light
a85d9fb3e9 Merge branch 'improve_backoff' of https://github.com/abiliojr/mosquitto into abiliojr-improve_backoff 2022-02-24 17:02:55 +00:00
Norbert Heusser
e7e8b6e832 * Added list of connections to dynsec/getClient response
* Added new helper function mosquitto_apply_on_all_clients to broker
* Refactoring in dynamic-security plugin

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2022-02-21 16:27:26 +00:00
Roger A. Light
5a3b42d4a4 Use path vars in Makefiles. 2022-02-09 14:44:09 +00:00
Abilio Marques
03ad07f121 bridge: wait for stable connection before resetting backoff
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2022-02-02 07:21:03 +01:00
Roger A. Light
ab67dbcacd More client tests, and an output format fix. 2022-01-15 23:41:12 +00:00
Roger A. Light
aa99ce90ac Fix typo. 2021-11-16 16:16:52 +00:00
Roger Light
ff69dc8db2 Add bridge_receive_maximum option for MQTT v5.0 bridges. 2021-11-14 22:55:14 +00:00
Roger Light
99eddeb109 Add bridge_session_expiry_interval option for MQTT v5.0 bridges. 2021-11-14 22:01:10 +00: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 Light
538154bd9c The --insecure option now disables all server certificate verification. 2021-10-29 22:53:55 +01:00
Roger A. Light
8ac11929cc Merge branch 'master' into develop 2021-10-27 17:19:33 +01:00