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>
7 years ago
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>
7 years ago
Roger A. Light
a954081673
Print more OpenSSL errors when loading certificates/keys fail.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
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>
7 years ago
Roger A. Light
5e60136449
Merge branch 'develop'
8 years ago
Roger A. Light
84520296fa
Bump version number.
8 years ago
Roger A. Light
377dc82d3f
Fix parsing of configuration options that end with a space.
...
Closes #804 .
Thanks to Nicola Lunghi.
8 years ago
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.
8 years ago
Roger A. Light
23230b7b18
Add per-listener acl handling.
8 years ago
Roger A. Light
9476d8abcb
Document mosquitto_sub timeout.
8 years ago
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.
8 years ago
Roger A. Light
24d68b5af8
Remove support for openssl 1.0.0 and 1.0.1.
...
These are no longer supported by openssl.
8 years ago
Roger A. Light
8470ca89b9
Add MOSQ_OPT_SSL_CTX and MOSQ_OPT_SSL_CTX_WITH_DEFAULTS options.
...
Closes #567 and #715 .
8 years ago
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 .
8 years ago
Roger A. Light
8676cc0359
Replace mentions of deprecated 'c_rehash' with 'openssl rehash'.
8 years ago
Roger A. Light
dbdd113c86
Merge branch 'develop' of github.com:eclipse/mosquitto into develop
8 years ago
Roger A. Light
c1bb673b1f
Split features/fixes in changelog.
8 years ago
Roger A. Light
600217649b
Merge branch 'develop' of github.com:eclipse/mosquitto into develop
8 years ago
Roger A. Light
b2e1592376
Per listener allow_anonymous.
8 years ago
Roger A. Light
611ad222bb
Don't keep trying to connect in sub client if CONNACK negative.
8 years ago
Roger A. Light
0fef6bdee8
Maximum connections on Windows increased to 2048.
...
Thanks to ericGTT.
8 years ago
Roger A. Light
1ebc301100
Update changelog.
8 years ago
Roger A. Light
bc13eab9d6
Add per_listener_settings, which isn't used yet.
8 years ago
Roger A. Light
5b2bf3d1c1
Bump version number, update copyrights.
8 years ago
Roger A. Light
e6cbff0e94
Fix unauthorised clients being able to cause OOM on connect.
8 years ago
Roger A. Light
b76982db13
Fix reloading of config when fds are exhausted.
8 years ago
Roger A. Light
ec63d7bfc7
Add set_tcp_nodelay option to disable Nagle's algorithm.
...
Bug: https://github.com/eclipse/mosquitto/issues/433
8 years ago
Roger A. Light
81cb7ab547
Merge branch 'fixes' into develop
8 years ago
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
8 years ago
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()
8 years ago
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
8 years ago
Roger A. Light
2283585e39
Remove build timestamp information for reproducible builds.
8 years ago
Roger A. Light
58abadd307
Update changelog.
8 years ago
Tatsuzo Osawa
2cd553c883
Add Changelog for #667
...
Signed-off-by: Tatsuzo Osawa <tatsuzo.osawa@gmail.com>
8 years ago
Roger A. Light
b02c1a41bb
[670] Fix topic matching of foo/bar against foo/+/#
...
Thanks to mrdis.
Bug: https://github.com/eclipse/mosquitto/issues/670
8 years ago
Pierre Fersing
7775924bae
[534]Fix upgrade_outgoing_qos for retained message
8 years ago
Pierre Fersing
7df5c40004
Fix $SYS counters when message is sent over WS
...
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
8 years ago
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
8 years ago
Roger A. Light
ae666b07ce
[654] Initialise "result" in mosquitto_topic_matches_sub.
...
Thanks to markhermelinggt.
Bug: https://github.com/eclipse/mosquitto/issues/654
8 years ago
Roger A. Light
7f82cdc753
[652] Don't limit config file lines to 1024 chars.
...
Bug: https://github.com/eclipse/mosquitto/issues/652
8 years ago
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
8 years ago
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.
8 years ago
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
8 years ago
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
8 years ago
Roger A. Light
7943072b1f
Fix use_identity_as_username not working on websockets clients.
...
Thanks to achest.
8 years ago
Roger A. Light
53c71b2a77
Fix memory leak related to use_identity_as_username.
8 years ago
Roger A. Light
5a267368d7
Merge branch 'master' into develop
8 years ago
Roger A. Light
ba0122f9a9
Don't disable IPv6 support for websockets.
8 years ago
Roger A. Light
46630e7325
Update change log.
8 years ago
Roger A. Light
d8cc5bc4fe
Merge branch 'fixes' of github.com:eclipse/mosquitto into fixes
8 years ago
Roger A. Light
ef7a7850ac
Add -c to mosquitto_pub.
8 years ago
Roger A. Light
0ba0bc434e
Use constant time memcmp for password checks.
8 years ago
Roger A. Light
e74203de2c
Merge branch 'master' into develop
8 years ago
Roger A. Light
2a50b2e9bd
Fix regression from 1.4.13 where persistence data was not being saved.
8 years ago
Roger A. Light
6b351ce0f1
Bump version number.
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
Roger A. Light
96db6d6644
Fix CONNECT check for reserved=0, as per MQTT v3.1.1 check MQTT-3.1.2-3.
8 years ago
Roger A. Light
6e7d02ba16
Fix for CVE-2017-9868 for Windows.
8 years ago
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
8 years ago
Roger A. Light
c78678607d
[427] Fix large retained messages over websockets.
...
Thanks to Brian Block.
Bug: https://github.com/eclipse/mosquitto/issues/427
8 years ago
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
8 years ago
Roger A. Light
c07ba2a3da
Experimental fix for poor websockets performance.
8 years ago
Roger A. Light
6d63468a28
Don't use / in auto-generated client ids.
8 years ago
Roger A. Light
b61fefcf08
Merge branch 'master' into develop
8 years ago
Roger A. Light
2897f71aba
Bump version number.
8 years ago
Roger A. Light
9af3c6958f
Fix for CVE-2017-7650.
8 years ago
Roger A. Light
ca8a507607
[446] Don't segfault on duplicate bridge names.
...
Thanks to Tifaifai Maupiti.
Bug: https://github.com/eclipse/mosquitto/issues/446
9 years ago
Roger A. Light
a421d40d42
Update changelog.
9 years ago
Roger A. Light
b92ffec74e
Fix documentation type WITH_DNS_SRV.
9 years ago
Roger A. Light
7c0e8fde81
Update changelog.
9 years ago
Roger A. Light
5115c84501
Update changelog.
9 years ago
Roger A. Light
3c8581a3ea
Update changelog.
9 years ago
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
9 years ago
Roger A. Light
91b308a11d
Merge branch 'master' into develop
9 years ago
Roger A. Light
bda9893713
Version bump.
9 years ago
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
9 years ago
Roger A. Light
1a0240b5d5
[379] Improve mosquitto_passwd error messages.
...
Thanks to Jaimyn Mayer. Closes #379 .
Bug: https://github.com/eclipse/mosquitto/issues/379
9 years ago
Roger A. Light
e7c1507f88
Fix error message when websockets http_dir directory does not exist.
9 years ago
Roger A. Light
b01e32bd8b
[354] Close http files even on bad clients.
...
Thanks to jbwdevries.
Bug: https://github.com/eclipse/mosquitto/issues/354
9 years ago
Roger A. Light
7279e48191
[316] Don't error on zero length persistence files.
...
Closes #316 .
Bug: https://github.com/eclipse/mosquitto/issues/316
9 years ago
Roger A. Light
8e4a80a928
[329] Fix potential negative timeout being passed to pselect.
...
Thanks to Dollars.
Bug: https://github.com/eclipse/mosquitto/issues/329
9 years ago
Roger A. Light
66683b96b0
Fix potential socket leakage when reconnecting.
...
Bug: https://github.com/eclipse/mosquitto/issues/304
9 years ago
Roger A. Light
98ea684906
[323] Allow outgoing IPv6 connections to use TLS.
...
Bug: https://github.com/eclipse/mosquitto/issues/323
9 years ago
Roger A. Light
2c5785376b
Update changelog.
9 years ago
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
9 years ago
Roger A. Light
9f32d5c0ac
Version bump.
9 years ago
Roger A. Light
e4e81a0fb1
[111] Add mosquitto_userdata function to libmosquitto.
...
This allows retrieving mosq->userdata.
Bug: https://github.com/eclipse/mosquitto/issues/111
9 years ago
Roger A. Light
f72d9b3a34
[17] Sort include_dir files before loading them.
...
Bug: https://github.com/eclipse/mosquitto/issues/17
9 years ago
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
9 years ago
Roger A. Light
ebad302119
[379] Improve mosquitto_passwd error messages.
...
Thanks to Jaimyn Mayer. Closes #379 .
Bug: https://github.com/eclipse/mosquitto/issues/379
9 years ago
Roger A. Light
a2a2099fa1
Fix error message when websockets http_dir directory does not exist.
9 years ago
Roger A. Light
8171a975ae
[354] Close http files even on bad clients.
...
Thanks to jbwdevries.
Bug: https://github.com/eclipse/mosquitto/issues/354
9 years ago
Roger A. Light
7f66bf1f65
[316] Don't error on zero length persistence files.
...
Closes #316 .
Bug: https://github.com/eclipse/mosquitto/issues/316
9 years ago
Roger A. Light
2c2ba2cf10
[329] Fix potential negative timeout being passed to pselect.
...
Thanks to Dollars.
Bug: https://github.com/eclipse/mosquitto/issues/329
9 years ago
Roger A. Light
b55b47efd3
Fix potential socket leakage when reconnecting.
...
Bug: https://github.com/eclipse/mosquitto/issues/304
9 years ago
Roger A. Light
93464179f1
Update changelog.
9 years ago
Roger A. Light
6f7a0bff4b
[323] Allow outgoing IPv6 connections to use TLS.
...
Bug: https://github.com/eclipse/mosquitto/issues/323
9 years ago
Roger A. Light
b3a1604646
Update changelog.
9 years ago