Skip to content

Conversation

@zzydxm
Copy link
Contributor

@zzydxm zzydxm commented Dec 15, 2025

We are currently using erldist_filter to add extra security to all our dist connections by not allowing certain dist messages to pass through.

We have a special logic like here for us to enable the filter on dist connection setup https://github.com/WhatsApp/erldist_filter/blob/main/apps/erldist_filter/src/erldist_filter_otp_28_inet_tcp_dist.erl#L1037-L1039

If dist_util can allow a 5-arg handshake_complete function like this PR, we could avoid copying dist_util on every OTP upgrade and would be really great for us. The creation and flags of the connection also seems general enough information that the dist protocol can know.

This replaces #8473 if exposing the entire HSData is too much.

Thanks!

@github-actions
Copy link
Contributor

github-actions bot commented Dec 15, 2025

CT Test Results

    4 files    196 suites   1h 53m 7s ⏱️
3 226 tests 2 830 ✅ 396 💤 0 ❌
4 122 runs  3 648 ✅ 474 💤 0 ❌

Results for commit 5d2ed0d.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@IngelaAndin IngelaAndin added the team:VM Assigned to OTP team VM label Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:VM Assigned to OTP team VM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants