Roger A. Light
c7f429cab2
Deprecation warnings.
2020-09-24 21:42:51 +01:00
Roger A. Light
c90e49af1b
Merge remote-tracking branch 'origin/fixes' into develop
2020-09-24 17:03:14 +01:00
Roger A. Light
54b9571516
Enable TLS with certfile+keyfile, not capath/cafile.
2020-09-23 23:31:00 +01:00
Roger A. Light
5371bd09d1
Add support for PBKDF2-SHA512 password hashing.
2020-09-23 22:57:26 +01:00
Roger A. Light
97bd527df0
Breaking: allow_anonymous defaults to false.
2020-09-17 11:29:32 +01:00
Roger A. Light
d7d3087b04
Breaking: Bind to loopback if no listeners are configured.
2020-09-17 11:10:40 +01:00
Roger A. Light
bab8cc2a6b
mosquitto_sub now supports extra format specifiers.
...
These are for field width and precision for some parameters.
2020-08-28 22:23:22 +01:00
Roger A. Light
938e17a3d0
Fix incorrect authentication-method property type in mosquitto_sub man.
...
Closes #1801 . Thanks to roebotron.
2020-08-24 09:59:36 +01:00
Roger A. Light
9929ce0a26
All clients exit with an error exit code on CONNACK failure.
...
Closes #1778 . Thanks to jflambert.
2020-08-12 09:44:42 +01:00
Roger A. Light
873e580a00
Spelling/grammar fixes.
2020-07-14 16:44:33 +01:00
Roger A. Light
2e32634a95
DLT logging is now configurable at runtime with log_dest dlt
.
...
Closes #1735 . Thanks to Brian Orpin.
2020-06-30 00:51:57 +01:00
Roger A. Light
b726e2f1ec
mosquitto_sub %j and %J timestamps are now in a ISO 8601 compatible format.
2020-05-06 22:21:21 +01:00
Roger A. Light
3e9eae401e
Missing / in bridge remapping doc.
2020-03-31 10:13:20 +01:00
Karl Palsson
07d73c7e3a
bridge: support bridge local clean session
...
This adds the ability to separating bridge clean session settings between
the local and remote endpoints. Some broker implmentations refuse to allow
non-clean sessions, as they don't support storing messages to be sent to
the connecting broker. However, this doesn't mean that the local
broker can't be queueing messages to send _out_ to the remote broker.
This PR adds a new bridge connection setting, local_cleansession, that
allows controlling this split. Naming is chosen to be local_ in keeping
with the other local_ settings for bridges.
A test for the six cases of queued/not queued messages in both
directions is added, but v5 testing is currently disabled. The changes
to support the split are ~independent of protocol version.
Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-03-20 12:35:06 +00:00
Roger A. Light
0da723c1ec
Add --random-filter
to mosquitto_sub.
2020-03-03 14:12:30 +00:00
Roger A. Light
3671a6dfdb
Add -x
argument to all clients.
...
This allows the session-expiry-interval property to be easily set for
MQTT v5 clients.
2020-01-30 11:19:09 +00:00
Roger A. Light
d60e86d2a3
Add TCP_NODELAY support to lib and clients.
...
Closes #1526 . Thanks to Felix Moessbauer.
2019-12-18 17:04:43 +00:00
Roger A. Light
c0443637e8
Merge branch 'master'
...
Conflicts:
ChangeLog.txt
config.mk
src/context.c
src/loop.c
src/subs.c
test/broker/01-connect-bad-packet.py
test/broker/02-subpub-qos1-bad-pubcomp.py
test/broker/02-subpub-qos1-bad-pubrec.py
test/broker/02-subpub-qos2-bad-puback-1.py
test/broker/02-subpub-qos2-bad-puback-2.py
test/broker/02-subpub-qos2-bad-pubcomp.py
test/broker/02-subpub-qos2.py
test/broker/07-will-null-topic.py
2019-12-03 13:59:05 +00:00
Roger A. Light
91961d93c4
Merge branch 'master' of git://github.com/basavesh/mosquitto into basavesh-master
2019-11-21 14:22:19 +00:00
Roger A. Light
3d92dcbbd9
Make documentation for mosquitto_pub -l
match reality
...
Blank lines are sent as empty messages.
Closes #1474 . Thanks to majekw.
2019-11-07 20:49:59 +00:00
Roger A. Light
2af260ba58
Add bridge_outgoing_retain
option
...
This allows outgoing messages from a bridge to have the retain bit
completely disabled, which is useful when bridging to e.g. Amazon or
Google.
2019-11-07 11:59:29 +00:00
Roger A. Light
d49988fa6f
Rejig unix socket support.
2019-10-30 21:48:53 +00:00
Roger Light
1c6666b63a
Add user-property output support to sub/rr.
2019-10-15 15:54:46 +01:00
Roger A. Light
59c0bfe6e1
Add support for v5 property printing to mosquitto_sub/rr in non-JSON mode.
2019-10-15 15:23:29 +01:00
Roger A. Light
9e4226622f
Add --pretty
option to mosquitto_sub/rr
...
If active, this produces formatted JSON output rather than the normal
minimised output.
2019-10-15 14:44:25 +01:00
Roger A. Light
ad5c2e11d9
Use cJSON for producing JSON output in clients.
...
Closes #1222 . Thanks to Ben Barbour.
2019-10-15 11:59:22 +01:00
Roger A. Light
27e81e9e13
Point libmosquitto documentation at the API pages.
2019-10-09 14:11:39 +01:00
Roger A. Light
b660283e64
Basic MQTT v5 support for bridges.
...
This gives equivalent behaviour as for v3.1.1/v3.1 bridges, there is no extra functionality yet.
2019-10-09 10:54:44 +01:00
Roger A. Light
499e2f2e98
Add support for unix sockets to broker, lib, and clients.
2019-10-08 20:55:31 +01:00
Roger A. Light
54ed3c0fc9
Merge branch 'master' into develop
2019-09-25 19:09:10 +01:00
Roger A. Light
da5ff1746c
Don't use /
in auto client ids.
...
Also update client documentation about automatic client ids.
2019-09-24 10:05:42 +01:00
Roger A. Light
01530a3f07
Improve message_size_limit and various max_* option docs.
...
Closes #448 .
2019-09-04 17:11:13 +01:00
Roger A. Light
c1e488cb88
Add timeout return code (27) for sub/rr using -W.
...
Closes #275 .
2019-09-04 14:29:26 +01:00
Roger A. Light
14e1ae09dc
max_packet_size applies to 3.1.1 and 3.1 clients as well
2019-09-04 13:59:12 +01:00
Roger A. Light
6f4e472260
Improve details on global/per listener options in the mosquitto.conf man page.
...
Closes #274 .
2019-09-04 13:45:21 +01:00
Dan Langille
c169ad6abb
$HOME/.config/mosquitto_sub or pub?
...
Should $HOME/.config/mosquitto_sub be $HOME/.config/mosquitto_pub? It seems to be that way based on my testing.
I think this is a copy/paste error.
2019-08-12 18:46:45 -04:00
Roger A. Light
570c3674fb
Drop privs to nobody if mosquitto user does not exist.
2019-08-07 10:42:03 +01:00
Jonas Helgemo
1001569fa3
docs: Fix typo on man-page for mosquitto.conf
...
- man-page has a typo in the 'bridge_capath' section under SSL/TLS support
Signed-off-by: Jonas Helgemo <jhel@pm.me>
2019-08-01 10:40:25 +02:00
Roger A. Light
9dc319c183
Remove obsolete store_clean_interval
from documentation.
2019-06-06 23:04:21 +01:00
Roger A. Light
bd34d8c9cd
Remove old man page references.
...
Thanks to Karl Palsson.
Closes #1266 .
2019-05-22 09:45:02 +01:00
Roger A. Light
b4dfeb3767
Fix MQTT v5 clients not being able to specify a password without a username.
...
Thanks to Erik Moqvist.
Closes #1274 .
2019-05-21 23:56:22 +01:00
Roger A. Light
46d5aa9682
Improve documentation around the upgrading of persistence files.
...
Thanks to jsaak.
Closes #1276 .
2019-05-21 18:50:05 +01:00
Roger A. Light
439575475c
Use CMAKE_INSTALL_* variables when installing in CMake.
...
Closes #1049 . Thanks to Greg Troxel.
2019-04-26 17:07:05 +01:00
Roger A. Light
b649c972eb
Document notifications better. Closes #1188 .
2019-04-26 17:06:59 +01:00
Roger A. Light
2c0d6e3304
Fix rr description.
2019-04-26 12:25:30 +01:00
Roger A. Light
27b8bcf320
Document memory_limit
option.
2019-04-26 11:48:29 +01:00
Roger A. Light
4995436b5a
Add --repeat and --repeat-delay to mosquitto_pub.
2019-04-11 19:13:59 +01:00
Roger A. Light
eba9186c85
Update rr docs.
2019-04-11 12:19:07 +01:00
Roger A. Light
dec769ce33
Client and doc ALPN additions
...
Add ALPN support for all clients, update documentation, and add to ChangeLog.
2019-04-11 11:52:34 +01:00
Roger Light
77aaec686e
Merge pull request #1224 from omenlabs/ALPN
...
Bridge TLS Application-Layer Protocol Negotiation
2019-04-11 11:08:15 +01:00