libp2p / libp2p/go-libp2p

Don't accounce deprecated addresses to the network

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

Nobody has claimed this yet.

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

Description

I just noticed ipfs announces almost all addresses to the swam. This is kind of annoying with ipv6 privacy extensions enabled, because there will be a bunch of deprecated addresses that should not be used for new connections anymore:
```
...
inet6 2xxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/64 scope global temporary deprecated dynamic
valid_lft 11814sec preferred_lft 0sec
...
```

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

No file, test, or entry point is named. Start by locating the Go code that discovers and announces local network addresses, then reproduce the IPv6 privacy-extension case from the issue. Done means deprecated addresses are excluded from announcements and coverage verifies that behavior.

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
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.