Skip to content

Fix socket local_ip selection with multi_if#8

Merged
philljj merged 2 commits intowolfSSL:masterfrom
danielinux:multi-ifc-socket-fixes
Nov 19, 2025
Merged

Fix socket local_ip selection with multi_if#8
philljj merged 2 commits intowolfSSL:masterfrom
danielinux:multi-ifc-socket-fixes

Conversation

@danielinux
Copy link
Copy Markdown
Member

Enforce socket binding to one of the local interface. Accept connections from anywhere when bound to IPADDR_ANY.

Fix issue with accepting connection from a different interface than the one available during binding.

@philljj
Copy link
Copy Markdown
Contributor

philljj commented Nov 18, 2025

need to rebase

@philljj philljj removed their assignment Nov 18, 2025
@danielinux danielinux force-pushed the multi-ifc-socket-fixes branch from b003bba to 1e2d1cb Compare November 19, 2025 00:13
@philljj
Copy link
Copy Markdown
Contributor

philljj commented Nov 19, 2025

Tests good and new tests look reasonable. Reviewing rest of code changes now.

@philljj philljj self-assigned this Nov 19, 2025
Comment thread src/wolfip.c
@philljj philljj merged commit bc98c9c into wolfSSL:master Nov 19, 2025
4 checks passed
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.

2 participants