]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - test.py
Don't add local IP addresses to the routing table (with config option to override).
[quix0rs-apt-p2p.git] / test.py
diff --git a/test.py b/test.py
index 83c2d1bbecfce101529560035c9db77f8ed9b5e5..a04903c88f676a3e6276efbaaf4ddbb902b0cf29 100755 (executable)
--- a/test.py
+++ b/test.py
@@ -513,6 +513,11 @@ MIN_PING_INTERVAL = 15m
 # refresh buckets that haven't been touched in this long
 BUCKET_STALENESS = 1h
 
+# Whether it's OK to add nodes to the routing table that use an IP
+# address from a known local/private range.
+# If not specified here, the LOCAL_OK value in the DEFAULT section will be used.
+LOCAL_OK = yes
+
 # expire entries older than this
 KEY_EXPIRE = 3h