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

Commit

Permalink
ipfs: don't randomly dial local networks
Browse files Browse the repository at this point in the history
See: ipfs/kubo#1226

License: MIT
Signed-off-by: Lars Gierth <[email protected]>
  • Loading branch information
Lars Gierth committed Aug 21, 2015
1 parent 5b6d167 commit 220864c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions solarnet/roles/ipfs/templates/config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,24 @@
"MaxSizeMB": 250,
"MaxBackups": 1,
"MaxAgeDays": 0
},
"Swarm": {
"AddrFilters": [
"/ip4/10.0.0.0/ipcidr/8",
"/ip4/100.64.0.0/ipcidr/10",
"/ip4/169.254.0.0/ipcidr/16",
"/ip4/172.16.0.0/ipcidr/12",
"/ip4/192.0.0.0/ipcidr/24",
"/ip4/192.0.0.0/ipcidr/29",
"/ip4/192.0.0.8/ipcidr/32",
"/ip4/192.0.0.170/ipcidr/32",
"/ip4/192.0.0.171/ipcidr/32",
"/ip4/192.0.2.0/ipcidr/24",
"/ip4/192.168.0.0/ipcidr/16",
"/ip4/198.18.0.0/ipcidr/15",
"/ip4/198.51.100.0/ipcidr/24",
"/ip4/203.0.113.0/ipcidr/24",
"/ip4/240.0.0.0/ipcidr/4"
]
}
}

0 comments on commit 220864c

Please sign in to comment.