HelloZeroNet / HelloZeroNet/ZeroNet

Leaves UPnP forward when stopped

Ouverte
#1,095 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
18.8k
Forks
2.3k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

How to reproduce:
1. start with ```--tor disable```
2. stop gracefully with SIGINT
3. observe that the router still has UPnP port forwarded:
> ZeroNet | Yes | 15441 | 15441 | 192.168.1.10 | TCP

It should delete UPnP forwards when stopped gracefully.

As a good example, BitMessage handles UPnP very well: https://github.com/Bitmessage/PyBitmessage
I believe they have their own UPnP python implementation.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Reproduce the issue by starting with --tor disable, stopping with SIGINT, and checking the router's UPnP forwarding table. Trace the graceful shutdown path and UPnP forwarding behavior, using the linked BitMessage implementation as a reference; done means the ZeroNet forward is removed when stopping gracefully.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
networking
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.