Port forwards: warn when another VM uses the same host port

Aperta Adatta ai principianti
#72 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
electron, react, typescript
Ambito
backend, desktop

Direzione di ricerca

Inizia dall’editor di port forwarding della issue #64 e segui il modo in cui verifica se una porta host è attualmente in uso. Il renderer ha già l’elenco delle VM, quindi esamina come si accede ai loro forward salvati. Il lavoro è terminato quando l’inserimento manuale di una porta usata da un’altra VM mostra un avviso meno severo che indica il nome di quella VM e il protocollo, senza impedire il salvataggio.

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

Descrizione

enhancement ui

The port forward editor (#64) warns "In use on this PC right now" when something is listening on the host port. It doesn't know about other VMs in the library that are configured with the same port but aren't running. Two VMs can both forward 2222 to SSH, both save fine, and the problem only shows up when you start the second one while the first runs.

Clones already move their forwards to free ports (#65), so this is about forwards typed in by hand.

The editor could get the forwards of the other VMs (the renderer already has the whole list) and show something like "Kali also uses TCP 2222" as a softer warning. Not an error, since you might never run both at once.

Lingua principale
TypeScript
Stelle
3
Fork
0
Merge medio
2m
PR unite (30g)
35

Preparare l'ambiente

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 A21-devs/Virtual-Machine-Manager

Tutte le issue di A21-devs/Virtual-Machine-Manager

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.