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
Ivan Dyachkov
73d72eacce
fix: demote rate limit log level to notice
2022-10-11 13:05:21 +02:00
Zaiming (Stone) Shi
124f9795cd
Merge pull request #9091 from zmstone/1003-no-shutdown-logging-to-remote-node-when-rpc
...
fix(emqx): emqx:shutdown should not log to remote node
2022-10-11 08:12:28 +02:00
JianBo He
85aa120b06
Merge branch 'release-v43' into release-v44
2022-10-11 10:24:22 +08:00
JianBo He
a1affa94b5
Merge pull request #9045 from HJianBo/enhance-flapping-detect
...
refactor: enhance the flapping detect accuracy
2022-10-11 10:10:47 +08:00
Zaiming (Stone) Shi
edf69cee88
feat: mute emqx shutdown log in rpc calls
2022-10-10 17:57:33 +02:00
JimMoen
48d8f7e7a9
fix(channel): add warning log if the acl check of a subscribed topic failed
2022-10-10 16:03:31 +08:00
JianBo He
2f178fa8f1
Merge branch 'release-v43' into enhance-flapping-detect
2022-10-10 09:40:49 +08:00
Zaiming (Stone) Shi
4f8a7349bf
fix(shared): ensure sticky strategy sticks to the first pick
...
Prior to this fix, the alive pids are never inserted due to a
missing insert when handing remote pids from mnesia event.
2022-10-09 20:18:33 +02:00
Zaiming (Stone) Shi
b2b05c0077
Merge remote-tracking branch 'origin/release-v43' into 1009-fix-sticky-dispatch-should-check-subscription-table
2022-10-09 11:43:14 +02:00
Zaiming (Stone) Shi
8e8ff08973
fix(shared): check sticky if sticky pid is still a member
...
Prior to this fix, in case of a subscriber unsubscribes without
disconnect, the sticky dispatch strategy will continue to pick the
old member.
This commit fixes it by checking if the member is still in the
group
2022-10-09 11:31:54 +02:00
JianBo He
e2b0048e88
refactor(flapping): count flapping event if connecting failed
2022-10-08 10:06:20 +08:00
DDDHuang
13f3dafe22
refactor: enhance the flapping detect accuracy
...
Count the `flapping` event as long as a client try to connect to server
whatever it suceed or failed. It is more helpful to improve
stablebility.
2022-10-08 09:56:23 +08:00
Zaiming (Stone) Shi
d23dfcca39
fix(shared): only re-dispatch QoS1 inflights
2022-10-05 16:03:43 +02:00
Ivan Dyachkov
09b08d092d
chore: revert double exported pmap after merge
2022-10-05 15:10:10 +02:00
Zaiming (Stone) Shi
8d42589bf5
chore: update appup
2022-10-05 13:32:48 +02:00
Zaiming (Stone) Shi
c8920b5499
Merge remote-tracking branch 'origin/release-v43' into release-v44
2022-10-05 12:55:21 +02:00
Zaiming (Stone) Shi
d46393c45c
Merge remote-tracking branch 'origin/release-v43' into 1004-fix-wildcard-redispatch-for-shared-subs
2022-10-05 12:42:03 +02:00
Zaiming (Stone) Shi
3339df8b24
test: Add test case to cover shared sub QoS2 pubrel in inflights
2022-10-05 12:38:12 +02:00
Zaiming (Stone) Shi
6769bd4edc
fix(shared): drop pubrel from inflight collection before redispatch
2022-10-05 10:30:59 +02:00
Zaiming (Stone) Shi
ba1c276c75
fix(typespec): fix type spec for emqx_shared_sub:redispatch_to
2022-10-05 10:04:09 +02:00
Zaiming (Stone) Shi
9989f4df7e
chore: fix shared subscription redispatch
2022-10-04 18:15:45 +02:00
Zaiming (Stone) Shi
366999ccbb
Merge remote-tracking branch 'origin/release-v43' into main-v4.3
2022-10-02 11:25:16 +02:00
Thales Macedo Garitezi
ebf131266a
test: fix flaky shared sub test case
...
the route replication is async, added a function to wait for it
2022-09-30 17:22:58 +02:00
Zaiming (Stone) Shi
07f0f0a5f8
Merge remote-tracking branch 'origin/release-v43' into 0921-build-merge-release-br-back-to-main-asap
2022-09-29 10:56:45 +02:00
Thales Macedo Garitezi
954e276124
Merge remote-tracking branch 'origin/release-v43' into merge-rv43-into-rv44-a
2022-09-28 09:46:03 -03:00
Zaiming (Stone) Shi
527ce097aa
feat: add emqx_secret module
2022-09-27 21:18:07 +02:00
Thales Macedo Garitezi
2e0eae54f8
fix(acl): check ACL before publishing last will testament (lwt) message (4.3)
2022-09-26 15:22:29 -03:00
firest
6fd0261915
chore: update emqx appup && CHANGES-4.4.md
2022-09-26 17:32:01 +08:00
firest
9f400eb11d
fix(slow_subs): Fix the unit error of the `deliver_begin_at` timestamp
...
The unit of `deliver_begin_at` is incorrectly used the seconds,
this will cause the `internal` stat type to never working and the `response` type time span error
2022-09-26 17:32:01 +08:00
zhongwencool
1379f39f26
chore: sync from release-e4.3
2022-09-22 18:02:39 +08:00
zhongwencool
9642f25ea0
chore: update changelog
2022-09-22 15:12:31 +08:00
zhongwencool
27983e7df4
chore: update emqx.appup.src
2022-09-22 14:24:59 +08:00