Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the AddrFilters option #6459

Merged
merged 2 commits into from
Jul 12, 2019
Merged

Document the AddrFilters option #6459

merged 2 commits into from
Jul 12, 2019

Conversation

hsanjuan
Copy link
Contributor

@hsanjuan hsanjuan commented Jun 21, 2019

Shouldn't have to scan through an old issue to figure out what is happening
and why this is super important.

@hsanjuan hsanjuan added the topic/docs-ipfs Topic docs-ipfs label Jun 21, 2019
@hsanjuan hsanjuan self-assigned this Jun 21, 2019
docs/config.md Outdated
the default listen port on every IP of the the local network IP range. This
improves autodiscovery of other daemons in the same network, but may also
trigger netscan alerts on some hosting providers or cause strain in some
setups.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should explain why we do that and how. That is, we're not intentionally dialing every address one-by-one.

(Otherwise, we'll get even more questions)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't the why to improve autodiscovery? I don't have much idea about the how.. is it random?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. We end up dialing local addresses because peers publish these addresses in the DHT. We aren't intentionally scanning the local network.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, will update accordingly. Thanks!

docs/config.md Outdated
The `server` configuration profile fills up this list with sensible defaults,
preventing scans to most common local network (`10.0.0.0/8` or
`192.168.0.0/16`), but you should always check settings against your own
network and/or hosting provider.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It filters all non-routable addresses per the IANA special registry.

Shouldn't have to scan through an old issue to figure out what is happening
and why this is super important.
@Stebalien Stebalien merged commit cd2611d into master Jul 12, 2019
@Stebalien Stebalien deleted the doc/addrFilters branch July 12, 2019 02:05
@hsanjuan
Copy link
Contributor Author

hey, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/docs-ipfs Topic docs-ipfs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants