Skip to content

server profile should not include non-global IPv6 ranges #6284

@ghost

Description

Version information:

$ ipfs version --all
go-ipfs version: 0.4.20-dev-221d1b13a
Repo version: 7
System version: amd64/linux
Golang version: go1.12

Type: bug

Description:

If you have a private IPv6 address, say such as fec0::, ipfs will announce this. If you do ipfs init --profile server, there's a very hefty list of IPv4s to avoid, but not the same for IPv6.

https://en.wikipedia.org/wiki/Reserved_IP_addresses#IPv6

This seems like a pretty easy patch to write up. If you can confirm this is not intended behavior, I can open a PR.

(I also see swarm announcements for 127.0.0.1, I'm not sure if that's a bad thing or not.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    exp/noviceSomeone with a little familiarity can pick uphelp wantedSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions