Roger A. Light
8a03b5ad5c
Function for checking if a context is connected.
4 years ago
Roger Light
ef7662ca8e
Merge branch 'master' into develop
4 years ago
Roger Light
46de5ffae3
Report on what compile time options are available.
...
Closes #2193 . Thanks to Lucy2003.
4 years ago
Roger Light
f2faea04c2
Move listener code to own file.
4 years ago
Roger A. Light
1677bb85f4
Fix test.
5 years ago
Roger A. Light
8dbfdc0495
Add `--no-tls` option for all clients.
...
This disables all TLS options for that instance. This is useful for
negating TLS options provided in a config file, or to disable the
automatic use of TLS when using port 8883.
Closes #2180 . Thanks to Elliott Balsley.
5 years ago
Roger Light
d5ecd9f5aa
Update CVE information.
5 years ago
Roger Light
efad820706
Add `-o` option for all clients loading options from a specific file.
5 years ago
Roger A. Light
b4c1f98d62
Fix missing header.
5 years ago
Roger A. Light
34522913ea
Update Windows readme.
5 years ago
Roger A. Light
1c79920d78
Update docker.
5 years ago
Roger A. Light
1a6fdfb695
Merge branch 'fixes'
5 years ago
Roger A. Light
e7aa0fed2f
Bump version, update web page.
5 years ago
Roger A. Light
54df92cdc9
Add references to dynsec plugin in mosquitto.conf(5)
...
Closes #2089 . Thanks to YerayAlonso.
5 years ago
Roger A. Light
983dc14f2c
Provide help for users trying to bind to privileged ports.
...
Closes #2098 .
5 years ago
Roger A. Light
eead0d2943
Fix build on Solaris non-sparc.
...
Closes #2136 . Thanks to chuckunix.
5 years ago
Roger A. Light
6a4a547892
Fix segfault on client sending malformed CONNACk.
...
CVE-xxxx-xxxx: If an authenticated client connected with MQTT v5 sent a
malformed CONNACK message to the broker a NULL pointer dereference occurred,
most likely resulting in a segfault. This will be updated with the CVE
number when it is assigned.
Affects versions 2.0.0 to 2.0.9 inclusive.
Closes #2163 . Thanks to Bryan Pearson.
5 years ago
Roger A. Light
cde735a480
Add issue template.
5 years ago
Roger Light
6ebbb4d654
Fix possible socket leak.
...
This would occur if a client was using `mosquitto_loop_start()`, then if
the connection failed due to the remote server being inaccessible they
called `mosquitto_loop_stop(, true)` and recreated the mosquitto object.
See: https://www.eclipse.org/forums/index.php?t=rview&goto=1839865#msg_1839865
5 years ago
Roger Light
117e59b7cf
Fix CMake cross compile builds not finding opensslconf.h.
...
Closes #2160 . Thanks to Ozaq.
5 years ago
Roger A. Light
4ee03f21e3
Guard against missing UNUSED.
5 years ago
Roger A. Light
7d214a445d
Fix TLS-PSK mode not working with port 8883.
...
Closes #2152 . Thanks to jetpax.
5 years ago
Roger A. Light
3ac2c3ee09
Improve mosquitto_ctrl documentation.
5 years ago
Roger A. Light
20e154c1dd
Add missing config file.
5 years ago
Roger A. Light
7842323c0d
Test fixes.
5 years ago
Roger A. Light
27ca78ba60
Bring generic Dockerfile in line with 2.0-openssl.
5 years ago
Roger A. Light
e32bd8fb92
Add info on config-less docker to the generic image readme.
5 years ago
Roger A. Light
3cc6630d64
alias_mosq.c must be part of the cmake lib build.
5 years ago
Roger A. Light
c17c6a9028
Move example plugins to their own directory.
5 years ago
Roger Light
dcb9ac93c7
Merge pull request #2138 from dersimn/pr/examples
...
add some plugin examples
5 years ago
Roger A. Light
71366fd569
Add mosquitto_ctrl options
5 years ago
Roger A. Light
de9780343b
Add support for MQTT v5 broker->client topic aliases.
...
This is on a first-come-first-served basis for now.
Also broker to bridge topic aliases.
5 years ago
Roger A. Light
1289d23b66
Convert tests to be able to run on the same broker where possible.
5 years ago
Roger Light
0f9e5795a2
Merge pull request #2145 from abiliojr/empty_sockpairR
...
Fully empty sockpairR on interruptible_sleep
5 years ago
Roger Light
1c6571a83a
Merge pull request #2144 from abiliojr/fix_duplicates_on_connect
...
fix duplication of messages during connect
5 years ago
Abilio Marques
dd4a64b049
fully empty socketpairR on interruptible_sleep
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
5 years ago
Abilio Marques
91f34e084f
fix duplication of messages during connect
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
5 years ago
Roger Light
a5d9986cbd
More compiler warning fixes.
5 years ago
Roger Light
4c60fad52b
Enforce receive maximum on MQTT v5.
5 years ago
Roger Light
2de8c15bc9
Minor build fixes.
5 years ago
Roger Light
cca41d176d
Fix inconsistent sign in log__printf declaration.
5 years ago
Roger Light
9989a3502d
Add link to authentication options if running in local only mode.
5 years ago
Roger Light
898da756ed
Remove unused message timestamp member.
5 years ago
Simon Christmann
54ce48d1b6
plugin example: add user properties
...
Signed-off-by: Simon Christmann <simon@christmann.email>
5 years ago
Simon Christmann
182e294a4f
plugin example: printf
...
Signed-off-by: Simon Christmann <simon@christmann.email>
5 years ago
Roger Light
a6bb8d3611
Don't over write new receive-maximum if a v5 client connects.
...
This is for when it takes over an old session.
Closes #2134 . Thanks to Frantisek Fuka.
5 years ago
Roger Light
9faf89be8d
Set `receive-maximum` to not exceed the `-C` message count.
...
This is for mosquitto_sub and mosquitto_rr, to avoid potentially lost
messages.
Closes #2134 . Thanks to Frantisek Fuka.
5 years ago
Roger Light
dd890ff0ee
Add missing header.
5 years ago
Roger Light
fecf550cad
Fix test.
5 years ago
Roger Light
1e94e08843
Callbacks no longer block other callbacks.
...
The can also be set from within a callback.
Closes #2127 . Thanks to Weston Schmidt.
5 years ago