mirror of
https://github.com/oldnick85/i2pd_yggdrasil_docker.git
synced 2025-11-29 03:23:13 +01:00
[add] cap on yggdrasil peers from one country
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ RUN git config --global advice.detachedHead false
|
||||
RUN git clone --depth 1 --branch v0 https://github.com/oldnick85/yggdrasil_get_keys.git /UTILS/yggdrasil_get_keys
|
||||
RUN python3 -m pip install --break-system-packages -r /UTILS/yggdrasil_get_keys/requirements.txt
|
||||
# script to find yggdrasil public peers
|
||||
RUN git clone --depth 1 --branch v3 https://github.com/oldnick85/yggdrasil_find_public_peers.git /UTILS/yggdrasil_find_public_peers
|
||||
RUN git clone --depth 1 --branch v4 https://github.com/oldnick85/yggdrasil_find_public_peers.git /UTILS/yggdrasil_find_public_peers
|
||||
RUN python3 -m pip install --break-system-packages -r /UTILS/yggdrasil_find_public_peers/requirements.txt
|
||||
# save peers to use in case of unavailable repository
|
||||
RUN python3 /UTILS/yggdrasil_find_public_peers/yggdrasil_find_public_peers.py \
|
||||
|
||||
+2
-1
@@ -11,7 +11,8 @@ python3 /UTILS/yggdrasil_find_public_peers/yggdrasil_find_public_peers.py \
|
||||
--yggdrasil-peers-json="/UTILS/yggdrasil_find_public_peers/public_peers.json" \
|
||||
--parallel=4 \
|
||||
--pings=10 \
|
||||
--best=5 \
|
||||
--best=6 \
|
||||
--max-from-country=2 \
|
||||
--ping-interval=0.5
|
||||
sysctl net.ipv6.conf.all.disable_ipv6=0 || true
|
||||
# start YGGDRASIL
|
||||
|
||||
Reference in New Issue
Block a user