Shawn
1f4869fba3
fix: the application stop order is wrong after ekka:join/1
2023-02-07 10:26:45 +08:00
firest
d4df2ddf25
feat(banned): session will be kicked when client is banned by `clientid`
2023-02-03 15:32:42 +08:00
firest
e051df440a
chore: bump version && update changes
2023-02-01 17:24:00 +08:00
firest
3973fff23f
fix: the exclusive topics aren't removed when the session has already been cleaned
2023-02-01 17:23:53 +08:00
Shawn
5e111e44d7
chore: improve the log format when printing raw binary
2023-01-31 08:54:50 +08:00
Zaiming (Stone) Shi
7c476fd80b
Merge pull request #9790 from lafirest/feat/banned_with_delayed
...
feat: improve the integration of the banned and the delayed/retain feature
2023-01-30 16:40:03 +01:00
Shawn
e459180015
fix: restart oracle resources at relup
2023-01-30 14:53:20 +08:00
firest
482952e951
chore: bump app version
2023-01-30 10:24:52 +08:00
firest
9d6efeaea8
feat: improve the integration of the `banned` and the `delayed` feature
2023-01-29 20:26:11 +08:00
Shawn
763dac0490
fix: log format of printing MQTT packets
2023-01-29 13:45:59 +08:00
Thales Macedo Garitezi
f08aa9f5f5
test(crl): add test case for revoke-then-refresh (v4.4)
...
Investigation for https://github.com/emqx/emqx/issues/9732 .
Apparently, there is no problem if a CRL is cached without
revocations, a client cert is revoked, and later the CRL is refreshed.
The test case indicates that the same client can at first connect to
the server and later is denied connection because the CRL was
refreshed.
Also, we take the opportunity in this PR to refresh the test
certificate and CRL files which would expire in June 2023.
2023-01-12 11:12:22 -03:00
Thales Macedo Garitezi
d6e0ecddbc
chore: update appups
2023-01-06 13:59:25 -03:00
Thales Macedo Garitezi
53ab67285a
Merge tag 'v4.4.14' into sync-v4414-into-v44
2023-01-06 13:34:34 -03:00
Thales Macedo Garitezi
f6bdd1ffec
chore: prepare for v4.4.14 release
2023-01-05 14:09:07 -03:00
Zaiming (Stone) Shi
19103a4dfb
chore: re-generate emqx.appup.src
2023-01-02 18:56:30 +01:00
Zaiming (Stone) Shi
14ba75502f
chore: update copyright year
2023-01-02 14:54:38 +01:00
Zaiming (Stone) Shi
e88feb5096
chore: bump app vsn for emqx_rule_engine
2022-12-30 20:21:48 +01:00
Zaiming (Stone) Shi
ccd68eeb5b
chore: prepare for 4.4.14
2022-12-30 20:07:51 +01:00
Zaiming (Stone) Shi
875df2b7ea
Merge remote-tracking branch 'origin/release-v44' into main-v4.4
2022-12-30 19:55:26 +01:00
Thales Macedo Garitezi
bc654ddf3a
chore: bump release -> v4.4.13
2022-12-30 11:51:32 -03:00
Zaiming (Stone) Shi
facc810941
chore: add emqx_cm to appup
2022-12-29 14:32:25 +01:00
Zaiming (Stone) Shi
0419c9b17e
chore: update appups
2022-12-29 12:09:06 +01:00
Zaiming (Stone) Shi
4251948435
chore: bump emqx.app.src vsn to 4.4.13
2022-12-29 11:24:11 +01:00
Zaiming (Stone) Shi
1f9b2a7e69
Merge remote-tracking branch 'origin/release-v44' into main-v4.4
2022-12-29 11:21:26 +01:00
Zaiming (Stone) Shi
ebc38b3b0e
chore: sync emqx_channel from ee to ce
2022-12-28 16:11:15 +01:00
Zaiming (Stone) Shi
79f51e46a4
chore: sync emqx_cm from ee to ce
2022-12-28 14:30:42 +01:00
Zaiming (Stone) Shi
614d740f71
chore: sync changes in emqx_relup from ee to ce
2022-12-28 14:28:50 +01:00
Zaiming (Stone) Shi
1421040ecf
Merge remote-tracking branch 'origin/main-v4.4' into 1221-sync-release-v44-to-main-v4.4
2022-12-22 09:33:08 +01:00
Zaiming (Stone) Shi
d891197256
feat: add emqx_misc:safe_io_device/0
2022-12-21 19:59:34 +01:00
Zaiming (Stone) Shi
13b14aafa5
fix(emqx_cover): wait for DOWN message before new spawn
2022-12-19 09:23:05 +01:00
Zaiming (Stone) Shi
22c27cb45f
feat(cover): add covertool
2022-12-18 12:23:47 +01:00
zhongwencool
7806a1d7d3
fix: missing emqx_misc in emqx appup 4.4.11
2022-12-09 10:24:34 +08:00
zhongwencool
be9870787c
fix: add dashboard password validation
2022-12-09 10:15:09 +08:00
JimMoen
458101958b
fix: run `message.dropped` hook, inc `messages.dropped` metrics
...
- when awaiting_rel full
- packet identifier in use (QoS2 packet resend)
2022-12-07 12:46:32 +08:00
Zaiming (Stone) Shi
5b3bcf54ed
Merge pull request #9446 from zmstone/1129-emqx-7958-add-cover
...
1129 emqx 7958 add cover
2022-11-29 15:48:14 +01:00
Zaiming (Stone) Shi
55485f25b2
feat: add emqx_cover
2022-11-29 14:53:37 +01:00
Zaiming (Stone) Shi
01f594f4de
Merge pull request #9245 from ieQu1/main-v4.4
...
chore(gen_rpc): Bump version to 3.0.0
2022-11-29 13:54:08 +01:00
ieQu1
e8542b7cd7
chore(gen_rpc): Bump version to 3.0.0
2022-11-28 15:23:53 +01:00
Zaiming (Stone) Shi
2331c9bd5e
chore: add emqx_cm to appup
2022-11-28 14:32:05 +01:00
Zaiming (Stone) Shi
d244c298dc
chore: update app vsn and appup
2022-11-28 12:49:35 +01:00
Zaiming (Stone) Shi
89ad7ed7ef
chore: bump app versions
2022-11-28 11:03:28 +01:00
Zaiming (Stone) Shi
71299a2bcf
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-11-28 10:02:29 +01:00
Zaiming (Stone) Shi
027c05af99
test(emqx_channel): fix two flaky tests
2022-11-27 13:15:06 +01:00
Zaiming (Stone) Shi
f3fd906043
chore: bump emqx app vsn
2022-11-27 09:18:56 +01:00
Thales Macedo Garitezi
5aa6b6dbb6
refactor(alias_enrichment): rename `enrich_clientid_alias` -> `enrich_with_aliases` and `clientid_enrichment_module` ->`alias_enrichment_module`
...
Addresses
https://github.com/emqx/emqx-enterprise/pull/1535#discussion_r1022132136
Since it enriches client information with more than just clientid
alias.
2022-11-16 10:00:47 -03:00
Thales Macedo Garitezi
92d80b5e55
fix(crl): correct return for `handle_cast(refresh_config)`
2022-11-14 15:08:30 -03:00
Thales Macedo Garitezi
0ca7492515
feat(crl): add refresh config API
2022-11-11 12:21:03 -03:00
Thales Macedo Garitezi
c9e05acb4c
fix(crl): make http timeout global for all listeners
...
We make the CRL HTTP timeout the same for all listeners for simplicity
of understanding and implementation.
2022-11-11 10:50:47 -03:00
Thales Macedo Garitezi
445e176898
refactor(crl): rename `s/enable_crl_cache/enable_crl_check/g`
2022-11-10 16:26:06 -03:00
Thales Macedo Garitezi
fbf5764b2d
docs: improve fn docs
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-11-10 14:02:43 -03:00
Thales Macedo Garitezi
83183b7e4b
feat(crl): register CRL URLs when starting TLS listeners
2022-11-10 11:40:14 -03:00
Thales Macedo Garitezi
df58d19f89
fix(listener_ocsp): assert listener id is present in options (ssl)
2022-11-08 17:01:21 -03:00
Zaiming (Stone) Shi
32a8753e9d
refactor: introduce emqx_const_v1 for immutable anonymous funs
2022-11-08 16:41:58 -03:00
Thales Macedo Garitezi
ce282797be
refactor(ocsp): use listener id instead of name for sni fun matching
2022-11-08 16:12:40 -03:00
Thales Macedo Garitezi
2e5e6af677
fix(listener): pass along the listener name
...
The rigid `start_listener/3` does not allow to pass the original
`listener()` map forward, which contains the listener name needed for
OCSP SNI function to later find its required information. To avoid
changing the arity of this exported function, we stuff the listener
name temporarily along with the esockd options...
2022-11-08 15:18:47 -03:00
Thales Macedo Garitezi
b0e8e9dc28
refactor(crl): use cast for refreshing crls
2022-11-08 13:53:27 -03:00
Thales Macedo Garitezi
2713af507a
refactor: move OCSP options into its own section
2022-11-08 13:19:14 -03:00
Thales Macedo Garitezi
ca973db2fc
refactor: split list comprehension over fn calls
2022-11-08 10:42:38 -03:00
Thales Macedo Garitezi
c23c534525
refactor: fix typo, add more detail, rename option to be more clear
2022-11-08 10:42:38 -03:00
Thales Macedo Garitezi
11175b55f8
fix(ocsp): allow disabling ocsp without touching url
2022-11-07 17:50:02 -03:00
Thales Macedo Garitezi
26d2ed3d31
fix(crl): allow specifying CRL URLs per listener
2022-11-07 16:42:51 -03:00
Thales Macedo Garitezi
86278c99a6
fix: enforce minimum refresh interval for ocsp and crl caches
2022-11-07 15:35:07 -03:00
Zaiming (Stone) Shi
51a959c3b4
Merge remote-tracking branch 'origin/release-v44' into ocsp-rv44
2022-11-07 10:18:15 +01:00
Zaiming (Stone) Shi
279046c51e
Merge remote-tracking branch 'origin/release-v43' into release-v44
2022-11-03 21:58:25 +01:00
Zaiming (Stone) Shi
3667a35844
fix(emqx_relup): dialyzer
2022-11-03 19:42:09 +01:00
Thales Macedo Garitezi
b71b106456
feat(special_authn): set hook priority
2022-11-03 13:30:32 -03:00
Thales Macedo Garitezi
f0a5208f3c
fix(dialyzer): fix dialyzer warning about unmatched value
2022-11-03 11:20:24 -03:00
Thales Macedo Garitezi
e53cf17e4c
chore: export internal functions for ad-hoc debugging
2022-11-03 10:43:14 -03:00
Thales Macedo Garitezi
f29ba06316
docs: fix copyright headers
2022-11-03 10:42:56 -03:00
Thales Macedo Garitezi
915504c694
chore(appup): update appups
2022-11-03 10:35:57 -03:00
Thales Macedo Garitezi
af4141bef4
chore(oscp_crl): port OCSP and CRL features to CE repo (re4.4)
2022-11-03 10:10:16 -03:00
Zaiming (Stone) Shi
5bba281c2b
chore(appup): ensure emqx module is reloaded
2022-11-03 12:45:16 +01:00
Zaiming (Stone) Shi
fbc06b3dc6
chore(emqx.erl): sync changes from ee
2022-11-03 12:43:22 +01:00
Zaiming (Stone) Shi
21ebe3d50c
chore: sync changes from ee
2022-11-03 12:42:32 +01:00
Zaiming (Stone) Shi
6f575aedd9
chore: sync emqx_relup to ce
2022-11-03 12:38:32 +01:00
Zaiming (Stone) Shi
d25b614a93
Merge remote-tracking branch 'origin/release-v43' into release-v44
2022-11-03 11:43:50 +01:00
JimMoen
51c532546c
feat: options for trigger disconnected events by different reasons
2022-11-03 16:43:34 +08:00
Zaiming (Stone) Shi
e0db524a10
refactor: change the format of auth_order and acl_order configs
2022-11-02 11:49:55 +01:00
Ilya Averyanov
52652f6c96
feat(hooks): add config options to set explicit callback order
2022-11-01 19:39:52 +01:00
Zaiming (Stone) Shi
4a020d0e1a
Merge remote-tracking branch 'origin/release-v43' into release-v44
2022-10-28 14:35:56 +02:00
Zaiming (Stone) Shi
4614167488
Merge pull request #9234 from savonarola/update-emqx-cm
...
chore(cm): sync emqx_cm with ee
2022-10-28 14:09:06 +02:00
Zaiming (Stone) Shi
7b9d943c33
chore: update appup
2022-10-27 20:19:05 +02:00
Zaiming (Stone) Shi
537f088616
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-10-27 17:31:15 +02:00
firest
e66e563648
fix(logger): add new macro `?LOG_SENSITIVE` and use it to replace some `?LOG` for security reason
...
some arguments passed to external API may contain sensitive data, when the API execution fails, sensitive data may be returned as a part of the failure reason, if this reason printed to the log, it will lead to sensitive data leakage, so we should check carefully and scan these failed returns
2022-10-26 17:14:46 +08:00
Ilya Averyanov
cc468dca4e
chore(cm): sync emqx_cm with ee
2022-10-26 11:49:22 +03:00
Thales Macedo Garitezi
8206f39b7c
chore: update appups
2022-10-25 09:43:12 -03:00
Thales Macedo Garitezi
0a8f3d4e16
Merge remote-tracking branch 'origin/main-v4.3' into sync-v44-a
2022-10-24 16:28:11 -03:00
Thales Macedo Garitezi
ba422532c7
Merge remote-tracking branch 'origin/release-v44' into sync-v44-a
2022-10-24 16:26:18 -03:00
JimMoen
e0e8a5a707
chore: re-generate appup for v4.3.22
2022-10-20 10:37:32 +08:00
JimMoen
8adddb018f
Merge remote-tracking branch 'emqx/release-v43' into 1020-sync-release-v43-back-to-main
2022-10-20 10:23:08 +08:00
Zaiming (Stone) Shi
fd7a8064f4
Merge remote-tracking branch 'origin/release-v43' into release-v44
2022-10-19 19:25:43 +02:00
Zaiming (Stone) Shi
73a5462cba
fix(shared): do not redispatch shared messages for certain shutdown
...
For takeover, there should be no message re-dispatch because
the messages will be retried by the new session.
For kick, messages should not be re-dispatched for security reason.
i.e. if admin has identified that there are malicious messages
stored in persisted sessions, killing the session should not
cause messages to be re-dispatched
2022-10-19 17:21:56 +02:00
JimMoen
8a644bac99
chore: bump app.src and appup.src
2022-10-18 11:28:54 +08:00
Zaiming (Stone) Shi
11026b7644
chore: re-generate appup for v4.3.22
2022-10-16 08:43:45 +02:00
Zaiming (Stone) Shi
20e0d14026
chore: bump app versions
2022-10-15 15:01:57 +02:00
Zaiming (Stone) Shi
1ba2c01f25
Merge remote-tracking branch 'origin/release-v43' into main-v4.3
2022-10-15 14:58:22 +02:00
Zaiming (Stone) Shi
198a1ed6cb
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.3
2022-10-13 08:54:26 +02:00
JianBo He
e8eb0e11ac
Merge tag 'v4.3.21-alpha.2' into release-v44
2022-10-12 19:33:39 +08:00
Zaiming (Stone) Shi
e57ab9a8c1
fix: remsh prefix may not include an underscore
2022-10-12 12:42:37 +02:00
Zaiming (Stone) Shi
7d24c34db5
Merge remote-tracking branch 'origin/release-v43' into release-v44
2022-10-11 22:54:25 +02:00