Give fibers outbound network through a backend interface
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 28/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- go, kubernetes, linux
- Ambito
- backend, networking, security
Direzione di ricerca
Start by reading the backend interfaces, especially WorkspaceHolder, and the gVisor attach path that uses --network-proxy-path. Check how the bundle, template rewarm, Bind, Clone, and runsc restore fit together, then inspect the conformance suite and design docs. Done means the egress interface, grant rules and refusals are covered, restored fibers are verified, clone cost is measured, and backend support is documented.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Fibers on gVisor and Hyperlight have no network, and runc fibers have loopback alone, so a workload on those backends cannot call out. Outbound access should fit fiberd's backend interfaces, with the host owning the rule and each backend owning how a fiber attaches.
- Add an optional backend interface for egress, in the same shape as
WorkspaceHolder, and refuse a grant that needs egress on a backend without it. - Add a grant field for what a fiber may reach, by address and port, and by hostname.
- Run the egress path as a separate per-grant process with no capabilities, its own cgroup and its own filter, not inside fiberd.
- Always refuse loopback, link-local addresses, the home's own addresses and the node, whatever the grant allows.
- Refuse all traffic from a pooled sandbox until
Bindnames its fiber. - Attach gVisor first, through
--network-proxy-path, so ordinary programs need no proxy settings. That needs a runsc bump, anetworknamespace entry in the bundle and a template rewarm. Prove it acrossrunsc restorefirst, and fall back to a namespace per fiber if it fails. - Add no step to Clone beyond what the attach needs, and measure that cost.
- Cover the interface, the refusals and a restored fiber in the conformance suite, and record which backends offer egress in the design docs.
- Lingua principale
- Go
- Stelle
- 5
- Fork
- 5
- Merge medio
- 15h 27m
- PR unite (30g)
- 41
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/fiberd
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
Azure/fiberd#131 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/fiberd
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 2 giorni
-
[Bug] vela config-template apply drops the template's metadata.descriptionForse già presa @backendArchitect l’ha presa oggi. Apertaarea/cli area/config good first issue type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
kubevela/kubevela#7756 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno