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

Locally listen on IPv4 and IPv6 addresses #788

Merged

Conversation

markmandel
Copy link
Member

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug
/kind cleanup
/kind documentation

/kind feature

/kind hotfix

What this PR does / Why we need it:

Implemented the DualStackLocalSocket as a small newtype for IPv6 sockets that are configured to be able to send and receive ipv6 and ipv4 traffic on all platforms for the locally listening socket.

Updated the code base and docs and fixed several issues that existed for handling IPv6 addresses in the code base, including updates to the Firewall filter to be able to better manage ipv4 + ipv6 combo rule sets.

Which issue(s) this PR fixes:

Closes #666

Special notes for your reviewer:

Updated the test_utils framework to provide coverage in tests for both ipv4 and ipv6 by allowing for either an IPv4 or IPv6 address to be created from the framework.

@github-actions
Copy link

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

Implemented the `DualStackLocalSocket` as a small newtype for IPv6
sockets that are configured to be able to send and receive ipv6 and ipv4
traffic on all platforms for the locally listening socket.

Updated the code base and docs and fixed several issues that
existed for handling IPv6 addresses in the code base, including updates
to the Firewall filter to be able to better manage ipv4 + ipv6 combo
rule sets.

Updated the `test_utils` framework to provide coverage in tests for
both ipv4 and ipv6 by allowing for either an IPv4 or IPv6 address to be
created from the framework.

Closes googleforgames#666
@github-actions
Copy link

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@quilkin-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: d6c6eb52-b179-4df3-86a6-ff81fab33b89

The following development images have been built, and will exist for the next 30 days:

To build this version:

git fetch [email protected]:googleforgames/quilkin.git pull/788/head:pr_788 && git checkout pr_788
cargo build

@XAMPPRocky XAMPPRocky merged commit c9bd137 into googleforgames:main Sep 18, 2023
3 checks passed
@markmandel markmandel deleted the feature/ipv6nv4_nope_ipv6 branch September 18, 2023 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request size/xl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Listening on IPv4 and IPv6 addresses
3 participants