-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Support IPv6 terminated at the router with internal IPv4 #13663
Conversation
Allow haproxy to listen to ipv6 interfaces.
PTAL @openshift/networking |
Make v6 support configurable instead of always on? Related keepalived config? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks, but addressing @sghosh151's concerns would be good.
[test] |
1 similar comment
[test] |
Evaluated for origin test up to 00fd6b6 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1363/) (Base Commit: 2628c77) |
[merge] But @imcsk8 please put a comment in here explaining the testing you did that shows that if there is no IPv6 address on the router node it still works correctly. |
Is it possible to add env like "ROUTER_TERMINATING_IPV6" to control if enable IPv6 ? |
@lihongan: Why do we need to disable v6? If the host supports it, what's the reason not to always listen on the v6 interface too? @imcsk8 tested to make sure that if v6 was disabled that it worked correctly still. We automatically bind to an http and an https port, there's no way to disable it (but you can control which port). If someone has v6, and the host is reachable by v6, and the DNS records serve an AAAA address, but they still want to forbid the router from answering, then they can block that in iptables... (or, more likely, not enable it in iptables). |
Probably I didn't express it clearly before. I means we can bind ipv4 only by default (current implementation), so router won't answer ipv6 request. If someone want to terminate ipv6 request on router, then can add env to let router bind both ipv4 and ipv6 address. |
@lihongan, no, I understood your point and I agree that it is a minor change in behavior. But I am asking why we care? The router admin needs to have IPv6 working, have DNS configured to serve IPv6 responses (AAAA records), and needs to have the firewall open to allow IPv6 in to the router ports. If they don't do all of that it won't work anyway... why also make them configure something in the router? What harm is there if we do not add another config knob? |
Evaluated for origin merge up to 00fd6b6 |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/937/) (Base Commit: cc2ed8f) (Image: devenv-rhel7_6333) |
@knobunc thanks for your explanation, understand now. |
Allow haproxy to listen to ipv6 interfaces.
Trello card: https://trello.com/c/OkSdZ3JM/421-2-support-ipv6-terminated-at-the-router-with-internal-ipv4-ipv6