libp2p / libp2p/go-libp2p

Disable NAT port mapping when not applicable

Open
#399 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement status/in-progress
Dominant language
Go
Stars
6.9k
Forks
1.3k
Avg merge
13d 21h
Merged PRs (30d)
1

Description

Cases:

* [x] Public IP. Q: Are we also relying on our NAT code to configure network firewalls (even when a NAT isn't present)?
* [x] localhost.
* [ ] Port forwarding in place. Detecting this could be difficult.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the NAT port-mapping implementation and tracing how it handles public IPs, localhost, and existing port forwarding. Clarify whether NAT code also configures firewalls, then define completion as disabling mapping when it is not applicable and documenting or implementing the port-forwarding case.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.