提交 72122a5d 作者: Steven Allen

doc: correct the address filter documentation

上级 010336c8
...@@ -342,17 +342,18 @@ Tells reprovider what should be announced. Valid strategies are: ...@@ -342,17 +342,18 @@ Tells reprovider what should be announced. Valid strategies are:
Options for configuring the swarm. Options for configuring the swarm.
- `AddrFilters` An array of address filters (multiaddr netmasks) to filter - `AddrFilters`
automatic dials to. The ipfs daemon will otherwise attempt to randomly dial An array of addresses (multiaddr netmasks) to not dial. By default, IPFS nodes advertise
the default listen port on every IP of the the local network IP range. This _all_ addresses, even internal ones. This makes it easier for nodes on the same
improves autodiscovery of other daemons in the same network, but may also network to reach each other. Unfortunately, this means that an IPFS node will
trigger netscan alerts on some hosting providers or cause strain in some try to connect to one or more private IP addresses whenever dialing another
setups. node, even if this other node is on a different network. This may may trigger
netscan alerts on some hosting providers or cause strain in some setups.
The `server` configuration profile fills up this list with sensible defaults, The `server` configuration profile fills up this list with sensible defaults,
preventing scans to most common local network (`10.0.0.0/8` or preventing dials to all non-routable IP addresses (e.g., `192.168.0.0/16`) but
`192.168.0.0/16`), but you should always check settings against your own you should always check settings against your own network and/or hosting
network and/or hosting provider. provider.
- `DisableBandwidthMetrics` - `DisableBandwidthMetrics`
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论