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

Add IPv4 / IPv6 force flags #3329

Open
peanball opened this issue Dec 12, 2024 · 0 comments
Open

Add IPv4 / IPv6 force flags #3329

peanball opened this issue Dec 12, 2024 · 0 comments

Comments

@peanball
Copy link

Please provide details on the following items. Failure to do so may result in deletion of your feature request.

What's the user value of this feature request?

The CF API, like any HTTP endpoint, can be exposed via IPv4, IPv6 or both. Popular network tools such as nslookup, curl, dig, etc. provide the option to force one or the other version in scenarios where e.g. both are available.

Who is the functionality for?
People that interact with CloudFoundry through limited networks, e.g. those that only support IPv4 reliably but also claim IPv6 support.

How often will this functionality be used by the user?
Probably not very frequently, but when you need it, it will be very useful.

Who else is affected by the change?
Not a breaking change, just more control for operators.

Is your feature request related to a problem? Please describe.
Like with cURL, this flag is intended to force a particular IP protocol version, which can be used for troubleshooting and debugging inherent network issues in communicating with the CC API.

Describe the solution you'd like
A flag that allows forcing -4 for IPv4 and -6 for IPv6 resolution of the CF API endpoint, and subsequent calls (e.g. links retrieved from the API endpoint that are then followed)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context

Note:
As of the GA of the v7 CLI, the v6 line is no longer under active development and will be updated only to patch CVEs or fix severe blocking defects with no workarounds.

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

No branches or pull requests

1 participant