Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCTP multihoming: Source address selection based on destination route entry #657

Open
sriramy opened this issue Apr 7, 2022 · 0 comments

Comments

@sriramy
Copy link
Contributor

sriramy commented Apr 7, 2022

Hi,

When a SCTP association has multiple local and remote addresses, it would be nice if usrsctplib picks source address based on the outgoing interface the packet is configured to be sent on. Today, it looks like the first address with the correct scope is used, but that can lead to problems if the chosen source address is not routable back on the interface.

If I understand correctly, I am looking to fix this TODO: https://github.com/sctplab/usrsctp/blob/master/usrsctplib/netinet/sctp_os_userspace.h#L863.
I can contribute if this is not being worked on by someone already.

BR,
/Sriram

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

No branches or pull requests

1 participant