[Feature]: NAT punching for easier connection
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
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- java
- Ambito
- networking
Direzione di ricerca
Start by reading the existing hosting and UPnP connection flow to understand where NAT traversal would fit. The issue proposes a coordination server and NAT punching but does not specify a protocol or implementation entry point, so those details need design first. Done should mean players can connect without router configuration or port forwarding.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the Problem
UPnP doesn't always work, and not everyone can access their router settings to forward ports. It's also not the safest to do port forwarding, as that can expose your machine to attacks even when you aren't playing.
The Solution you'd like
NAT punching is a pretty simple way to get around hosting issues, without port forwarding or any configuration required by the dm/players. It is also safer, as it only allows connections between the specific clients you want to accept.
This does require a minimal coordination server, but it might even be possible to just use a free cloudflare worker, as it doesn't really require serious runtime or resources.
The actual nat punching code should be just a couple lines, it's just: connect to the server, get the dm's ip and port, and connect to it twice.
Alternatives that you've considered.
Not doing it, I guess? Many game servers don't use this method, and you were presumably fine without it as well.
Additional Context
No response
- Lingua principale
- Java
- Stelle
- 927
- Fork
- 286
- Merge medio
- 1g 13h
- PR unite (30g)
- 41
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
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 RPTools/maptool
-
code-maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
code-maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: Add default `-Duser.language` and `-Duser.country` java-options to MapTool.cfgForse già presa @kwvanderlinde l’ha presa 5 giorni fa. Apertafeature
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
RPTools/maptool#6019 · 6 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di RPTools/maptool
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefixForse già presa @ItsDeadlyProgrammer l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
appsmithorg/appsmith#42471 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
bug priority: medium Review effort [1-5]: 3 status: needs-triage type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
carlos-emr/carlos#5258 ·
I maintainer di solito rispondono entro 1 giorno
-
bug: author create/update with an unknown avatarId returns 404 instead of 400 UNKNOWN_REFERENCEForse già presa @Vinu2111 l’ha presa 1 giorno fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
atomityhq/blog-cms#59 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno