Roger A. Light
a0a37d385d
Update docker for 1.5.5.
2018-12-11 13:23:29 +00:00
Roger A. Light
66dfa57394
Don't use home interface until it is not auto connected.
2018-12-11 11:14:15 +00:00
Roger A. Light
d28834d541
Merge branch 'fixes'
2018-12-11 11:13:21 +00:00
Roger A. Light
a8ca5c83af
Bump version.
2018-12-11 11:13:09 +00:00
Roger A. Light
afe011866c
Remove unused variables.
2018-12-11 10:55:42 +00:00
Roger A. Light
89f3d7bb3f
Don't print connect/disconnect messages when connection_messages false.
...
Closes #772 . Closes #613 . Closes #537 .
Thanks to Christopher Maynard, Brandon Arrendondo, and qubeck.
2018-12-11 10:55:39 +00:00
Roger A. Light
a00dd29af8
Fix building where TLS-PSK is not available.
...
Closes #68 .
2018-12-11 10:55:31 +00:00
Roger A. Light
9097577b49
Fix acl_file being ignore for default listener if with per_listener_settings
...
Close #1073 . Thanks to Jef Driesen.
Bug: https://github.com/eclipse/mosquitto/issues/1073
2018-12-09 21:23:46 +00:00
Jelle van der Waa
1a6f8d3c28
src: ASN1_STRING_data is deprecated in OpenSSL 1.1
...
ASN1_STRING_get0_data replaces ASN1_STRING_data in OpenSSL 1.1 therefore
add an #ifdef for backwards compatibility.
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2018-12-09 21:22:04 +00:00
Roger A. Light
73c46174f8
Don't call on_disconnect() twice if keepalive tests fail.
...
Closes #1067 . Thanks to xingchen02.
Bug: https://github.com/eclipse/mosquitto/issues/1067
2018-12-06 10:45:57 +00:00
Abilio Marques
ead440e47d
bridge: fix issue where keepalive_interval gets added to restart_timeout using ADNS
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2018-12-05 11:42:24 +00:00
Tamaki Nishino
d07864939a
Check SSL_DATA_PENDING in mosquitto_loop_read()
...
Signed-off-by: Tamaki Nishino <otamachan@gmail.com>
2018-12-05 11:39:50 +00:00
Roger A. Light
3a871828ac
Print message on error when installing as a Windows service.
2018-12-05 11:25:41 +00:00
Roger A. Light
919333567c
Add home interface support to snap, for users that need it.
2018-12-04 22:48:56 +00:00
Roger A. Light
c9ed2708f6
Don't reload auth_opt_ options on reload.
...
This matches the behaviour of the other plugin options.
Closes #1068 . Thanks to Jason McFadyen.
Bug: https://github.com/eclipse/mosquitto/issues/1068
2018-12-04 20:51:25 +00:00
Roger A. Light
464b12f3d6
Fix outgoing retained messages not being sent by bridges.
...
This now happens on initial connection, after CONNACK is processed,
before it was happening (and being dropped) before the connection was
made.
Closes #1040 . Thanks to giover.
Bug: https://github.com/eclipse/mosquitto/issues/1040
2018-12-04 20:45:15 +00:00
Roger A. Light
5d02f58151
Fix reconnect delay backoff behaviour.
...
Closes #1027 . Thanks to Harm Verhagen.
Bug: https://github.com/eclipse/mosquitto/issues/1027
2018-12-04 17:19:31 +00:00
Roger A. Light
e169f1c7c2
When using ADNS, don't ask for all network protocols when connecting.
...
This can lead to confusing "Protocol not supported" errors if the
network is down, because UDP sockets are provided.
Thanks to jsaak.
Closes #1062 .
Bug: https://github.com/eclipse/mosquitto/issues/1062
2018-12-04 12:39:00 +00:00
Roger A. Light
d29dac087d
Add socket_domain option.
2018-12-04 11:48:29 +00:00
Roger A. Light
8509dde342
Make docker uid/gid explicit.
...
Closes #1034 . Thanks to Daniele Sluijters.
2018-12-04 11:48:04 +00:00
Roger A. Light
9df80cfab1
Tidy up unused Windows installer pages.
2018-12-04 10:51:41 +00:00
Roger A. Light
34293d07c1
Always print leading zeros in mosquitto_sub when output format is hex.
...
Closes #1066 .
Thanks to skiizo.
Bug: https://github.com/eclipse/mosquitto/issues/1066
2018-12-04 09:24:04 +00:00
Roger A. Light
44135bc680
Web: Roadmap and MQTT 5 updates.
2018-11-29 22:54:25 +00:00
Roger A. Light
9464e3fe19
Guard against possible null client id.
2018-11-20 10:15:34 +00:00
Roger A. Light
8960b1fe29
Update 1.5 docker image.
2018-11-08 21:14:09 +00:00
Roger A. Light
b2fda04e1c
Update website for 1.5.4.
2018-11-08 21:13:24 +00:00
Roger A. Light
265a3dd0b1
Merge branch 'fixes'
2018-11-08 14:52:06 +00:00
Roger A. Light
e81db23ce4
Bump version number.
2018-11-08 12:12:27 +00:00
Roger A. Light
b54e379fba
Fix websockets listeners not verifying client certs.
...
When using a TLS enabled websockets listener with "require_certificate"
enabled, the mosquitto broker does not correctly verify client certificates.
This is now fixed. All other security measures operate as expected, and in
particular non-websockets listeners are not affected by this. Closes #996 .
Thanks to creising.
2018-11-08 12:10:28 +00:00
Roger A. Light
71b8c4d892
Fix TLS connections when using an external event loop.
...
Affects the use of mosquitto_loop_read() and mosquitto_write().
Closes #990 .
2018-11-07 21:08:10 +00:00
Roger A. Light
b803b40a22
Update changelog.
2018-11-07 18:32:17 +00:00
Roger A. Light
ba67e1ffe5
Don't use gnu-specific strerror_r.
2018-11-07 18:27:15 +00:00
Roger A. Light
34c752a0d0
Give better error message if a client sends a password without a username.
...
Closes #1015 . Thanks to TabascoEye.
2018-11-07 17:29:39 +00:00
Roger A. Light
9f7577aab6
$SYS/broker/clients/disconnected should never be negative.
...
Closes #287 . Thanks to Lovisa Johansson.
Bug: https://github.com/eclipse/mosquitto/issues/287
2018-11-07 17:23:43 +00:00
Roger A. Light
feb303a919
Fix whitespace in Dockerfile.
2018-11-07 14:34:43 +00:00
Roger A. Light
1582117147
Build own libwebsockets in Docker image.
2018-11-07 14:34:43 +00:00
Iblis Lin
0368a8c01d
add socket headers for FreeBSD
...
Signed-off-by: Iblis Lin <iblis@hs.ntnu.edu.tw>
2018-11-07 10:28:26 +00:00
Roger A. Light
d7bcec4878
Don't disconnect clients when a plugin denies SUBSCRIBE.
...
Thanks to Ibrahim Koujar.
Bug: https://github.com/eclipse/mosquitto/issues/1016
2018-11-07 10:06:32 +00:00
Abilio Marques
a4a5236568
fix bug where bridge doesn't honor restart_timeout setting
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2018-11-06 23:28:40 +00:00
Bernd Kuhls
80f3bc4812
_GNU_SOURCE needed for EAI_INPROGRESS
...
Define of _GNU_SOURCE is needed to be able to use EAI_INPROGRESS in
loop.c.
This patch fixes a build error
loop.c:334:17: error: ‘EAI_INPROGRESS’ undeclared (first use in this function)
if(rc == EAI_INPROGRESS){
occuring with a glibc-2.27-based buildroot toolchain for sparc64
Target: sparc64-buildroot-linux-gnu
[...]
gcc version 6.4.0 (Buildroot 2018.05)
Source:
http://autobuild.buildroot.org/toolchains/tarballs/br-sparc64-full-2018.05.tar.bz2
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
2018-11-06 23:16:29 +00:00
Bartosz Taczała
e86b27a2da
Adding support for QNX7.0.0
...
Change-Id: Id01e2880aa5cadc0e93a46b95fe675e1938051fa
Signed-off-by: Bartosz Taczała <bartosz.taczala@mobica.com>
2018-11-06 23:11:09 +00:00
Roger A. Light
eff8fab1b4
Only process network errors for clients that have nothing to read.
...
Closes #7 .
2018-11-06 23:02:33 +00:00
Roger A. Light
c26892244c
Test x509 generation script requires no interaction now.
2018-11-06 23:02:33 +00:00
Roger A. Light
93f9e965a8
Only remove context from hash if there is a client id.
...
This should never happen, but just in case.
2018-11-06 23:01:06 +00:00
Roger A. Light
da2879c33b
Docker fixes.
...
- Don't remove apk database, closes #1011 .
- Install mosquitto_passwd, closes #1009 .
2018-11-03 08:57:06 +00:00
Roger A. Light
d5aaeee1fb
Use https for all downloads.
2018-10-29 16:27:04 +00:00
Roger A. Light
1853bfc678
Docker fixes as per review.
...
https://github.com/docker-library/official-images/pull/4987#issuecomment-433570818
Revert to stderr logging.
Use wget instead of curl.
Don't redownload libuuid or libwebsockets.
2018-10-27 08:14:57 +01:00
Roger A. Light
26e5766182
Docker volume/mount point fixes per review.
...
https://github.com/docker-library/official-images/pull/4987#issuecomment-433185843
2018-10-26 07:31:44 +01:00
Roger A. Light
064d94581c
Remove renamed files, fix readme.
2018-10-26 07:31:22 +01:00
Roger A. Light
d60b9d4e5d
Rewrite docker files for 1.5 support.
...
Builds from source.
Carries out security checks on downloads.
2018-10-24 17:00:15 +01:00