8000 fix(gw): use more conservative set of DTLS options by keynslug · Pull Request #12180 · emqx/emqx · GitHub
[go: up one dir, main page]

Skip to content
/ emqx Public

Conversation

@keynslug
Copy link
Contributor
@keynslug keynslug commented Dec 15, 2023

Release version: v5.4

Summary

Exclude some options from the gateway listener DTLS options that have been breaking listener startup, even while being undefined in the config.

PR Checklist

Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:

  • Added tests for the changes
  • Added property-based tests for code which performs user input validation
  • Changed lines covered in coverage report
  • Change log has been added to changes/(ce|ee)/(feat|perf|fix|breaking)-<PR-id>.en.md files
  • For internal contributor: there is a jira ticket to track this change
  • Created PR to emqx-docs if documentation update is required, or link to a follow-up jira ticket
  • Schema changes are backward compatible

Sorry, something went wrong.

@keynslug keynslug requested review from a team and lafirest as code owners December 15, 2023 12:05
Copy link
Collaborator
@id id left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a changelog entry?

id
id previously approved these changes Dec 18, 2023
HJianBo
HJianBo previously approved these changes Dec 19, 2023
Currently, only certificate issuing and related utilities are there.
Thus ensuring full backward compatibility. Unsupported options
(`gc_after_handshake`, `ocsp`) are silently ignored now. Also make
sure that UDP configuration are part of DTLS option set, as expected
by `esockd`.
@keynslug keynslug dismissed stale reviews from HJianBo and id via 609fac0 December 20, 2023 11:11
< 8000 /div>
Comment on lines +21 to +24
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too late I found out about emqx_common_test_helpers:gen_ca/2 and friends. 😓

Also separate DTLS related MQTT-SN test config, so that it doesn't
leak into this test suite.
@keynslug keynslug requested review from HJianBo and id December 20, 2023 14:00
@keynslug keynslug merged commit f39af14 into emqx:release-54 Dec 20, 2023
@keynslug keynslug deleted the fix/gw-dtls-opts branch December 20, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0