Roger A. Light
dfbd33e0f4
Update documentation for bridge backup, plus tweaks
...
Sets default to use the backoff mechanism.
2019-02-27 13:52:19 +00:00
Roger A. Light
e334aad853
Rewrite bind_interface docs, update changelog.
2019-02-27 10:07:14 +00:00
Roger A. Light
f4e24f9524
Use higher resolution timer for random client id generation.
2019-02-26 14:26:05 +00:00
Roger A. Light
5e8199323b
Fix clients being disconnected when ACLs are in use.
...
This only affects the case where a client connects using a username, and
the anonymous ACL list is defined but specific user ACLs are not
defined.
Closes #1162 . Thanks to quonb.
2019-02-14 17:46:01 +00:00
Roger A. Light
bb72cf9088
Bump version number, update webpage.
2019-02-13 23:49:17 +00:00
Roger A. Light
321e566af6
Fix unref'd messages being saved to the persistence file.
...
This was leaving dangling messages that were never freed.
Closes #389 . Thanks to pjchx.
2019-02-13 12:08:05 +00:00
Roger A. Light
1a6c3f0c86
Improve documentation around the include_dir
option.
...
Closes #1154 . Thanks to Guzoft.
2019-02-13 10:08:44 +00:00
Roger A. Light
084062c85e
Merge branch 'fixes' into mqtt5
2019-02-12 17:05:42 +00:00
Roger A. Light
9999faf9da
Add rewritten build test script and remove some build warnings.
2019-02-12 13:24:54 +00:00
Roger A. Light
e72d1d6ff5
Fix mosquitto_topic_matches_sub()
rc with sub=="topic/#abc".
...
This now returns MOSQ_ERR_INVAL as expected.
2019-02-12 11:26:23 +00:00
Roger A. Light
04e89450c0
Don't require C99 compiler.
2019-02-09 13:52:09 +00:00
Roger A. Light
715da28602
Fix include_dir not sorting config files before loading.
...
Thanks to momoskitto.
2019-02-08 23:52:11 +00:00
Roger A. Light
2e1c2c430f
per_listener_settings true
must come before other security settings.
...
Produce error if this is not the case. Closes #1164 , thanks to
momoskitto.
2019-02-08 23:14:43 +00:00
Roger A. Light
9378016b19
Fix build failure when using WITH_ADNS=yes
2019-02-08 21:34:08 +00:00
Roger A. Light
1b5c900e77
Update CVE details and bump version number.
2019-02-08 13:01:07 +00:00
Roger A. Light
1c075988ca
Log message for disconnecting a client with invalid UTF-8 topic.
...
Closes #1144 . Thanks to Kris Mattheus.
2019-02-08 13:01:07 +00:00
Roger A. Light
f952ae3a67
Fixed durable clients being unable to receive messages when offline.
...
This occurred when per_listener_settings was set to true.
Closes #1081 . Thanks to dwin-wangjt.
2019-02-08 13:01:07 +00:00
Roger A. Light
17b52bd5d1
Windows: Fix possible crash when client disconnects.
...
Closes #1137 . Thanks to Kris Mattheus.
2019-02-08 13:01:07 +00:00
Roger A. Light
d6a690aa8d
Fix Will not being sent for Websockets clients.
...
Closes #1143 . Thanks to salcedo.
2019-02-08 13:01:07 +00:00
Roger A. Light
ab8b57ff54
Allow broker to always restart on Windows when using log_dest file
.
...
Closes #1080 . Thanks to lcouz.
2019-02-08 13:01:07 +00:00
Roger A. Light
29a1936c77
Fix spaces not being allowed in the bridge remote_username option.
...
Closes #1131 . Thanks to beville.
2019-02-08 13:01:07 +00:00
Roger A. Light
ce1d0ae364
Man page can now be built on any system.
...
Closes #1139 . Huge thanks to Chris Mayo.
2019-02-08 13:01:07 +00:00
Roger Light
c40957a7d8
Fix and tests for CVE-2018-12546.
2019-02-08 13:01:07 +00:00
Roger A. Light
d8505624d0
Fix and tests for security bug #541870 .
2019-02-08 13:01:07 +00:00
Roger A. Light
36b5421c59
Fix and tests for security bug #543401 .
2019-02-08 13:01:07 +00:00
Roger Light
5236295159
Handle mismatched handshakes properly.
...
For example, a QoS1 PUBLISH with QoS2 reply.
2019-02-08 13:01:07 +00:00
Roger A. Light
495e9647c2
Improve bridge remapping documentation.
2019-02-08 13:01:07 +00:00
Roger A. Light
ad42f449d8
Update changelog for previous PR.
...
Thanks to Matthias Stone.
2019-02-08 13:01:07 +00:00
Roger A. Light
e8320cbf19
Fix TLS connections not working over SOCKS.
...
Thanks to Mark Oeltjenbruns.
2019-02-08 13:01:07 +00:00
Roger A. Light
a2b78d87a6
Update changelog
2019-02-08 13:01:07 +00:00
Roger A. Light
be9c1071b0
Fix compilation when openssl deprecated APIs are not available.
...
Closes #1094 . Thanks to Rosen Penev.
2019-02-08 13:01:07 +00:00
Roger A. Light
70c4097b6f
Fix comparison of boolean values in CMake build.
...
Closes #1101 . Thanks to Mojca Miklavec and Andrew L. Moore.
2019-02-08 13:01:07 +00:00
Roger A. Light
4a2e569171
-V now accepts 5,
311,
31, as well as
mqttv5` etc.
2019-01-09 18:06:20 +00:00
Roger A. Light
2f54b16544
Fix mosquitto_pub not always sending everything with -l and QoS>0.
2019-01-08 14:19:50 +00:00
Roger A. Light
19fbbd8726
Update details of CVE-2018-20145.
2018-12-20 18:45:01 +00:00
Roger A. Light
fcf4cd0b27
Merge branch 'master' into mqtt5
2018-12-19 14:11:11 +00:00
Roger A. Light
a8ca5c83af
Bump version.
2018-12-11 11:13:09 +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
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
Roger A. Light
6ef2c79e9a
Add max_keepalive, for limiting keepalives of MQTT v5 clients.
2018-12-06 08:49:02 +00:00
Roger A. Light
48c2217015
auto_id_prefix now defaults to 'auto-'.
2018-12-05 17:17:35 +00:00
Roger A. Light
1d3949bce0
Improve broker generated client ids for the non-Linux case.
...
Removes libuuid dependency.
2018-12-05 16:39:45 +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
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
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
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
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
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
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
majekw
7f1419e4de
Fix mosquitto_pub -l if compiled using cmake.
...
Since dde005ef92
mosquito_pub is throwing error
that 'threading support has not been compiled' when compiled using cmake.
It looks like WITH_THREADING flag is not set at top level Makefile and used
only in lib/ directory, so library is correctly compiled with threading.
But for client this flag is undefined, so it gives error on '-l' option.
This commit moves part related to WITH_THREADING flag out of lib/CMakeLists.txt
to top levele CMakeLists.txt, so it could be accessible to all subdirectories.
Signed-off-by: Marek Wodzinski <majek@w7i.pl>
2018-10-23 18:56:00 +01:00
Roger A. Light
0a9ee5b4cf
Fix memory leak when reconnecting with TLS errors.
...
Fix memory leak that occurred if mosquitto_reconnect() was used when TLS
errors were present.
Closes #592 . Thanks to smartdabao and aaronovz1.
2018-10-23 10:46:55 +01:00
Roger A. Light
1867f30785
Merge branch 'master'
...
Conflicts:
ChangeLog.txt
2018-10-02 08:31:54 +01:00
Roger A. Light
0e76bed50e
Add -E option to mosquitto_sub.
...
This causes the client to exit immediately after its subscriptions are
acknowledged by the broker, and can be used to create a durable client
session without requiring messages to be delivered.
Closes #952 .
2018-09-27 22:21:42 +01:00
Roger A. Light
8b66a323cd
Add mosquitto_subscribe_multiple()
...
For sending subscriptions to multiple topics in one command.
2018-09-27 22:06:54 +01:00
Roger A. Light
c78003cacf
Bump version number, add CVE details.
2018-09-25 16:26:28 +01:00
Roger A. Light
588d39efdc
Fix Windows version not starting if include_dir did not contain any files.
...
Closes #566 .
Thanks to marleau.
2018-09-25 16:14:57 +01:00
Roger A. Light
d9fc9cd0ae
Add allow_zero_length_clientid, auto_id_prefix documentation.
...
Closes #600 .
2018-09-25 14:38:54 +01:00
Roger A. Light
f9c9f3d396
Fix incorrect hash usage with duplicate clients.
...
Fix duplicate clients being added to by_id hash before the old client
was removed.
Closes #645 .
2018-09-25 14:25:54 +01:00
Roger A. Light
008d424a33
Minor documentation fix. Closes #520 .
2018-09-25 14:25:54 +01:00
Roger A. Light
7b1892caef
Fix retained msgs not sent by bridges.
...
This occurred when a bridge connected for the first time and so made a
local subscription for outgoing topics.
Closes #701 .
2018-09-25 14:25:54 +01:00
Roger A. Light
59bd07627d
Various build improvements to help packaging.
2018-09-25 14:25:54 +01:00
Roger A. Light
7ca3a24686
Remove requirement to use user root
in snap package config files.
2018-09-20 12:05:02 +01:00
Roger A. Light
0e16a248f2
Elevate log level to warning for situation when socket limit is hit.
2018-09-20 12:00:51 +01:00
Roger A. Light
3f87232065
Bump version number.
2018-09-19 18:09:43 +01:00
Roger A. Light
55ca61f14e
Fix segfault on HUP when bridges and security options are configured.
...
Closes #849 . Closes #965 . Thanks to Wolfgand Hottgenroth and Dustin Sallings.
2018-09-19 17:52:23 +01:00
Roger A. Light
2b4ba10b3d
Fix "round_robin false" behaviour.
...
Closes #481 .
2018-09-19 17:30:38 +01:00
Roger A. Light
1e47ee4cad
Fix for bridge connections when using WITH_ADNS=yes.
2018-09-19 12:55:08 +01:00
Roger A. Light
888ca48823
Changelog entry for #932 .
2018-09-18 15:03:16 +01:00
Roger A. Light
ae45bd3d40
Update changelog and fixes to #927 PR.
2018-09-18 14:57:13 +01:00
Roger A. Light
ee8e20de75
Fix excessive CPU usage when the number of sockets exceeds the system limit.
...
Closes #948 . Thanks to wiebeytec.
2018-09-18 11:54:58 +01:00
Roger A. Light
dceb02f444
Make it easier to build without bundled uthash.h.
...
Use "make WITH_BUNDLED_DEPS=no".
2018-09-08 10:24:12 +01:00
Roger A. Light
e6a0199bb2
Fix incorrect call to setsockopt() for TCP_NODELAY.
...
Closes #941 . Thanks to rfalke.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-30 21:01:43 +01:00
Roger A. Light
2221deb7a7
Fix build when using WITH_ADNS=yes.
2018-08-30 20:44:17 +01:00
Roger A. Light
a9da3c263d
Bump version number.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-16 17:01:08 +01:00
Roger A. Light
11395f9852
Fix accessor functions for username and client id when used in plugin auth check.
2018-08-16 17:00:00 +01:00
Roger A. Light
14bd96e1e1
Add support for compiling with static libwebsockets library.
2018-08-16 11:28:26 +01:00
Roger A. Light
0ec090f31a
Fixes for building on FreeBSD.
2018-08-15 17:02:56 +01:00
Roger A. Light
e240a692a7
Fix compiling on Mac OS X <10.12 due to clock_gettime()
...
Closes #813 and #240 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-15 14:54:07 +01:00
Roger A. Light
3d3b7fc46f
Fix default port problem when compiling clients using WITH_TLS=no.
2018-08-15 14:34:56 +01:00
Roger A. Light
ab5af8f0b9
Fix building for libwebsockets < 1.6.
2018-08-14 17:20:22 +01:00
Roger A. Light
af2678ea49
Fix possible endian issue when reading the memory_limit
option.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-09 22:31:03 +01:00
Roger A. Light
10b19a42ed
Fixes for building on NetBSD.
...
Closes #258 .
Thanks to Daniel Ölschlegel.
2018-08-09 15:21:40 +01:00
Roger A. Light
ecb4006f38
Don't reject ACL patterns without %u or %c, just warn.
...
Using `pattern blah/#` is a legitimate method of getting a global ACL.
We shouldn't be changing behaviour in a fixes release.
2018-08-09 14:32:02 +01:00
Roger A. Light
7c94a73c17
Fix UNSUBACK messages not being logged.
...
Closes #903 .
Thanks to Christoph Krey.
2018-08-09 11:54:24 +01:00
Roger A. Light
0d25cb58b4
Fix use_identity_as_username true
not working.
...
Closes #833 .
Thanks to David Crook and Brice Waegeneire.
Bug: https://github.com/eclipse/mosquitto/issues/833
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-08 15:36:42 +01:00
Roger A. Light
8603d32819
Update changelog.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-08 14:07:48 +01:00
Roger A. Light
39170d1181
ACL patterns that do not contain either %c or %u are now rejected.
...
Closes #209 .
Bug: https://github.com/eclipse/mosquitto/issues/209
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-08 13:15:54 +01:00
Roger A. Light
7f0b4d6271
Fix connection problems when using mosquitto_connect_async().
...
The connection wouldn't always complete if mosquitto_loop_start() was
called before mosquitto_connect_async(). Closes #848 .
Thanks to Ian Gough.
Bug: https://github.com/eclipse/mosquitto/issues/848
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-08 09:21:19 +01:00
Roger A. Light
2f6f5dbf9d
Fix problem on Pi caused by unsigned char being default.
...
Found via #849 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 21:06:47 +01:00
Roger A. Light
575dce91f0
Fix segfault on startup if bridge CA certificates could not be read.
...
Closes #851 .
Thanks to chelliwell.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 15:06:09 +01:00
Roger A. Light
4bacbecb1b
Fix some places where return codes were incorrect.
...
Closes #850 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 14:41:04 +01:00
Roger A. Light
fc9a0db966
All clients now time out if they exceed their keepalive*1.5
...
This was inconsistent before.
Partially addresses #865 .
2018-08-02 13:05:36 +01:00
Roger A. Light
b07e0c08bf
Fix IPv6 addresses not being able to be used as bridge addresses.
...
Closes #886 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 13:01:02 +01:00
Roger A. Light
bcf76b9cb6
Remove use of AI_ADDRCONFIG.
...
Closes #869 , #901 .
Thanks to Alex Richman.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 01:11:31 +01:00
Roger A. Light
286400abcf
Use AF_UNSPEC etc. instead of PF_UNSPEC to comply with POSIX.
...
Closes #863 .
Thanks to denigmus and Patrick TJ McPhee.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-02 00:27:52 +01:00
Roger A. Light
a954081673
Print more OpenSSL errors when loading certificates/keys fail.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-01 21:24:02 +01:00
Roger A. Light
8bbb5887d0
[Broker] Fix auth plugin cleanup function not being called.
...
Closes #900 .
Thanks to Julian Zhao.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2018-08-01 15:53:29 +01:00
Roger A. Light
5e60136449
Merge branch 'develop'
2018-05-03 07:55:45 +01:00
Roger A. Light
84520296fa
Bump version number.
2018-05-02 22:33:05 +01:00
Roger A. Light
377dc82d3f
Fix parsing of configuration options that end with a space.
...
Closes #804 .
Thanks to Nicola Lunghi.
2018-05-02 21:04:46 +01:00
Roger A. Light
51ec5601c2
Fix memory leak that could be caused by a malicious CONNECT packet.
...
Closes #533493 (on Eclipse bugtracker)
Thanks to Daniel Romero.
2018-05-02 21:04:39 +01:00
Roger A. Light
23230b7b18
Add per-listener acl handling.
2018-05-01 22:54:25 +01:00
Roger A. Light
9476d8abcb
Document mosquitto_sub timeout.
2018-04-12 00:31:10 +01:00
Roger A. Light
5ff8127f44
Fix will sending for duplicate clients.
...
When a client with an in-use client-id connects, if the old client has a
will, send the will message. Closes #26 .
Thanks to Pierre F.
2018-04-11 23:17:17 +01:00
Roger A. Light
24d68b5af8
Remove support for openssl 1.0.0 and 1.0.1.
...
These are no longer supported by openssl.
2018-04-11 17:12:25 +01:00
Roger A. Light
8470ca89b9
Add MOSQ_OPT_SSL_CTX and MOSQ_OPT_SSL_CTX_WITH_DEFAULTS options.
...
Closes #567 and #715 .
2018-04-11 16:34:24 +01:00
Roger A. Light
86ced4d98f
Add mosquitto_connect_with_flags_callback_set().
...
This allows a second connect callback to be used that exposes the
MQTT connect flags parameter.
Closes #738 , #128 .
2018-04-11 14:06:16 +01:00
Roger A. Light
8676cc0359
Replace mentions of deprecated 'c_rehash' with 'openssl rehash'.
2018-04-07 11:26:43 +01:00
Roger A. Light
dbdd113c86
Merge branch 'develop' of github.com:eclipse/mosquitto into develop
2018-03-26 22:57:32 +01:00
Roger A. Light
c1bb673b1f
Split features/fixes in changelog.
2018-03-25 21:32:46 +01:00
Roger A. Light
600217649b
Merge branch 'develop' of github.com:eclipse/mosquitto into develop
2018-03-23 10:36:57 +00:00
Roger A. Light
b2e1592376
Per listener allow_anonymous.
2018-03-15 14:29:07 +00:00
Roger A. Light
611ad222bb
Don't keep trying to connect in sub client if CONNACK negative.
2018-03-15 11:13:17 +00:00
Roger A. Light
0fef6bdee8
Maximum connections on Windows increased to 2048.
...
Thanks to ericGTT.
2018-03-14 10:01:47 +00:00
Roger A. Light
1ebc301100
Update changelog.
2018-03-13 23:26:19 +00:00
Roger A. Light
bc13eab9d6
Add per_listener_settings, which isn't used yet.
2018-03-13 17:52:03 +00:00
Roger A. Light
5b2bf3d1c1
Bump version number, update copyrights.
2018-02-28 11:15:20 +00:00
Roger A. Light
e6cbff0e94
Fix unauthorised clients being able to cause OOM on connect.
2018-02-24 22:09:19 +00:00
Roger A. Light
b76982db13
Fix reloading of config when fds are exhausted.
2018-02-24 21:44:38 +00:00
Roger A. Light
ec63d7bfc7
Add set_tcp_nodelay option to disable Nagle's algorithm.
...
Bug: https://github.com/eclipse/mosquitto/issues/433
2018-02-14 23:51:16 +00:00
Roger A. Light
81cb7ab547
Merge branch 'fixes' into develop
2018-02-13 14:16:47 +00:00
Roger A. Light
c001e778c1
[693] Fix handling of null bytes in received strings.
...
Thanks to Umberto Boscolo.
Bug: https://github.com/eclipse/mosquitto/issues/693
2018-02-13 12:19:34 +00:00
Roger A. Light
1b702538f9
Add check and matches functions which take length arguments.
...
mosquitto_pub_topic_check2()
mosquitto_sub_topic_check2()
mosquitto_topic_matches_sub2()
2018-02-11 21:31:34 +00:00
Roger A. Light
15486f48e7
[636] Correctly handle empty files with "mosquitto_pub -l".
...
Thanks to Aleksandr Makarov.
Bug: https://github.com/eclipse/mosquitto/issues/676
2018-01-22 17:52:56 +00:00
Roger A. Light
2283585e39
Remove build timestamp information for reproducible builds.
2018-01-12 13:41:09 +00:00
Roger A. Light
58abadd307
Update changelog.
2018-01-12 13:36:20 +00:00
Tatsuzo Osawa
2cd553c883
Add Changelog for #667
...
Signed-off-by: Tatsuzo Osawa <tatsuzo.osawa@gmail.com>
2018-01-12 13:27:52 +00:00
Roger A. Light
b02c1a41bb
[670] Fix topic matching of foo/bar against foo/+/#
...
Thanks to mrdis.
Bug: https://github.com/eclipse/mosquitto/issues/670
2018-01-09 14:36:19 +00:00
Pierre Fersing
7775924bae
[534]Fix upgrade_outgoing_qos for retained message
2018-01-03 18:50:34 +01:00
Pierre Fersing
7df5c40004
Fix $SYS counters when message is sent over WS
...
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
2018-01-02 16:51:56 +01:00
Roger A. Light
b193918ca0
[649] Don't close socket again if nonblock fails.
...
Thanks to Edwin van den Oetelaar.
Bug: https://github.com/eclipse/mosquitto/issues/649
2017-12-21 21:56:01 +00:00
Roger A. Light
ae666b07ce
[654] Initialise "result" in mosquitto_topic_matches_sub.
...
Thanks to markhermelinggt.
Bug: https://github.com/eclipse/mosquitto/issues/654
2017-12-21 08:36:58 +00:00
Roger A. Light
7f82cdc753
[652] Don't limit config file lines to 1024 chars.
...
Bug: https://github.com/eclipse/mosquitto/issues/652
2017-12-20 11:00:16 +00:00
Roger A. Light
d2118aeb17
[636] Don't run TLS-PSK tests when disabled at compile time.
...
Thanks to 'TBK'.
Bug: https://github.com/eclipse/mosquitto/issues/636
2017-12-03 21:20:40 +00:00
Roger A. Light
8795f063d4
Add ability to deny access to SUBSCRIBE messages.
...
This is as well as the current read/write accesses. Currently for auth
plugins only.
2017-08-11 22:15:37 +01:00
Roger A. Light
a480a9daf9
Fix 08-ssl-bridge.py test when using async dns lookups.
...
Thanks to Tatsuzo Osawa.
Bug: https://github.com/eclipse/mosquitto/issues/507
2017-07-30 11:35:45 +01:00
Roger A. Light
22063013be
[490] Fix auth plugin+WS client+MOSQ_ERR_AUTH related crash.
...
Thanks to "hasunperera".
Bug: https://github.com/eclipse/mosquitto/issues/490
2017-07-27 00:12:32 +01:00
Roger A. Light
7943072b1f
Fix use_identity_as_username not working on websockets clients.
...
Thanks to achest.
2017-07-26 23:27:04 +01:00
Roger A. Light
53c71b2a77
Fix memory leak related to use_identity_as_username.
2017-07-26 23:25:49 +01:00
Roger A. Light
5a267368d7
Merge branch 'master' into develop
2017-07-19 00:15:42 +01:00
Roger A. Light
ba0122f9a9
Don't disable IPv6 support for websockets.
2017-07-18 22:12:51 +01:00
Roger A. Light
46630e7325
Update change log.
2017-07-18 21:53:29 +01:00
Roger A. Light
d8cc5bc4fe
Merge branch 'fixes' of github.com:eclipse/mosquitto into fixes
2017-07-17 22:02:30 +01:00
Roger A. Light
ef7a7850ac
Add -c to mosquitto_pub.
2017-07-17 20:43:06 +01:00
Roger A. Light
0ba0bc434e
Use constant time memcmp for password checks.
2017-07-16 23:20:58 +01:00
Roger A. Light
e74203de2c
Merge branch 'master' into develop
2017-07-16 22:52:01 +01:00
Roger A. Light
2a50b2e9bd
Fix regression from 1.4.13 where persistence data was not being saved.
2017-07-10 23:43:42 +01:00
Roger A. Light
6b351ce0f1
Bump version number.
2017-06-27 22:14:08 +01:00
Roger A. Light
cd17ca45cd
[462] Relax CVE-2017-7650 checks.
...
Checks for '/' are no longer made, this character is a much lower risk
and is widely used in usernames.
Bug: https://github.com/eclipse/mosquitto/issues/462
2017-06-27 15:10:43 +01:00
Roger A. Light
c3823c0a81
[462] Add auth_plugin_deny_special_chars option.
...
Auth plugins can be configured to disable the check for +# in
usernames/client ids with the auth_plugin_deny_special_chars option.
Thanks to wiebeytec.
Bug: https://github.com/eclipse/mosquitto/issues/462
2017-06-27 14:59:37 +01:00
Roger A. Light
5246a76f87
[477] Send will messages for connected clients when broker stops.
...
Thanks to mikeS7.
Bug: https://github.com/eclipse/mosquitto/issues/477
2017-06-27 14:33:02 +01:00
Roger A. Light
96db6d6644
Fix CONNECT check for reserved=0, as per MQTT v3.1.1 check MQTT-3.1.2-3.
2017-06-27 11:11:43 +01:00
Roger A. Light
6e7d02ba16
Fix for CVE-2017-9868 for Windows.
2017-06-26 14:53:33 +01:00
Roger A. Light
09cb1b61c8
[468] Set persistence file to only be readable by owner.
...
Not implemented on Windows.
Thanks to Moshe Zioni.
Bug: https://github.com/eclipse/mosquitto/issues/468
2017-06-23 14:50:39 +01:00
Roger A. Light
c78678607d
[427] Fix large retained messages over websockets.
...
Thanks to Brian Block.
Bug: https://github.com/eclipse/mosquitto/issues/427
2017-06-19 21:40:19 +01:00
Roger A. Light
326983d35e
[417] Fix lazy bridges not timing out for idle_timeout.
...
Thanks to spinachmedia.
Bug: https://github.com/eclipse/mosquitto/issues/417
2017-06-19 17:15:00 +01:00
Roger A. Light
c07ba2a3da
Experimental fix for poor websockets performance.
2017-06-18 12:52:59 +01:00
Roger A. Light
6d63468a28
Don't use / in auto-generated client ids.
2017-05-31 21:45:53 +01:00
Roger A. Light
b61fefcf08
Merge branch 'master' into develop
2017-05-31 21:05:26 +01:00
Roger A. Light
2897f71aba
Bump version number.
2017-05-28 21:53:19 +01:00
Roger A. Light
9af3c6958f
Fix for CVE-2017-7650.
2017-05-28 21:51:50 +01:00
Roger A. Light
ca8a507607
[446] Don't segfault on duplicate bridge names.
...
Thanks to Tifaifai Maupiti.
Bug: https://github.com/eclipse/mosquitto/issues/446
2017-05-12 22:29:54 +01:00
Roger A. Light
a421d40d42
Update changelog.
2017-05-05 22:50:21 +01:00
Roger A. Light
b92ffec74e
Fix documentation type WITH_DNS_SRV.
2017-05-05 22:45:13 +01:00
Roger A. Light
7c0e8fde81
Update changelog.
2017-05-05 22:30:08 +01:00
Roger A. Light
5115c84501
Update changelog.
2017-05-05 22:12:00 +01:00
Roger A. Light
3c8581a3ea
Update changelog.
2017-05-05 22:09:29 +01:00
Roger A. Light
a93a0c9bb1
[424]
...
Fix mosquitto.db from becoming corrupted due to client messages being
persisted with no stored message.
Thanks to codami.
Bug: https://github.com/eclipse/mosquitto/issues/424
2017-04-13 13:40:12 +01:00
Roger A. Light
91b308a11d
Merge branch 'master' into develop
2017-03-06 21:19:53 +00:00
Roger A. Light
bda9893713
Version bump.
2017-02-20 23:48:30 +00:00
Roger A. Light
cac5464f7f
Use of --ciphers no longer requires you to also pass --tls-version.
...
Closes #380 .
Bug: https://github.com/eclipse/mosquitto/issues/380
2017-02-20 23:48:30 +00:00
Roger A. Light
1a0240b5d5
[379] Improve mosquitto_passwd error messages.
...
Thanks to Jaimyn Mayer. Closes #379 .
Bug: https://github.com/eclipse/mosquitto/issues/379
2017-02-20 23:48:30 +00:00
Roger A. Light
e7c1507f88
Fix error message when websockets http_dir directory does not exist.
2017-02-20 23:48:30 +00:00
Roger A. Light
b01e32bd8b
[354] Close http files even on bad clients.
...
Thanks to jbwdevries.
Bug: https://github.com/eclipse/mosquitto/issues/354
2017-02-20 23:48:30 +00:00
Roger A. Light
7279e48191
[316] Don't error on zero length persistence files.
...
Closes #316 .
Bug: https://github.com/eclipse/mosquitto/issues/316
2017-02-20 23:48:30 +00:00
Roger A. Light
8e4a80a928
[329] Fix potential negative timeout being passed to pselect.
...
Thanks to Dollars.
Bug: https://github.com/eclipse/mosquitto/issues/329
2017-02-20 23:48:30 +00:00
Roger A. Light
66683b96b0
Fix potential socket leakage when reconnecting.
...
Bug: https://github.com/eclipse/mosquitto/issues/304
2017-02-20 23:48:30 +00:00
Roger A. Light
98ea684906
[323] Allow outgoing IPv6 connections to use TLS.
...
Bug: https://github.com/eclipse/mosquitto/issues/323
2017-02-20 23:48:30 +00:00
Roger A. Light
2c5785376b
Update changelog.
2017-02-20 23:48:30 +00:00
Roger A. Light
6b68371dbe
[259] Fix crash when "lazy" type bridge attempts to reconnect.
...
Thanks to hakofugu41.
Bug: https://github.com/eclipse/mosquitto/issues/259
2017-02-20 23:48:30 +00:00
Roger A. Light
9f32d5c0ac
Version bump.
2017-02-20 21:57:45 +00:00
Roger A. Light
e4e81a0fb1
[111] Add mosquitto_userdata function to libmosquitto.
...
This allows retrieving mosq->userdata.
Bug: https://github.com/eclipse/mosquitto/issues/111
2017-02-19 20:45:52 +00:00
Roger A. Light
f72d9b3a34
[17] Sort include_dir files before loading them.
...
Bug: https://github.com/eclipse/mosquitto/issues/17
2017-02-19 20:29:04 +00:00
Roger A. Light
10c89751fa
Use of --ciphers no longer requires you to also pass --tls-version.
...
Closes #380 .
Bug: https://github.com/eclipse/mosquitto/issues/380
2017-02-15 21:01:49 +00:00
Roger A. Light
ebad302119
[379] Improve mosquitto_passwd error messages.
...
Thanks to Jaimyn Mayer. Closes #379 .
Bug: https://github.com/eclipse/mosquitto/issues/379
2017-02-12 21:22:58 +00:00
Roger A. Light
a2a2099fa1
Fix error message when websockets http_dir directory does not exist.
2017-01-20 21:18:18 +00:00
Roger A. Light
8171a975ae
[354] Close http files even on bad clients.
...
Thanks to jbwdevries.
Bug: https://github.com/eclipse/mosquitto/issues/354
2017-01-20 18:25:04 +00:00
Roger A. Light
7f66bf1f65
[316] Don't error on zero length persistence files.
...
Closes #316 .
Bug: https://github.com/eclipse/mosquitto/issues/316
2017-01-06 00:44:17 +00:00
Roger A. Light
2c2ba2cf10
[329] Fix potential negative timeout being passed to pselect.
...
Thanks to Dollars.
Bug: https://github.com/eclipse/mosquitto/issues/329
2016-12-08 21:06:45 +00:00
Roger A. Light
b55b47efd3
Fix potential socket leakage when reconnecting.
...
Bug: https://github.com/eclipse/mosquitto/issues/304
2016-12-04 22:01:20 +00:00
Roger A. Light
93464179f1
Update changelog.
2016-12-04 21:51:31 +00:00
Roger A. Light
6f7a0bff4b
[323] Allow outgoing IPv6 connections to use TLS.
...
Bug: https://github.com/eclipse/mosquitto/issues/323
2016-11-30 11:31:30 +00:00
Roger A. Light
b3a1604646
Update changelog.
2016-09-29 21:08:02 +01:00
Roger A. Light
762126064c
[259] Fix crash when "lazy" type bridge attempts to reconnect.
...
Thanks to hakofugu41.
Bug: https://github.com/eclipse/mosquitto/issues/259
2016-09-20 23:26:14 +01:00
Karl Palsson
2dec0ed895
broker: fix queue_qos0_messages behaviour
...
Prior, offline qos0 clients had an unlimited queue depth when
queue_qos0_messages was true.
Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-09-09 17:27:46 +00:00
Karl Palsson
c6aac741c2
broker: support byte based queueing
...
Limiting queued message depth purely based on message count is hard to
control for memory constrained devices. The size of messages can vary
wildly, from a few bytes, to a few kilobytes. Support a new
max_queued_bytes option, and drop packets when the first limit is
reached. Option defaults to 0 (disabled) by default.
Support also a max_inflight_bytes variable, with similar behaviour.
Fixes (partof) https://github.com/eclipse/mosquitto/issues/100
This pulls up some helper routines for calculating whether to allow
inflight or queuing, resolving some inconsistences in connection
resumption.
Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-09-09 17:27:39 +00:00
Karl Palsson
30c96f4a1c
broker: track stored messages in bytes as well as count
...
Instead of simply tracking the count of stored messages, keep track of
the total byte size of stored messages. While only informational at
this point, it provides the basis for byte based limits in the future.
Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-08-17 10:35:26 +00:00
Roger A. Light
87b6a746fd
Bump version number.
2016-08-16 22:52:22 +01:00
Roger A. Light
ba2de88790
Display error if broker unable to open the log file.
...
Thanks to Matthew Treinish.
Bug: https://github.com/eclipse/mosquitto/issues/234
2016-08-16 22:31:36 +01:00
Roger A. Light
840453c14f
Remove -x from mosquitto_sub - this is provided by -F now.
2016-08-10 12:24:43 +01:00
Roger A. Light
8140ce1f24
Add -F to mosquitto_sub to allow users to choose the output format.
2016-08-10 12:24:43 +01:00
Roger A. Light
79cc06b180
[237] Fix memory leak when verifying a server certificate.
...
Only for certificates with a subjectAltName. Closes #237 .
Thanks to MrSaturday.
Bug: https://github.com/eclipse/mosquitto/issues/237
2016-08-08 21:49:32 +01:00
Roger A. Light
bcfa29cbd1
[222] Fix will retained flag handling on Windows.
...
Thanks to codami.
Bug: https://github.com/eclipse/mosquitto/issues/222
2016-07-22 10:37:30 +01:00
Roger A. Light
f06a947df2
Update changelog.
2016-07-12 12:37:12 +01:00
Roger A. Light
8378fe44cf
Update copyrights.
2016-07-08 09:42:24 +01:00
Roger A. Light
b6385d347a
[198] Update Changelog.
...
Closes #198 .
Bug: https://github.com/eclipse/mosquitto/pull/198
2016-06-29 17:14:33 +01:00
Roger A. Light
84df2bb923
[189] Call fsync after persisting data.
...
To ensure it is correctly written. Closes #189 .
Thanks to thanhvtruong.
Bug: https://github.com/eclipse/mosquitto/issues/189
2016-06-26 22:48:16 +01:00
Roger A. Light
fff741613e
Support for openssl 1.1.0.
2016-06-26 22:00:43 +01:00
Roger A. Light
1c3988a397
Merge branch 'master' into develop
2016-06-21 23:33:58 +01:00
Roger A. Light
2c54104ce3
[191] Fix some $SYS messages being incorrectly persisted.
...
Closes #191 .
Bug: https://github.com/eclipse/mosquitto/issues/191
2016-06-21 17:17:23 +01:00
Roger A. Light
63e3926987
Perform UTF-8 validation on will, sub, unsub topics in the broker.
2016-06-21 17:05:33 +01:00
Roger A. Light
a8a5daf06b
Check client topic inputs for valid UTF-8.
2016-06-20 22:56:01 +01:00
Roger A. Light
2286caaca2
Merge branch 'enhance-bare-makefile-static-library-build' of https://github.com/Lance0312/mosquitto into Lance0312-enhance-bare-makefile-static-library-build
2016-06-15 20:59:34 +01:00
Roger A. Light
d90cd585dd
Add WITH_STRIP build option.
2016-06-13 21:36:41 +01:00
Roger A. Light
23113bb5f5
[7] Don't disconnect client on HUP before reading the pending data.
...
Closes #7 .
Bug: https://github.com/eclipse/mosquitto/issues/7
2016-06-13 17:13:44 +01:00
Roger A. Light
1cd40925b8
[184] Don't attempt to install docs when WITH_DOCS=no.
...
Thanks to minghuadev.
Bug: https://github.com/eclipse/mosquitto/issues/184
2016-06-06 16:11:42 +01:00
Roger A. Light
5d96c3d7ba
[186] Fix TLS operation with websockets listeners and libwebsockts 2.x.
...
Bug: https://github.com/eclipse/mosquitto/issues/186
2016-06-06 15:53:05 +01:00
Roger A. Light
2d0af7309f
Bump version number.
2016-06-02 21:32:21 +01:00
Roger A. Light
30686f2dc9
Fix mosquitto_topic_matches_sub().
2016-06-02 20:53:09 +01:00
Roger A. Light
ea2baa876c
Fix rare possible crash when writing persistence file.
2016-05-31 22:17:27 +01:00
Roger A. Light
c035913b2a
[180] Fix #includes in lib/send_mosq.c
...
Ensures that LWS_LIBRARY_VERSION_NUMBER is always present in all source
files when it is defined.
Thanks to dennisip86.
Bug: https://github.com/eclipse/mosquitto/issues/180
2016-05-31 12:07:10 +01:00
Roger A. Light
ff78cd7873
Fix publishing of $SYS/broker/clients/maximum.
2016-05-31 09:57:28 +01:00
Roger A. Light
6f5f445196
[169] mosquitto_passwd handles unknown cmd args properly.
...
Closes #169 . Thanks to castorgodinho.
Bug: https://github.com/eclipse/mosquitto/issues/169
2016-05-26 09:25:41 +01:00
Roger A. Light
7761218d3c
[170] Fix WS listeners not being able to bind to an IP.
...
Closes #170 . Thanks to minghuadev.
Bug: https://github.com/eclipse/mosquitto/issues/170
2016-05-26 09:21:15 +01:00
Roger A. Light
a187b3f5fa
[57] Handle PUB* with unknown message id gracefully.
...
Allows message flow to complete where e.g. the broker didn't persist a
partially complete flow.
Thanks to jsaak jsaak and Hiram van Paassen.
Bug: https://github.com/eclipse/mosquitto/issues/57
2016-05-19 15:16:19 +01:00
Roger A. Light
e8185ddaa7
[166] Don't cancel external threads.
...
libmosquitto shouldn't cancel threads it didn't create. This change
allows us to keep track of whether threads were created by the library
or by external code.
Thanks to Josip Ćavar.
Bug: https://github.com/eclipse/mosquitto/issues/166
2016-05-18 14:05:08 +01:00
Roger A. Light
99ea5cab7c
Default to using port 8883 when using TLS.
2016-05-16 21:56:15 +01:00
Roger A. Light
57da586703
Fix saving of persistence messages that start with a '/'.
...
Closes #151 . Thanks to Andrew Chambers.
Signed-off-by: Roger A. Light <roger@atchoo.org>
2016-05-14 22:39:14 +01:00
Roger A. Light
3048c5ba0d
Changelog update.
...
Fix reconnecting for bridges that use TLS on Windows.
Closes #154 .
Thanks to Dmitry Kaukov.
2016-05-14 21:57:09 +01:00
Roger A. Light
6704df8061
Bridge config parameters can now contain a space
...
Closes #150 .
Thanks to Sebastian Koch and Mikkel Kirkgaard Nielsen.
Bug: https://github.com/eclipse/mosquitto/issues/150
2016-04-28 21:54:50 +01:00
Roger A. Light
6a9382d864
Fix building on Visual Studio 2015
...
Closes #136 .
Thanks to Pelayo Méndez.
2016-03-17 21:24:50 +00:00
Roger A. Light
caa394d0fe
Return value of pthread_create is now checked.
2016-03-17 21:22:56 +00:00
Roger A. Light
09ea5cbf2c
mosquitto_db_dump can now output some client stats.
...
This may be useful for finding out which clients are using significant
amounts of persistence space.
2016-03-15 00:18:40 +00:00
Roger A. Light
69a08ab905
Fix string quoting in CMakeLists.txt. Closes #4 .
2016-03-13 20:33:08 +00:00
Roger A. Light
35c4d3d59a
Handle some unchecked malloc() calls. Closes #1 .
...
Thanks to Markus Elfring.
2016-03-13 19:07:28 +00:00
Roger A. Light
fda0cb3d45
Fix incorrect $SYS heap memory reporting when using ACLs.
2016-03-12 13:25:20 +00:00
Roger A. Light
abc2f3f9de
Network errors are printed correctly on Windows.
2016-03-07 20:57:22 +00:00
Roger A. Light
1065a0f202
Will topic isn't truncated when using a mount_point.
2016-03-05 22:38:05 +00:00
Roger A. Light
6bac3f072c
Reconnecting client doesn't start with mid=1 again.
2016-03-05 22:34:05 +00:00
Roger A. Light
d9142c3974
[476314] Deliver queued WS client msgs on reconnect.
...
Thanks to Joking Young and Christoph Krey.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=476314
2016-03-05 22:31:52 +00:00
Roger A. Light
af995d211d
Fix client library keepalive handling.
...
Fix the case where a message received just before the keepalive timer
expired would cause the client to miss the keepalive timer.
Thanks to Graham Benton.
2016-02-28 17:24:43 +00:00
Roger A. Light
5cca6b4239
Bump version number.
2016-02-14 14:10:52 +00:00
Roger A. Light
34a7f14fd2
[485131] Fix incorrect detection of FreeBSD and OpenBSD
...
Thanks to Peter Morjan.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=485131
2016-02-11 21:52:03 +00:00
Roger A. Light
f588075931
[485589] Close stdin etc. when daemonised.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=485589
2016-02-11 21:49:55 +00:00
Roger A. Light
eb514c9707
[487178] Obey mount_point when publishing wills.
...
Wills published by clients connected to a listener with mount_point defined
now correctly obey the mount point. This was a potential security risk
because it allowed clients to publish messages outside of their restricted
mount point. This is only affects brokers where the mount_point option is in
use.
Thanks to Lance Riley.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=487178
2016-02-11 21:17:55 +00:00
Roger A. Light
26b015908e
Default to using MQTT v3.1.1.
2016-02-05 21:22:42 +00:00
Roger A. Light
1961404ec9
Add --retained-only to mosquitto_sub.
2016-02-02 20:57:37 +00:00
Roger A. Light
7709621911
Reorder helper function arguments for consistency.
2016-01-26 17:06:32 +00:00
Roger A. Light
d157e8c603
Add examples for subscribe_simple.
2016-01-26 09:55:17 +00:00
Roger A. Light
b83c58763d
Add mosquitto_subscribe_single()/multiple().
2016-01-25 23:12:33 +00:00
Roger A. Light
00491da031
[485143] Fix detection of broken connections on Windows.
...
Thanks to Pierre-Yves Boisbunon.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=485143
2016-01-14 21:15:02 +00:00
Roger A. Light
c7d4f4bcff
mosq->want_write should be cleared immediately before a call to SSL_write.
...
This allows clients using mosquitto_want_write() to get accurate results.
2016-01-13 21:32:01 +00:00
Roger A. Light
fca9ac84f7
Merge fixes into develop.
2016-01-06 21:10:34 +00:00
Roger A. Light
3aa698d023
Add -U to mosquitto_sub for unsubscribing from topics.
2015-12-29 20:15:00 +00:00
Roger A. Light
2549919413
Fix support for libwebsockets 1.22.
2015-12-21 11:32:02 +00:00
Roger A. Light
dc02e37af9
Bump version number.
2015-12-20 20:34:22 +00:00
Roger A. Light
7aa653c42f
Add support for libwebsockets 1.6.
2015-12-19 01:21:17 +00:00
Roger A. Light
c5a376489e
[483979] Fix "mosquitto_pub -l" stripping the final character on a line.
...
Thanks to Allan Kobelansky.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=483979
2015-12-18 22:29:32 +00:00
Roger A. Light
148df82144
[484693] Fix _mosquitto_socketpair() on Windows.
...
Thanks to Steve Woods and Roman Bogus.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484693
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=479143
2015-12-18 22:09:36 +00:00
Roger A. Light
559e2438cb
Revert "Add support for sending direct messages to clients."
...
This reverts commit 8f54cde293
.
2015-11-18 12:27:23 +00:00
Roger A. Light
8f54cde293
Add support for sending direct messages to clients.
...
This works through $CLIENT/direct/<client id>, using the
allow_direct_messages option.
2015-11-13 21:01:56 +00:00
Roger A. Light
3cab5e2e69
Bump version number.
2015-11-08 21:25:04 +00:00
Roger A. Light
80300f8fa1
[468987] Free unused topic tree elements.
...
Fix in 1.4.3 was incomplete.
Thanks to Guido Hinderberger et al.
2015-11-08 20:23:07 +00:00
Roger A. Light
26eac3c1ca
Fix possible memory leak with bridges and SSL.
...
Fix possible memory leak if bridge using SSL attempts to connect to a
host that is not up.
Thanks to Ed Morris.
2015-10-12 14:48:52 +01:00
Roger A. Light
89763a51d9
[478917] Don't truncate lines with "mosquitto_pub -l"
...
Thanks to Jan-Piet Mens.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=478917
2015-10-11 22:55:54 +01:00
Roger A. Light
8ecb9291ab
Disable support for DNS SRV by default.
2015-09-22 15:28:28 +01:00
Roger A. Light
436d3fac19
Merge branch 'fixes' into develop
...
Conflicts:
CMakeLists.txt
ChangeLog.txt
config.mk
installer/mosquitto.nsi
installer/mosquitto64.nsi
lib/mosquitto.c
lib/mosquitto.h
src/loop.c
2015-09-22 14:18:12 +01:00
Roger A. Light
9a2eb2038f
Drop Windows XP support, misc fixes on Windows.
2015-09-22 10:03:57 +01:00
Roger A. Light
720d52d86e
Bump version number.
2015-09-16 22:53:28 +01:00
Roger A. Light
011de7ed19
Fix excessive calls to message retry check.
2015-09-16 22:14:26 +01:00
Roger A. Light
17e942e9b5
[475707] Fix free related crash on openwrt.
...
Thanks to Karl Palsson.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=475707
2015-09-16 21:20:40 +01:00
Roger A. Light
2597da17c2
[475807] Fix cross compiling of websockets.
...
Thanks to Tyler Brandon.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=475807
2015-09-16 21:13:03 +01:00
Roger A. Light
0c0961f6a4
[477571] Fix socket leak with bridges.
...
Don't leak sockets when an outgoing bridge connection with multiple
addresses is rejected.
Thanks to Johnny Egeland.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=477571
2015-09-16 17:39:00 +01:00
Roger Light
e2324ff9bb
Merge remote-tracking branch 'remotes/origin/master' into develop
...
Conflicts:
CMakeLists.txt
ChangeLog.txt
THANKS.txt
appveyor.yml
config.mk
installer/mosquitto-cygwin.nsi
installer/mosquitto.nsi
lib/messages_mosq.c
lib/messages_mosq.h
lib/mosquitto.c
lib/mosquitto.h
lib/net_mosq.c
lib/net_mosq.h
lib/send_client_mosq.c
lib/send_mosq.c
lib/socks_mosq.c
lib/will_mosq.c
src/bridge.c
src/conf.c
src/context.c
src/database.c
src/loop.c
src/mosquitto.c
src/mosquitto_broker.h
src/net.c
src/read_handle.c
src/read_handle_server.c
src/subs.c
2015-09-09 22:02:46 +01:00
Roger A. Light
d71db835eb
Bump version number.
2015-08-18 23:38:02 +01:00
Roger A. Light
201bb1a04a
Fix potential crash on libwebsockets error.
2015-08-18 23:33:55 +01:00
Roger A. Light
2172ffb56c
[470253] Fix potential memory leaks.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470253
Also-by: Wun Yu <wuyun1984_1984@163.com>
2015-08-17 22:10:26 +01:00
Roger A. Light
ab7f212b7e
[468987] Free unused topic elements.
...
Reduces memory usage and CPU usage.
Thanks to Guido Hinderberger, Martin Rauscher and Michael Hekel.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=468987
2015-08-17 21:25:30 +01:00
Roger A. Light
1254fe93e0
[474935] Increment inflight message count correctly.
...
Don't duplicate the increment when queueing.
Thanks to Joe McIlvain.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=474935
2015-08-17 20:50:41 +01:00
Roger A. Light
e49e398eb3
Fix handling of outgoing QoS>0 messages for bridges.
...
Fix handling of outgoing QoS>0 messages for bridges that could not be
sent because the bridge connection was down.
2015-08-17 20:50:41 +01:00
Roger A. Light
4c147309a4
Minimum supported libwebsockets version is now 1.3.
2015-07-08 09:07:48 +01:00
Roger A. Light
a4dad02064
[470246] Change sys tree print output on USR2.
...
Thanks to Yun Wu.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470246
2015-06-29 21:24:16 +01:00
Roger A. Light
e0037b348f
[465438] Fix incorrect behaviour for autosave_interval.
...
Thanks to Jaime Yu.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=465438
2015-06-29 17:11:16 +01:00
Roger A. Light
a330c5ca17
[471334] Fix incorrect loop timeout with keepalive=0.
...
Fix incorrect loop timeout being chosen when using the threaded
interface and keepalive = 0.
Thanks to Gianfranco Costamagna.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=471334
2015-06-29 15:57:16 +01:00
Roger A. Light
6f193de3a5
[470258] Don't make unnecessary copies of payload in db__messages_store.
...
Along with the previous commit this closes #470258 .
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470258
2015-06-28 22:25:49 +01:00
Tomas Novotny
29731b5e46
[471053] Add systemd support and services.
...
Add possibility to notify systemd that service is fully started. Also add
reference service files.
Change-Id: Ib4e39c8406ab6c15e1b88f197ae8f91c3e402023
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=471053
Signed-off-by: Tomas Novotny <novotny@rehivetech.com>
2015-06-26 10:29:39 +02:00
Roger A. Light
dc5abcac95
[470660] Handle fragmented TLS packets without a delay.
...
Thanks to Martin Rauscher.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=470660
2015-06-25 10:53:24 +01:00
Roger A. Light
c1974e5402
Report error string on connection failure rather than error code.
2015-06-23 22:59:03 +01:00
Roger A. Light
7657aac584
[469467] Fixes and documentation to use_subject_as_username patch.
...
This is for certificate based client authentication.
Thanks to Fabian Ruff.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=469467
2015-06-12 22:52:15 +01:00
Roger A. Light
e469843ed9
Produce an error if two bridges share the same local_clientid.
2015-06-09 23:18:13 +01:00
Roger A. Light
cdbe62c2bb
Outgoing messages with QoS>0 are no longer retried after a timeout.
...
This change in behaviour can be justified by considering when the
timeout may have occurred.
* If a connection is unreliable and has dropped, but without one end
noticing, the messages will be retried on reconnection. Sending
additional PUBLISH or PUBREL would not have changed anything.
* If a client is overloaded/unable to respond/has a slow connection then
sending additional PUBLISH or PUBREL would not help the client catch
up. Once the backlog has cleared the client will respond. If it is not
able to catch up, sending additional duplicates would not help either.
2015-05-24 11:59:53 +01:00
Roger A. Light
290ea87828
Build fixes for OpenBSD.
2015-05-21 17:15:33 +01:00
Roger A. Light
a6827df6c0
[467096] Fix incorrect bridge notification.
...
If a custom notification topic was used, the bridge status would be set
to 1 before a connection was attempted, this has been fixed.
Initial updates to the status topic are now only set once, when the
broker starts, rather than each time the bridge attempts to reconnect.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=467096
2015-05-16 12:05:17 +01:00
Roger A. Light
28b649059c
Release date.
2015-05-07 00:55:08 -05:00
Roger A. Light
6f2fe06f0b
[464811] Fix handling of payload lengths>4096 with websockets.
...
Thanks to Arjen van Elteren and Stephen Zeng.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464811
2015-05-06 16:40:10 -05:00
Roger A. Light
121c2ca002
Broker will return CONNACK rc=5 when a client is not authorised.
...
This was being incorrectly set as rc=4.
2015-05-06 04:54:11 -05:00
Roger A. Light
8de6b92e3c
Fix calls to mosquitto_connect*_async() not completing.
2015-04-29 10:13:55 +01:00
Roger A. Light
11d0d887f0
Fix parsing of auth_opt_ arguments with extra spaces/tabs.
2015-04-24 20:57:30 +01:00
Roger A. Light
cc7beb62a5
[465384] Fix crash on Windows when using bridges.
...
Thanks to Stefan Rosskopf.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=465384
2015-04-24 09:34:24 +01:00
Roger A. Light
e5010af4df
[464632] Library: Fix possible crash due to select() call.
...
Fix possibility of select() being called with a socket that is >FD_SETSIZE.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464632
2015-04-19 21:13:54 +01:00
Roger A. Light
21b372ed9e
ACLs are now checked before sending a will message.
2015-04-18 22:16:57 +01:00
Roger A. Light
2e05e40350
[464458] mosquitto_sub: Add option to print the payload in hex.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464458
2015-04-17 22:01:50 +01:00
Roger A. Light
991f1173d7
Fix persistent db writing on Windows.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464779
2015-04-17 21:51:24 +01:00
Roger A. Light
1bdd6c36a8
Fix incorrect bridge connection notifications on local broker.
2015-04-17 21:51:21 +01:00
Roger Light
322d9624a1
Fix CMake dependencies for libmosquittopp.
...
Enables parallel build mode.
Accepted without CLA after discussion with Eclipse Foundation legal
about very small patches that can only be implemented in one way.
See bug report for acceptance of Certificate of Origin.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=463884
Also-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
2015-04-17 21:51:14 +01:00
Roger A. Light
1fb7465b83
[464437] Broker: Fix bridge prefixes operation.
...
Fix bridge prefixes only working for the first outgoing message.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464437
2015-04-11 11:43:21 +01:00
Roger A. Light
22fee31ba4
[464436] Library: Fix outgoing QoS 2 message problem.
...
Inflight message count wasn't being decreased for outgoing messages using
QoS 2, meaning that only up to 20 QoS 2 messages could be sent. This has
been fixed.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=464436
2015-04-11 11:32:33 +01:00
Roger A. Light
9c9df00746
Bump version number.
2015-04-03 07:57:30 +01:00
Roger A. Light
46ccc2efe9
[463479] Make _mosquitto_mid_generate() thread safe.
...
Thanks to bdwalker.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=463479
2015-04-03 07:48:55 +01:00
Roger A. Light
2ecee163ef
Use uhpa for payloads.
2015-04-01 09:35:40 +01:00
Roger A. Light
960b3ef32d
Fix possible minor memory leak on acl parsing.
2015-03-30 22:26:44 +01:00
Roger A. Light
3591f2d256
[462781] Allow longer paths on Windows.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=462781
2015-03-27 21:47:27 +00:00
Roger A. Light
c9a924e95e
[462780] Fix crash on multiple calls to lib init/clean.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=462780
2015-03-27 21:02:49 +00:00
Roger A. Light
502c3e7563
[461619] Disconnect idle websockets clients.
...
Websockets clients are now periodically disconnected if they have not
maintained their keepalive timer.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=461619
2015-03-27 20:50:16 +00:00
Roger A. Light
0434d1cd9b
[461705] Return -1 on error from mosquitto_socket()
...
Thanks to Mikkel Kirkgaard Nielsen.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=461705
2015-03-27 01:40:41 +00:00
Roger A. Light
2aceb704b5
[463000] Fix reconnect bug on Windows.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=463000
2015-03-27 01:24:16 +00:00
Roger A. Light
35b729909c
[463241] Fix possible crash under heavy network load.
...
Thanks to Alexandre Zia.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=463241
2015-03-27 01:07:48 +00:00
Roger A. Light
c6450ac265
[462154] Fix problems parsing config strings with leading spaces.
...
Thanks to Aidan Gill.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=462154
2015-03-15 20:49:18 +00:00
Roger A. Light
e310092f44
[461620] Inflight limits should only apply to outgoing messages.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=461620
2015-03-08 22:06:20 +00:00
Roger A. Light
28404350c4
Fix possible crash when using pattern ACLs.
2015-03-08 21:00:15 +00:00
Roger A. Light
279b67bf8d
Minor packaging related fixes.
2015-02-18 01:34:43 +00:00
Roger A. Light
200c316305
Changelog date.
2015-02-18 00:20:33 +00:00
Roger A. Light
1a14f6fed5
[453293] Don't quit loop_forever() if broker not available.
...
This is a workaround for bug #453293 , a better solution is needed for
1.5.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=453293
2015-02-09 22:17:27 +00:00
Roger A. Light
c276fd9572
When using "log_dest file" the output file is now flushed periodically.
2015-02-05 22:29:49 +00:00
Roger A. Light
15e0236d43
[453850] Add -C option to mosquitto_sub.
...
Allows the client to quit after receiving count messages.
Replaces the (unreleased) -1 option.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=453850
2015-01-30 22:23:51 +00:00
Roger A. Light
9389d10636
[458843] Fix man page installation for cmake.
...
Thanks to Alexandre Zia.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=458843
2015-01-30 21:29:08 +00:00
Roger A. Light
22e09ae613
[455402] Fix potential hang with pattern acls.
...
Fix hang if pattern acl contains a %u but an anonymous client connect.
Thanks to Christoph Krey.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=455402
2015-01-27 23:33:36 +00:00
Roger A. Light
1b4903b41e
[431780] ACL files can contain a space in username/topic.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=431780
2015-01-27 23:33:36 +00:00
Roger A. Light
153e6e6211
[452914] Drop root privileges after listeners started.
...
This means that TLS private keys can be restricted to the root user.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452914
2015-01-27 23:33:36 +00:00
Roger A. Light
87d8e1f705
Bridge support for MQTT v3.1.1.
2015-01-27 17:12:36 +00:00
Roger A. Light
8a35c3cd0d
Add client support for MQTT v3.1.1.
2015-01-27 00:32:20 +00:00
Roger A. Light
c7fff62820
Update changelog.
2015-01-22 21:42:00 +00:00
Roger A. Light
9332a731bf
[452915] mosquittopp now has a virtual destructor.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452915
2015-01-15 22:48:24 +00:00
Roger A. Light
0adb2ed217
[425835] Support for "hour client expiration times.
...
This allows shorter values for the persistent_client_expiration option.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=425835
2015-01-15 21:57:03 +00:00
Roger A. Light
c591b06574
[457225] Add support for wildcard certificates.
...
This introduces wildcard certificate support for both bridges and
clients.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=457225
2015-01-15 21:35:59 +00:00
Roger A. Light
175794826b
[456899] Broker: Add bridge_attempt_unsubscribe option.
...
The bridge_attempt_unsubscribe option has been added, to allow the sending
of UNSUBSCRIBE requests to be disabled for topics with "out" direction.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=456899
2015-01-07 21:50:10 +00:00
Roger A. Light
c12d3ebc0b
[454852] Support setting keepalive on pub client.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=454852
2014-12-16 22:53:52 +00:00
Roger A. Light
fc1e514ad4
Add log_facility for non-Windows OSs.
2014-11-02 21:49:33 +00:00
Roger A. Light
6e0fd9e3ec
SRV support is now not compiled in by default.
2014-10-17 22:11:14 +01:00
Roger A. Light
070d783c9f
Merge 1.3.2-1.3.5 into 1.4.
2014-10-12 11:17:13 +01:00
Roger A. Light
f44b66a331
Bump version number.
2014-10-08 22:29:07 +01:00
Roger A. Light
8cb9b195e5
When using -v and the broker receives a SIGHUP, verbose logging was being disabled. This has been fixed.
2014-10-08 21:38:01 +01:00
Roger A. Light
bad7ec75f0
Temporarily disable ACL checks on subscriptions when using MQTT v3.1.1.
...
This is due to the complexity of checking wildcard ACLs against wildcard
subscriptions. This does not have a negative impact on security because
checks are still made before a message is sent to a client. Fixes bug
Thanks to Jan-Piet Mens and Christoph Krey.
2014-10-08 21:16:34 +01:00
Roger A. Light
429c892557
Fix saving persistent database on Windows.
...
Thanks to Daniel Degasperi.
2014-10-08 20:51:17 +01:00
Roger A. Light
43556537e3
Don't ask for client cert when require_certificate is false.
2014-10-07 23:20:46 +01:00
Roger A. Light
1e87697359
Fix mutex being incorrectly passed by value. Fixes bug #1373785 .
2014-10-05 21:56:44 +01:00
Roger A. Light
4a19d9ae3a
Fix possible memory leak when using a topic that has a leading slash.
...
Fixes bug #1360986 .
2014-10-05 21:24:08 +01:00
Roger A. Light
42420cae46
Add experimental SOCKS5 support for the clients.
2014-09-30 00:56:57 +01:00
Roger A. Light
e9c18f8347
mosquitto_loop_forever now quits after a fatal error, rather than blindly retrying.
2014-09-30 00:42:30 +01:00
Roger A. Light
57bb64aae1
Bump version number.
2014-08-06 00:28:15 +01:00
Roger A. Light
b6eddea55b
Update changelog.
2014-08-02 22:19:01 +01:00
Roger A. Light
d8a3ab7d56
Don't ask client for certificate when require_certificate is false.
...
Thanks to Jan-Piet Mens.
2014-08-02 21:40:54 +01:00
Roger A. Light
8e7736b78e
Fix incorrect handling of anonymous bridges on the local broker.
...
Thanks to Jan-Piet Mens.
2014-08-01 21:34:21 +01:00
Roger A. Light
4d9477abc7
Version bump
2014-07-13 22:54:19 +01:00
Roger A. Light
e5aa843ec7
Don't allow access to clients when authenticating if a security plugin returns an application error. Fixes bug #1340782 .
...
Thanks to Charlie Davis.
2014-07-13 21:20:18 +01:00
Roger A. Light
8efb4f9334
Fix bug #1324411
...
Thanks to chenzhenianqing.
2014-07-13 14:28:24 +01:00
Roger A. Light
885d8ca5db
When a durable client reconnects, its queued messages are now checked against ACLs in case of a change in username/ACL state since it last connected.
...
Thanks to "web1".
2014-07-13 14:18:08 +01:00
Roger A. Light
45fa820989
Anonymous clients are no longer accidently disconnected from the broker after a SIGHUP.
2014-07-13 14:11:43 +01:00
Roger A. Light
5c7512b8ba
Add mosquitto_threaded_set().
2014-07-02 20:45:26 +01:00
Roger A. Light
fe5dba5887
Add use_username_as_clientid.
2014-07-02 00:09:50 +01:00
Roger A. Light
19056e6d4c
Removed $SYS/broker/changeset.
2014-06-23 18:37:15 +01:00
Roger A. Light
bd2aa2f426
Add batch mode to mosquitto_passwd.
2014-06-20 20:59:04 +01:00
Roger A. Light
29e65e4965
Anonymous clients are no longer accidently disconnected from the broker after a SIGHUP.
2014-06-18 23:17:40 +01:00
Roger A. Light
4025fad5aa
libuuid is used to generate client ids, where it is available, when an MQTT v3.1.1 client connects with a zero length client id.
2014-06-15 01:07:05 +01:00
Roger A. Light
af49fc556a
When a durable client reconnects, its queued messages are now checked against ACLs in case of a change in username/ACL state since it last connected.
...
Thanks to "web1".
2014-06-13 23:07:00 +01:00
Roger A. Light
11631d8d92
Add local_clientid for bridges.
2014-06-10 23:30:15 +01:00
Roger A. Light
fd7d5ebbb9
Change $SYS/broker/clients/[in]active -> $SYS/broker/clients/[dis]connected
2014-06-02 00:51:40 +01:00
Roger A. Light
87579e0cac
Remove STRICT_PROTOCOL #ifdefs.
2014-05-31 21:53:35 +01:00
Roger A. Light
5da25ae5d9
Add support for "session present" in CONNACK messages for MQTT v3.1.1.
2014-05-31 15:20:40 +01:00
Roger A. Light
0224db85c4
Fix bug #1324411
2014-05-29 15:22:48 +01:00
Roger A. Light
2db22f3abd
Merge 1.3.2 branch in 1.4 branch.
2014-05-26 13:21:20 +01:00
Roger A. Light
aab7a2688c
Fix SRV support when building with CMake.
2014-05-19 22:03:26 +01:00
Roger A. Light
b6f2d3e087
Fix callback deadlocks after calling mosquitto_disconnect(), when using the threaded interfaces. Closes bug #1313725 .
...
Thanks to Michael Frommberger.
2014-05-16 10:20:45 +01:00
Roger A. Light
dc71f9157d
Use $(STRIP) for stripping binaries when installing, to allow easier cross compilation.
...
Thanks to Frank Pagliughi.
2014-05-08 23:18:50 +01:00
Roger A. Light
fb7dd42e5d
Support for ECDHE-ECDSA family ciphers.
2014-07-03 19:35:37 +01:00
Roger A. Light
a285c6ce5c
Add -1 (oneshot) option to mosquitto_sub.
...
Thanks to JP Mens.
2014-05-25 00:49:08 +01:00
Roger A. Light
fe91e71399
Support client default config files on non Windows.
2014-05-25 00:26:52 +01:00
Roger A. Light
ae6baad2fa
Default TLS mode now accepts TLS v1.2, v1.1 and v1.0.
2014-05-24 23:18:54 +01:00
Roger Light
e5cc63a89b
Fix subscriptions sometimes being deleted.
...
Fix subscriptions being deleted when clients subscribed to a topic
beginning with a $ but that is not $SYS.
Thanks to David Woodward.
2014-05-08 23:05:34 +01:00
Roger Light
ab15557931
Fix possible crash when using pattern ACLs.
...
Crash may occur for ACLs that do not include a %u and clients that
connect without a username.
Thanks to Karl Palsson.
2014-05-08 23:03:15 +01:00
Roger Light
9ff56eefd0
Fix topic matching edge case.
...
Thanks to Tobias Assarsson.
2014-05-08 22:56:16 +01:00
Roger Light
b8e34b0b05
Ensure that bridges verify certificates by default when using TLS.
...
Thanks to Stefan Borsje.
2014-05-08 22:48:13 +01:00
Roger A. Light
968004d9d8
Add local_username, local_password for bridge connections to authenticate to the local broker.
2014-05-08 18:45:34 +01:00
Roger Light
0364bd1be7
Initial contribution.
2014-05-07 23:27:00 +01:00