Roger Light
3eaed4c730
Merge branch 'bridge_tcp_user_timeout' of git://github.com/abiliojr/mosquitto into abiliojr-bridge_tcp_user_timeout
4 years ago
Roger A. Light
8589f082d8
Fix CVE references.
4 years ago
Roger A. Light
4f04f3de92
Add `websockets_origin` option
...
This allows Origin header checking when clients attempt to upgrade from http->websockets.
4 years ago
Roger A. Light
1633010130
WS build fix.
4 years ago
Roger A. Light
9a97a5afc4
Improve client protocol version number logging.
...
Protocol version numbers reported in the log when a client connects now
match the MQTT protocol version numbers, not internal Mosquitto values.
4 years ago
Roger A. Light
14993528ab
Dynsec will generate a config file if it is not found.
4 years ago
Roger Light
17bbca22fb
Merge pull request #2255 from tparker-usgs/master
...
Disable HTTP2 when building libwebsockets for docker images.
4 years ago
Roger A. Light
713b19b96f
Document output of ctrl dynsec listClients.
4 years ago
Roger A. Light
40b402e64a
Add the `global_plugin` option.
...
This gives global plugin loaded regardless of `per_listener_settings`.
4 years ago
Roger A. Light
eec1ef1c55
Parallelise bridge clean session test.
4 years ago
Roger A. Light
8cd2411ab6
Tests should typically use `listener` instead of `port`.
4 years ago
Roger A. Light
182384440b
Password salts are now 64 bytes long.
4 years ago
Roger A. Light
0cdaac0227
Remove unused macro.
4 years ago
Roger A. Light
945de663a0
Registration of the MOSQ_EVT_CONTROL plugin event is now handled globally.
...
This means only a single plugin can register for a given $CONTROL topic.
4 years ago
Roger A. Light
4e146b7b53
Fix possible out of bounds memory reads when reading configuration.
...
This would happen with a corrupt/crafted configuration file. Unless your
configuration file is writable by untrusted users this is not a risk.
Closes #567213 . Thanks to Roland Sako.
4 years ago
Roger Light
114588fff8
Log protocol version and ciphers that a client negotiates when connecting.
4 years ago
Tom Parker
87cba17715
Disable HTTP2 when building libwebsockets for docker images. Works around #1211 .
...
Signed-off-by: Tom Parker <tparker@usgs.gov>
4 years ago
Roger A. Light
dbbffe054c
Simplify bridge topic linked list memory cleanup.
4 years ago
Roger Light
cad11de873
Merge pull request #2249 from cdelston0/develop-transitive-topics
...
Swap bridge topic storage from array to linked-list
4 years ago
Roger Light
e3158e2b09
Merge pull request #2247 from Begasus/haiku
...
Haiku build fixes
4 years ago
Roger A. Light
49065f03a8
Merge remote-tracking branch 'origin/fixes' into develop
4 years ago
Chris Elston
aa5233fc85
Swap bridge topic array to linked list
...
Bridge topics are added on startup to an allocated array which is
reallocated with each new topic. This change alters bridge topic
storage to use a singly linked list.
This is to facilitate upcoming changes to support bridge topic
add/remove operations.
4 years ago
Roger A. Light
192a092d50
Add support for pattern ACLs to dynsec un/subscription ACLs.
4 years ago
Roger A. Light
a02aad0a9c
Add mosquitto_sub_matches_acl_with_pattern.
4 years ago
Roger A. Light
09fe737038
$share subscription with no-local not allowed.
...
Return protocol error if a client attemps to subscribe to a shared
subscription and also sets no-local.
4 years ago
Roger A. Light
4de6d24dc6
The `allow_duplicate_messages` now defaults to `true`.
4 years ago
Roger A. Light
10045394cf
Easier testing with different valgrind tools.
4 years ago
begasus
0f49a9ff5b
Haiku build fixes
...
Signed-off-by: begasus <begasus@gmail.com>
4 years ago
Roger A. Light
ec895f2ad3
mosquitto_sub now only needs `-t` or `-U` to run
...
This means that `-t` is not required in all situations.
4 years ago
Roger A. Light
f90e55bd36
Reduce memory allocations when sending packets.
4 years ago
Roger A. Light
30b54ba124
Add platform limitations section to man page.
4 years ago
Abilio Marques
d8090afbfb
bridge: add support for TCP_USER_TIMEOUT
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
4 years ago
Roger A. Light
de0e275ccb
mosquitto_sub `--watch` can now be called as `-w`.
4 years ago
Roger A. Light
e4160b083a
Add --watch to mosquitto_sub.
4 years ago
Roger A. Light
e0309acebc
Add mosquitto_sub_matches_acl()
...
This moves the sub matching sub code from the dynsec plugin to the library and broker, and removes all of the malloc calls at the same time.
4 years ago
Roger A. Light
b3045d1adf
Fix pattern matching with invalid prefix.
4 years ago
Roger A. Light
0cd2619401
Add %c and %u support to dynsec publish ACLs.
4 years ago
Roger A. Light
6502d6e5f4
Add mosquitto_topic_matches_sub_with_pattern()
...
And use it in the default security checks.
4 years ago
Roger A. Light
b7c3d52cd4
Fix letsencrypt case when RENEWED_DOMAINS is empty.
4 years ago
Roger A. Light
0d1bc03665
Simplify editing needs of the letsencrypt hook script.
4 years ago
Roger A. Light
6028d0e33e
mosquitto_sub and mosquitto_rr now open stdout in binary mode on Windows
...
This is so binary payloads are not modified when printing.
Thanks to Steve Mullock.
4 years ago
Roger A. Light
5217863b8b
Bump docker files.
4 years ago
Roger A. Light
1ab6b28e26
Add missing test file.
4 years ago
Roger A. Light
3b89bb2e35
Update post to include 1.6.15 information.
4 years ago
Roger A. Light
f68c052c79
Merge branch 'fixes'
4 years ago
Roger A. Light
c4ca718ea7
Add man page deps to readme.
4 years ago
Roger A. Light
99d7299b24
Fix qos0 messages not being queued when queue_qos0_message enabled.
...
Closes #2224 . Thanks to Luigi Caiffa.
4 years ago
Roger A. Light
c9c5889b31
Rename and simplify.
4 years ago
Roger A. Light
dfd5dc5b92
Remove unused struct member.
4 years ago
Roger A. Light
e0bcf8cda4
Simplify SSL accept/connect.
4 years ago