Transports: New config option i2np.allowLocal,

replaces i2np.udp.allowLocal and i2np.ntcp.allowLocal,
fixes test networks (ticket #1875)
This commit is contained in:
zzz
2016-11-04 13:44:24 +00:00
parent b77c4c67a1
commit 7197d22f2a
6 changed files with 16 additions and 15 deletions

View File

@ -64,8 +64,7 @@ public class SSUDemo {
envProps.setProperty("time.disabled", "false");
// allow 127.0.0.1/10.0.0.1/etc (useful for testing). If this is false,
// peers who say they're on an invalid IP are banlisted
envProps.setProperty("i2np.udp.allowLocal", "true");
envProps.setProperty("i2np.ntcp.allowLocal", "true");
envProps.setProperty("i2np.allowLocal", "true");
// IPv6
envProps.setProperty("i2np.udp.ipv6", "enable");
envProps.setProperty("i2np.ntcp.ipv6", "enable");