Commit Graph
347 Commits
Author SHA1 Message Date
Roger A. Light ee485341dd Merge branch 'develop' of github.com:andreaskem/mosquitto into andreaskem-develop 2025-02-25 17:02:16 +00:00
Roger A. Light d98d986a6e Add pcket_buffer_size for clients.
Reduce read() calls
2024-11-19 23:48:54 +00:00
Roger A. Light f1e5cd791c - Add listener_auto_id_prefix ` option. 2024-11-09 15:49:58 +00:00
Roger A. Light 304395fdc2 Add listener_allow_anonymous option. 2024-11-07 09:27:11 +00:00
Roger A. Light dd2c25c1cf Merge branch 'master' into develop 2024-10-19 22:13:14 +01:00
Christoph KreyandRoger Light 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 f8d2f5758f Add mosquitto_signal for helping send signals to mosquitto on Windows. 2024-10-08 16:06:56 +01:00
Roger A. Light 18fdad5578 Add PROXY v1 support 2024-08-18 21:45:22 +01:00
Roger A. Light 26eff87522 Add PROXY protocol v2 support 2024-04-24 18:18:42 +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 8a8d6e043e mosquitto_sub: Add optional hex payload field separation 2024-02-26 00:19:32 +00:00
Roger A. Light 3c2ad96c66 Improve text 2024-02-24 23:22:11 +00:00
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 ChandranandGitHub 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
Andreas KempfandAndreas Kempf 28e3495012 Enable building on AIX
The AIX operating system by IBM does not provide the getifaddrs function
and requires a custom linker script syntax. This commit allows for a
basic GCC build on AIX 7.2.

The build was tested using the command lines

make CC=gcc WITH_CJSON=no WITH_DOCS=no WITH_STATIC_LIBRARIES=yes
and
CC=gcc cmake <srcpath> -DDOCUMENTATION=no

At this point, the persistence test suite seems to fail. The library, as
well as the mosquitto_sub and mosquitto_pub executables were tested and
appear to be functional.

Signed-off-by: Andreas Kempf <aakempf@gmail.com>
2022-05-18 17:20:41 +02:00
JsBergbauandRoger A. Light 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