libp2p / libp2p/go-libp2p

ForceReachabilityPrivate does not work when EnableAutoNATv2 is enabled

Open
#3,515 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.9k
Forks
1.3k
Avg merge
13d 21h
Merged PRs (30d)
1

Description

When I enable ForceReachabilityPrivate while EnableAutoNATv2 is enabled, nothing changes. Only when I disable EnableAutoNATv2 does the connection appear. Until then, the host thinks it is public.
Libp2p version 0.47

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Go code handling ForceReachabilityPrivate and EnableAutoNATv2, then trace how reachability is selected when both options are enabled. Reproduce the issue with libp2p 0.47 using both settings; done means the host is treated as private and the expected connection appears without disabling EnableAutoNATv2.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.