UPnP port mapping should be regularly attempted, not only at startup

Abierto
#4,975 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

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
networking

Línea de trabajo

Start by locating Bee’s startup UPnP port-mapping setup and reading how the UPnP service handles repeated mapping requests. Then determine where periodic retries would fit and what existing tests cover this behavior. Done means mappings are retried after startup so external reachability can recover when the UPnP service becomes available again.

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

Descripción

seen
Summary

my upnp service may become unresponsive (miniupnp in openwrt). when i notice i restart it, but seems like i also need to restart all my bee nodes, because it seems to only attempt (?) setting up the upnp mapping at startup.

i waited about 10 mintes only before restarting the bee nodes.

Motivation

make bee nodes' external reachability more reliable.

Implementation

i'm no expert neither of golang nor upnp.

maybe it's as simple as moving the setup code from the initialization into a periodic thread?

Drawbacks

i'm not sure whether the upnp API is smart enough for such a use-case (i.e. gracefully handling when the same port map is requested periodically).

Lenguaje dominante
Go
Estrellas
1.5k
Forks
390
Merge medio
2 d 22 h
PR fusionados (30 d)
24

Preparar el entorno

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 ethersphere/bee

Todos los issues de ethersphere/bee

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.