Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add IPv4 / IPv6 force flags

Aperta
#3,329 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
cli, networking

Direzione di ricerca

Non viene indicato alcun file, test o punto di ingresso. Inizia tracciando il modo in cui la CLI risolve l'endpoint dell'API Cloud Foundry e segue i link nelle risposte dell'API, quindi determina dove si applicherebbero le opzioni force-IPv4 e force-IPv6. Il lavoro è concluso quando i flag selezionano in modo coerente il protocollo richiesto per l'endpoint e le chiamate successive.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
1.9k
Fork
990
Merge medio
1g 7h
PR unite (30g)
8

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cloudfoundry/cli

Tutte le issue di cloudfoundry/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.