Roger A. Light
d8dcfd75fe
lib: Fix DH group not being set for TLS connections.
...
This meant ciphers using DHE couldn't be used.
Closes #1925 . Closes #1476 . Thanks to Jonathan Sönnerup, Valerii
Demeshko, and sectokia.
2020-12-09 22:30:06 +00:00
Roger A. Light
b7f0161f52
Fix DH group not being set for TLS connections.
...
This meant ciphers using DHE couldn't be used.
Closes #1925 . Closes #1476 . Thanks to Jonathan Sönnerup, Valerii
Demeshko, and sectokia.
2020-12-09 15:40:45 +00:00
Roger A. Light
0d3512144f
Remove defunct stickers link.
2020-12-09 14:08:37 +00:00
Roger A. Light
bdfa5e714a
Fix mosquitto_passwd -U
2020-12-09 14:08:37 +00:00
Roger A. Light
9968e35981
Fix websockets connections on Windows blocking subsequent connections.
...
Closes #1934 . Thanks to sectokia.
2020-12-09 11:39:53 +00:00
Roger A. Light
0d747673d3
Distribute cmake/ and snap/ directories in tar.
2020-12-06 23:12:04 +00:00
Roger A. Light
74faabc7c1
Fix invalid free
2020-12-06 21:27:26 +00:00
Roger A. Light
3047374693
Drop hard coded linker flags.
2020-12-06 07:43:59 +00:00
Roger A. Light
c25229c13a
Fix build using WITH_TLS=no when the openssl headers aren't available.
2020-12-04 23:44:38 +00:00
Roger A. Light
699654b999
Don't update homebrew in travis, it takes an age otherwise.
2020-12-04 23:23:58 +00:00
Roger A. Light
791c63372b
Fix cjson include paths.
2020-12-04 22:15:19 +00:00
Roger Light
5679a4d432
Merge pull request #1930 from etactica/crosss-fixes20
...
apps: mosquitto_ctrl: don't hard set paths
2020-12-04 22:00:28 +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
122e6ecfd3
Docker: Verify sha256 sums for lws/cjson.
2020-12-03 21:07:01 +00:00
Roger A. Light
00cf75dafc
Add v2.0.0 post.
2020-12-03 16:35:20 +00:00
Roger A. Light
25d5b8cbb0
Update download page for new release.
2020-12-03 16:14:56 +00:00
Roger A. Light
fc51063d54
Migration guide, plus dynsec doc update, plus toc.
2020-12-03 16:14:56 +00:00
Roger A. Light
3a7670507a
Windows installer path fixes.
2020-12-03 14:02:43 +00:00
Roger A. Light
6ad5f19aef
CMake build fixes for Windows.
2020-12-03 14:02:17 +00:00
Roger A. Light
2801d5c128
Fix snapcraft build.
2020-12-03 13:26:47 +00:00
Roger A. Light
7a26cc259c
Update docker hashes.
2020-12-03 00:14:38 +00:00
Roger A. Light
c00671af5c
Rename and update.
2020-12-03 00:06:21 +00:00
Roger A. Light
3433192041
Fix Docker 2.0 source path
2020-12-02 23:27:53 +00:00
Roger A. Light
09ee0c31f5
Build fix for Xcode 12.
...
Closes #1831 . Thanks to Tristan79 and andreas-kluge.
2020-12-02 22:47:34 +00:00
Roger A. Light
74db0e977f
Merge branch 'develop'
2020-12-02 22:44:26 +00:00
Roger A. Light
016d2c1719
Merge branch 'fixes' into develop
2020-12-02 22:44:09 +00:00
Roger A. Light
faa56fbb3d
Docker files for 2.0
2020-12-02 22:43:42 +00:00
Roger A. Light
1636e47202
libressl does not support SSL_CTX_set_ciphersuites.
2020-12-02 22:39:48 +00:00
Roger A. Light
5b6c2c9d0b
Update snap package for 2.0
2020-12-02 22:31:42 +00:00
Roger A. Light
845be8bead
Fix dist target.
2020-12-02 21:51:30 +00:00
Roger A. Light
163d6bf60f
Update Windows installers for new files.
2020-12-02 20:58:41 +00:00
Roger A. Light
6904fac6a4
Bump version number and changelog.
2020-12-02 20:54:13 +00:00
Roger A. Light
d6fe93aa51
ctrl: --force not supported.
2020-12-02 20:39:07 +00:00
Roger A. Light
6fe3279436
Build fixes from Windows changes.
2020-12-02 20:38:21 +00:00
Roger A. Light
ea1d496299
Reply to $CONTROL QoS>0 msgs even if WITH_CONTROL disabled.
2020-12-02 19:49:17 +00:00
Roger A. Light
27a160d127
Enable WITH_CONTROL in cmake.
2020-12-02 19:49:15 +00:00
Roger A. Light
26ffe1300a
Various Windows build fixes.
2020-12-02 19:49:14 +00:00
Nikolay Raspopov
71845d28ac
Fixed some VS2017 compilation error and warnings ( #1916 )
...
* Fixed some VS2017 compilation errors and warnings.
Signed-off-by: raspopov <raspopov@cherubicsoft.com>
2020-12-02 15:59:45 +00:00
Roger A. Light
2687d18214
macOS build fixes.
2020-12-02 15:50:33 +00:00
Roger A. Light
550c54701e
Fix cmake build when cjson not available.
2020-12-02 15:50:33 +00:00
Pierre Hallot
8f0bdd5fd3
Find package libwebsockets if the option is ON.
...
Otherwise, if the package is not installed, configuration will work, but building will fail.
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2020-12-02 11:54:28 +00:00
Pierre Hallot
2afc5783a9
CMake: Move cJSON check out of the plugin check since it is required elsewhere
...
Some client/app code also optionally use cJSON, however it won't be found if plugins are disabled.
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2020-12-02 11:28:51 +00:00
Pierre Hallot
6293e13142
Fix CMake warning about cJSON name mismatch
...
CMake Warning (dev) at /usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:424 (message):
The package name passed to `find_package_handle_standard_args` (CJSON) does
not match the name of the calling package (cJSON). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake/FindcJSON.cmake:23 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:125 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2020-12-02 11:28:51 +00:00
Roger A. Light
828e7ae130
More conversion fixes.
2020-12-02 10:41:58 +00:00
Roger A. Light
42f09b8add
Build fixes
2020-12-02 10:36:00 +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
df1802d8f1
Fix client state conversion warnings.
2020-12-02 10:26:22 +00:00
Roger A. Light
27967f8885
Prevent possible unitialised use.
2020-12-02 10:10:21 +00:00
Roger A. Light
9e6efd2f32
Stop listeners before removing clients to avoid use after free.
2020-12-02 09:41:12 +00:00
Roger A. Light
232a759320
Log client port on new connections.
...
Closes #1911 . Thanks to twegener-embertec.
2020-12-01 22:38:59 +00:00