Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[cdc_stream] Use ephemeral ports#100

Merged
ljusten merged 1 commit intomainfrom
epheremal
Jun 23, 2023
Merged

[cdc_stream] Use ephemeral ports#100
ljusten merged 1 commit intomainfrom
epheremal

Conversation

@ljusten
Copy link
Copy Markdown
Contributor

@ljusten ljusten commented May 30, 2023

Instead of running netstat/ss on local and remote systems, just bind with port 0 to find an ephemeral port. This is much more robust, simpler and a bit faster. Since the remote port is only known after running cdc_fuse_fs, port forwarding has to be set up after running cdc_fuse_fs.

Instead of running netstat/ss on local and remote systems, just bind
with port 0 to find an ephemeral port. This is much more robust,
simpler and a bit faster. Since the remote port is only known after
running cdc_fuse_fs, port forwarding has to be set up after running
cdc_fuse_fs.
@ljusten ljusten requested a review from florian-kuebler May 30, 2023 11:08
Copy link
Copy Markdown
Collaborator

@florian-kuebler florian-kuebler left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@ljusten ljusten merged commit 370023a into main Jun 23, 2023
@ljusten ljusten deleted the epheremal branch June 23, 2023 09:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants