Roger A. Light
0ec258d01f
Fix incorrect string length calculation.
...
Closes #1963 . Thanks to twegener-embertec.
5 years ago
Peter Stevenson
8a44e5940c
Systemd service changes for updated pid path.
...
Signed-off-by: Peter Stevenson <pete@ihut.co.uk>
5 years ago
Roger A. Light
04c110183c
Bridge support for MQTT v5 maximum-qos.
5 years ago
Roger A. Light
b7e6638fd8
Add `ciphers_tls1.3` option, to allow setting TLS v1.3 ciphersuites.
...
Closes #1825 . Thanks to Valentin Dimov.
5 years ago
Roger A. Light
4667c9d5bc
Change max_queued_messages default to 1000.
5 years ago
Roger A. Light
abbeb4494f
Change `tls_version` option behaviour.
...
The `tls_version` option now defines the *minimum* TLS protocol version to
be used, rather than the exact version.
Closes #1258 . Thanks to Daniele Sluijters.
5 years ago
Roger A. Light
edee5aaf8d
Add the `bridge_bind_address` option.
...
Closes #1311 . Thanks to beville.
5 years ago
Roger A. Light
d8f5aacd7f
Add the `bridge_max_packet_size` option.
...
Closes #265 .
5 years ago
Roger A. Light
987f7ff76a
Make it clearer that `log_dest topic` doesn't include debug.
5 years ago
Roger A. Light
3506fe4099
Update docs for acl deny feature.
5 years ago
Roger A. Light
f18f1a08a9
Merge branch 'feature/add-deny-option-for-acl' of git://github.com/BrandtHill/mosquitto into BrandtHill-feature/add-deny-option-for-acl
5 years ago
Roger A. Light
7c3a353616
Fix incorrect bridge_insecure description.
...
Closes #1837 . Thanks to chegancasb.
5 years ago
Roger A. Light
94c4108977
The `pid_file` option will now always attempt to write a pid file.
...
This happens regardless of whether the `-d` argument is used when
running the broker.
Closes #1845 . Thanks to habazut.
5 years ago
Roger A. Light
c7f429cab2
Deprecation warnings.
5 years ago
Roger A. Light
c90e49af1b
Merge remote-tracking branch 'origin/fixes' into develop
5 years ago
Roger A. Light
54b9571516
Enable TLS with certfile+keyfile, not capath/cafile.
5 years ago
Roger A. Light
97bd527df0
Breaking: allow_anonymous defaults to false.
5 years ago
Brandt Hill
16eecfcbc5
Add 'deny' as an option for topics/patterns in acl file to allow certain topics to be explicitly denied when they might otherwise be allowed through a more open read/write/readwrite option. Example: 'topic readwrite test/#' and 'topic deny test/hello/#' may be added so that a user can read/write to all test/# topics, except for test/hello/#.
...
Signed-off-by: Brandt Hill <brandtlarsonhill@gmail.com>
Change variable name for clarity. Remember to initialize bool (I'm bad at C).
Signed-off-by: Brandt Hill <brandtlarsonhill@gmail.com>
Add documentation to config man page
Signed-off-by: Brandt Hill <brandtlarsonhill@gmail.com>
Add test case for deny option
Signed-off-by: Brandt Hill <brandtlarsonhill@gmail.com>
Add deny acls to top of the list to preserve early exit
Signed-off-by: Brandt Hill <brandtlarsonhill@gmail.com>
change comments
Signed-off-by: Brandt Hill <brandtlarsonhill@gmail.com>
5 years ago
Roger A. Light
873e580a00
Spelling/grammar fixes.
5 years ago
Roger A. Light
2e32634a95
DLT logging is now configurable at runtime with `log_dest dlt`.
...
Closes #1735 . Thanks to Brian Orpin.
5 years ago
Roger A. Light
3e9eae401e
Missing / in bridge remapping doc.
6 years ago
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>
6 years ago
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.
6 years ago
Roger A. Light
d49988fa6f
Rejig unix socket support.
6 years ago
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.
6 years ago
Roger A. Light
499e2f2e98
Add support for unix sockets to broker, lib, and clients.
6 years ago
Roger A. Light
54ed3c0fc9
Merge branch 'master' into develop
6 years ago
Roger A. Light
01530a3f07
Improve message_size_limit and various max_* option docs.
...
Closes #448 .
6 years ago
Roger A. Light
14e1ae09dc
max_packet_size applies to 3.1.1 and 3.1 clients as well
6 years ago
Roger A. Light
6f4e472260
Improve details on global/per listener options in the mosquitto.conf man page.
...
Closes #274 .
6 years ago
Roger A. Light
570c3674fb
Drop privs to nobody if mosquitto user does not exist.
6 years ago
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>
6 years ago
Roger A. Light
9dc319c183
Remove obsolete `store_clean_interval` from documentation.
6 years ago
Roger A. Light
46d5aa9682
Improve documentation around the upgrading of persistence files.
...
Thanks to jsaak.
Closes #1276 .
6 years ago
Roger A. Light
b649c972eb
Document notifications better. Closes #1188 .
7 years ago
Roger A. Light
27b8bcf320
Document `memory_limit` option.
7 years ago
Roger A. Light
dec769ce33
Client and doc ALPN additions
...
Add ALPN support for all clients, update documentation, and add to ChangeLog.
7 years ago
Roger Light
77aaec686e
Merge pull request #1224 from omenlabs/ALPN
...
Bridge TLS Application-Layer Protocol Negotiation
7 years ago
John Hickey
c011be62a4
Bridge TLS Application-Layer Protocol Negotiation
...
In order to connect to brokers that support both websockets and
mqtt on the same port (such as Amazon IoT), we need to set an
application for the SSL context. This change allows the specification
of an application by using the `bridge_alpn` configuration token.
Signed-off-by: John Hickey <jjh-github@daedalian.us>
7 years ago
Roger A. Light
a29a7dadc6
Basic plugin support for single step extended auth.
7 years ago
Roger A. Light
75c2a39d2c
Send topic alias maximum from the broker.
7 years ago
Roger A. Light
1220ba4bfe
Rejig OCSP code.
7 years ago
Roger A. Light
ea046c2405
Merge branch 'master' of git://github.com/LarsVoelker/mosquitto into LarsVoelker-master
7 years ago
Roger A. Light
320ddc1303
Merge branch 'master'
...
Conflicts:
CMakeLists.txt
ChangeLog.txt
client/Makefile
config.mk
installer/mosquitto.nsi
installer/mosquitto64.nsi
lib/mosquitto.h
lib/mqtt3_protocol.h
lib/util_mosq.c
set-version.sh
snap/snapcraft.yaml
src/bridge.c
src/database.c
src/handle_connack.c
src/loop.c
src/persist.c
test/broker/Makefile
7 years ago
Roger Light
1a234323a3
Add support for custom log timestamps.
...
Closes #1121 .
7 years ago
Roger A. Light
0632549ce9
Doc improvements for websockets_header_size.
7 years ago
Pierre Fersing
1aaf5f2348
Add websockets_headers_size option
...
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
7 years ago
Roger A. Light
1924afe49e
Add explicit support for TLS v1.3 and drop TLS v1.0.
7 years ago
Roger A. Light
130ddf47f7
Add `dhparamfile` option, to allow DH parameters to be loaded.
...
This is for Ephemeral DH support on listeners.
7 years ago
Roger A. Light
dfbd33e0f4
Update documentation for bridge backup, plus tweaks
...
Sets default to use the backoff mechanism.
7 years ago