Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add IPv4 / IPv6 force flags

Abierto
#3,329 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
go
Área
cli, networking

Línea de trabajo

No se nombra ningún archivo, prueba ni punto de entrada. Empieza trazando cómo la CLI resuelve el endpoint de la API de Cloud Foundry y sigue los enlaces de las respuestas de la API; después, determina dónde se aplicarían las opciones force-IPv4 y force-IPv6. Se considera terminado cuando los flags seleccionan de forma coherente el protocolo solicitado para el endpoint y las llamadas posteriores.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

feature-request

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.

Lenguaje dominante
Go
Estrellas
1.9k
Forks
990
Merge medio
1 d 7 h
PR fusionados (30 d)
8

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cloudfoundry/cli

Todos los issues de cloudfoundry/cli

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.