aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2023-01-18 10:00:47 +0100
committert3sserakt <t3ss@posteo.de>2023-01-18 10:00:47 +0100
commitc524f91a6250a2b22da30cd7efbec817c2d8568d (patch)
tree4e4d0a34d3eea8166025379bd3b989a869806fa0 /contrib
parent8e1bf27b112d8b46230336305f523393590cc575 (diff)
downloadgnunet-c524f91a6250a2b22da30cd7efbec817c2d8568d.tar.gz
gnunet-c524f91a6250a2b22da30cd7efbec817c2d8568d.zip
TNG: miniupnpd only works with public IP addresses.
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/netjail/netjail_start.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/contrib/netjail/netjail_start.sh b/contrib/netjail/netjail_start.sh
index 6036ecbdc..e68745746 100755
--- a/contrib/netjail/netjail_start.sh
+++ b/contrib/netjail/netjail_start.sh
@@ -24,8 +24,17 @@ fi
24shift 2 24shift 2
25 25
26LOCAL_GROUP="192.168.15" 26LOCAL_GROUP="192.168.15"
27GLOBAL_GROUP="172.16.150" 27GLOBAL_GROUP="92.68.150"
28KNOWN_GROUP="172.16.151" 28KNOWN_GROUP="92.68.151"
29# Use the IP addresses below instead of the public ones,
30# if the script was not started from within a new namespace
31# created by unshare. The UPNP test case needs public IP
32# addresse for miniupnpd to function.
33# FIXME The ip addresses are used in the c code too. We should
34# introduce a switch indicating if public addresses should be
35# used or not. This info has to be propagated to the c code.
36#GLOBAL_GROUP="172.16.150"
37#KNOWN_GROUP="172.16.151"
29 38
30if [ $BROADCAST -eq 0 ]; then 39if [ $BROADCAST -eq 0 ]; then
31 PORT="60002" 40 PORT="60002"