-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix missing profile docs #4846
Fix missing profile docs #4846
Conversation
repo/config/profile.go
Outdated
c.Addresses.NoAnnounce = appendSingle(c.Addresses.NoAnnounce, defaultServerFilters) | ||
c.Swarm.AddrFilters = appendSingle(c.Swarm.AddrFilters, defaultServerFilters) | ||
c.Discovery.MDNS.Enabled = false | ||
return nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick Q: shouldn't server profile also disable UPnP/NAT propagation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it should
|
||
If you apply this profile after ipfs init, you will need | ||
to convert your datastore to the new configuration. | ||
You can do this using ipfs-ds-convert. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we put a usage example of ipfs-ds-convert as well? Or maybe a link to the readme of ipfs-ds-convert is enough
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Transform: func(c *Config) error { | ||
c.Addresses.NoAnnounce = appendSingle(c.Addresses.NoAnnounce, defaultServerFilters) | ||
c.Swarm.AddrFilters = appendSingle(c.Swarm.AddrFilters, defaultServerFilters) | ||
c.Discovery.MDNS.Enabled = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is MDNS disabled? Isn't the problem that we spam nearby ip addresses, not that we announce mdns services?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC Some providers don't like use of multicast addresses.
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
0520873
to
57d6a7c
Compare
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
e886e04
to
81e720c
Compare
Thanks @magik6k :) |
Fix missing profile docs
Fix missing profile docs
Fix missing profile docs
Fixes #4843