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

[cdc_rsync] Fix issue with IPV6 localhosts #93

Merged
merged 2 commits into from
Feb 14, 2023
Merged

[cdc_rsync] Fix issue with IPV6 localhosts #93

merged 2 commits into from
Feb 14, 2023

Conversation

ljusten
Copy link
Collaborator

@ljusten ljusten commented Feb 6, 2023

Fixes an issue with port forwarding when localhost on the remote system maps to the IPV6 localhost. In that case the server would time out on accept() since it creates an IPV4 socket, so the connection is never established.

Also allows passing in port 0, so that it will auto-detect an available port. This will be used in a future CL to remove the necessity of running netstat/ss.

Fixes an issue with port forwarding when localhost on the remote
system maps to the IPV6 localhost. In that case the server would time
out on accept() since it creates an IPV4 socket, so the connection
is never established.

Also allows passing in port 0, so that it will auto-detect an
available port. This will be used in a future CL to remove the
necessity of running netstat/ss.
@ljusten ljusten self-assigned this Feb 8, 2023
Copy link
Collaborator

@PatriosTheGreat PatriosTheGreat left a comment

Choose a reason for hiding this comment

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

Thanks!

@ljusten ljusten merged commit 5fd86e4 into main Feb 14, 2023
@ljusten ljusten deleted the ipv6 branch February 14, 2023 10:09
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.

None yet

2 participants