Commit graph

34 commits

Author SHA1 Message Date
Roger A. Light
aa4bfa68ab Further fixes for WITH_TLS=no 2026-02-03 11:41:40 +00:00
Roger A. Light
e8380fd83e cmake: Attempt to fall back to readline if editline not available 2026-01-25 01:22:48 +00:00
Roger A. Light
43dda2ae20 Fix some build variants 2025-07-10 16:08:49 +01:00
Roger A. Light
2ff2029c42 mosquitto_ctrl interactive shell mode 2025-04-16 15:42:51 +01:00
Roger A. Light
b5e21d146d Move password functions to libcommon. 2024-06-12 21:26:25 +01:00
Roger A. Light
16d465fa49 Refactor base64 functions to common static library. 2024-03-17 21:34:27 +00:00
Roger A. Light
b5c25cf1d0 Refactor memory functions to common static library. 2024-03-17 10:30:07 +00:00
Roger A. Light
920f4f52f1 Fix ctrl SOCKS compile. 2024-01-31 16:24:55 +00:00
Roger A. Light
837c272c29 Add argon2 password hash support 2023-11-20 22:58:42 +00:00
Roger A. Light
b6710f9364 Refactor password code 2023-11-20 22:58:42 +00:00
Roger A. Light
c8e313aac0 Fix build
This is for the case where command line overrides are set.
2023-09-19 22:48:24 +01:00
Roger A. Light
a31bee722f Simplify make build. 2023-05-10 16:20:06 +01:00
Roger A. Light
53dc3006a2 Make cJSON a hard dependency. 2023-04-01 23:35:03 +01:00
Roger A. Light
5fb4b05d8f Support for initial fuzzing through oss-fuzz 2023-01-31 13:54:21 +00:00
Roger A. Light
67d0792fd6 Remove duplicate code. 2022-11-15 15:50:25 +00:00
Norbert Heusser
621d74fd6a Created new helper function mosquitto_write_file in common/misc_mosq.h to consolidate
saving config files in failsafe manner

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2022-07-19 17:22:19 +00:00
Roger A. Light
ffb7661d86 Move shared code to common directory
This is currently limited to "utility" type functions and does not include code common to the library and broker that are protocol related.
2022-02-09 16:26:10 +00:00
Roger A. Light
5a3b42d4a4 Use path vars in Makefiles. 2022-02-09 14:44:09 +00:00
Roger A. Light
8d073771c3 Make some plugin code shared for future use. 2022-02-03 23:08:28 +00:00
Roger A. Light
799cdead15 Experimental custom websockets support. 2021-10-06 15:32:45 +01:00
Roger A. Light
55d5d2e5f2 Fix for building when uthash not available. 2021-09-30 21:37:11 +01:00
Roger A. Light
a25fc166a8 Add $CONTROL/broker/v1 control & the getPluginInfo command. 2021-09-07 23:17:31 +01:00
Roger A. Light
c862ffec8b Allow mosquitto_ctrl dynsec module to update passwords in files 2021-08-18 16:14:27 +01:00
Roger Light
2de8c15bc9 Minor build fixes. 2021-03-21 09:18:43 +00:00
Roger A. Light
603107b87a Fix build of mosquitto_ctrl with static only libs. 2021-02-02 13:37:39 +00:00
Roger A. Light
99e8c8001d Build lib from in mosquitto_ctrl directory. 2020-12-17 15:19:12 +00:00
Roger A. Light
f7dc138157 Fix install target when using WITH_CJSON=no.
Closes #1938. Thanks to apple3306 and JulianCaruso.
2020-12-11 00:07:11 +00:00
Karl Palsson
58a06f3331 apps: mosquitto_ctrl: don't hard set paths
In a cross compile environment, these paths will be added elsewhere, and
in a local environment, they should already be covered by the system
compiler.  Simply drop them.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-12-04 21:45:06 +00:00
Roger A. Light
d291effdcf Fix mosquitto_ctrl Makefile build yes/no based on deps. 2020-12-02 10:31:25 +00:00
Roger A. Light
aa7176e3ad Fix mosquitto_ctrl_example shared object building on some platforms.
Closes #1895. Thanks to Franz.
2020-11-17 16:24:26 +00:00
Roger A. Light
4d6384c758 Build and conversion fixes for build variants. 2020-11-05 10:23:01 +00:00
Roger A. Light
bb03b9c081 Let mosquitto_ctrl load external modules.
Also provide an example.
2020-11-01 22:59:39 +00:00
Roger A. Light
99a544ac73 ctrl: Ask for login password if the user doesn't provide it. 2020-10-29 12:49:51 +00:00
Roger A. Light
fdff255916 New dynamic security plugin. 2020-10-27 00:54:55 +00:00