libp2p / libp2p/go-libp2p

Avoid tracking observed addresses for ephemeral source ports

Open
#442 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
6.9k
Forks
1.3k
Avg merge
13d 21h
Merged PRs (30d)
1

Description

We should check to see if we're actually *listening* on the local multiaddr when tracking observed addresses on outbound connections. If we're choosing random source ports (e.g., we've disabled reuseport), we should't bother tracking the observed address as it's likely useless.

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

Locate the outbound-connection code that tracks observed addresses and inspect how it determines whether the local multiaddr is being listened on. Verify behavior for random source ports, including when reuseport is disabled; done means ephemeral outbound addresses are not tracked while listening addresses remain tracked.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.