summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'segget/network0.conf')
-rw-r--r--segget/network0.conf37
1 files changed, 21 insertions, 16 deletions
diff --git a/segget/network0.conf b/segget/network0.conf
index bc5d71c..bd16fca 100644
--- a/segget/network0.conf
+++ b/segget/network0.conf
@@ -45,19 +45,31 @@ network_mode=2
# bind_interface=none
bind_interface=none
-# BIND LOCALPORT
-# Pass a long. This sets the local port number of the socket used for connection.
-# This can be used in combination with BIND_INTERFACE and you are recommended to
-# use BIND_LOCALPORTRANGE as well when this is set.
-# Valid port numbers are 1 - 65535.
+# BIND_LOCAL_PORT
+# This sets the local port number of the socket used for connection. This option
+# can be used in combination with BIND_INTERFACE and you are recommended to
+# use BIND_LOCAL_PORT_RANGE as well when this is set. Set to 0 - to disable
+# binding. Valid port numbers are 1 - 65535.
+# Minimum value: 0 (no binding)
+# Maximum value: 65535
+# Default:
+# bind_local_port=0
+bind_local_port=0
-# BIND_LOCALPORTRANGE
-# Pass a long. This is the number of attempts segget should make to find a
-# working local port number. It starts with the given BIND_LOCALPORT and adds
+# BIND_LOCAL_PORT_RANGE
+# If BIND_LOCAL_PORT=0 this option will be ignored.
+# This is the number of attempts segget should make to find a
+# working local port number. It starts with the given BIND_LOCAL_PORT and adds
# one to the number for each retry. Setting this to 1 or below will make segget
# do only one try for the exact port number. Port numbers by nature are scarce
# resources that will be busy at times so setting this value to something too
-# low might cause unnecessary connection setup failures.
+# low might cause unnecessary connection setup failures.
+# Minimum value: 1
+# Maximum value: 65535
+# Default:
+# bind_local_port_range=20
+bind_local_port_range=20
+
[network_connections]
# NETWORK_MAX_CONNECTIONS
@@ -259,13 +271,6 @@ proxy_fetcher_port=3131
# Specify the user and password for authentication on a proxy-fetcher-server.
# NOT IMPLEMENTED YET: proxy-fetcher-user=user
# NOT IMPLEMENTED YET: proxy-fetcher-password=password
-# Set to forbid direct connections to Internet servers if it's possible to use
-# proxy-fetcher.
-# NOT IMPLEMENTED YET: use-proxy-fetcher-demon-if-possible=1
-# Set to forbid direct connections to Internet servers.
-# NOT IMPLEMENTED YET: use-proxy-fetcher-demon-only=0
-# Set to forbid using proxy-fetcher.
-# NOT IMPLEMENTED YET: no-proxy-fetcher
[network_mirrors]
# SYNOPSIS: ONLY_LOCAL_WHEN_POSSIBLE=0 | 1