Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Commit

Permalink
ipfs: prevent dialing other solarnet nodes over cjdns
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
  • Loading branch information
Lars Gierth committed Apr 11, 2016
1 parent 9272148 commit b34f103
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions solarnet/ipfs/config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@
"DialBlocklist": null,
"Swarm": {
"AddrFilters": [
$(for h in ${provsn_hosts[@]}; do
printf ' "/ip6/%s/ipcidr/128",\n' $(host=$h var cjdns_ipv6)
done)
"/ip4/10.0.0.0/ipcidr/8",
"/ip4/100.64.0.0/ipcidr/10",
"/ip4/169.254.0.0/ipcidr/16",
Expand Down

0 comments on commit b34f103

Please sign in to comment.