public final class Constants extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DAEMON |
static int |
DEFAULT_DAEMON_PORT |
static String |
DEFAULT_NAT |
static boolean |
DEFAULT_NAT_MAPPING_KEEPALIVE |
static double |
DEFAULT_NAT_MAPPING_TIMEOUT |
static int |
DEFAULT_NAT_STUN_TIMEOUT_MS |
static int |
DEFAULT_PATH_EXPIRY_MARGIN
Time (in seconds) before expiration at which a paths is automatically renewed.
|
static boolean |
DEFAULT_RESOLVER_MINIMIZE_REQUESTS |
static boolean |
DEFAULT_USE_OS_SEARCH_DOMAINS |
static int |
DISPATCHER_PORT
Deprecated.
Dispatcher support will be removed soon.
|
static String |
ENV_BOOTSTRAP_HOST
Address of bootstrap server (http), e.g.
|
static String |
ENV_BOOTSTRAP_NAPTR_NAME
Host name of DNS entry with NAPTR record for bootstrap service.
|
static String |
ENV_BOOTSTRAP_TOPO_FILE
path/file name for topology file.
|
static String |
ENV_DAEMON |
static String |
ENV_DNS_SEARCH_DOMAINS |
static String |
ENV_HOSTS_FILES
Semicolon separated list of full paths of SCION hosts files.
|
static String |
ENV_NAT |
static String |
ENV_NAT_MAPPING_KEEPALIVE |
static String |
ENV_NAT_MAPPING_TIMEOUT |
static String |
ENV_NAT_STUN_SERVER |
static String |
ENV_NAT_STUN_TIMEOUT_MS |
static String |
ENV_PATH_EXPIRY_MARGIN
Paths are refreshed when their expiry is less than X seconds away.
|
static String |
ENV_RESOLVER_MINIMIZE_REQUESTS
Enable minimization of segment requests during path construction.
|
static String |
ENV_SHIM |
static String |
ENV_USE_OS_SEARCH_DOMAINS |
static String |
PROPERTY_BOOTSTRAP_HOST
Address of bootstrap server (http), e.g.
|
static String |
PROPERTY_BOOTSTRAP_NAPTR_NAME
Host name of DNS entry with NAPTR record for bootstrap service.
|
static String |
PROPERTY_BOOTSTRAP_TOPO_FILE
path/file name for topology file.
|
static String |
PROPERTY_DAEMON |
static String |
PROPERTY_DNS_SEARCH_DOMAINS
Provide list of DNS search domains.
|
static String |
PROPERTY_HOSTS_FILES
Semicolon separated list of full paths of SCION hosts files.
|
static String |
PROPERTY_NAT
Use STUN to detect external IP addresses.
|
static String |
PROPERTY_NAT_MAPPING_KEEPALIVE
Controls whether JPAN should send regular keep alive packets through the NAT to prevent losing
the mapping.
|
static String |
PROPERTY_NAT_MAPPING_TIMEOUT
Timeout (in seconds) of the NAT before we expect it to forget a mapping, i.e.
|
static String |
PROPERTY_NAT_STUN_SERVER
Define a custom SUN server, such as "192.168.0.42:3478"
|
static String |
PROPERTY_NAT_STUN_TIMEOUT_MS
Timeout for STUN requests to border routers or STUN servers.
|
static String |
PROPERTY_PATH_EXPIRY_MARGIN
Paths are refreshed when their expiry is less than X seconds away.
|
static String |
PROPERTY_RESOLVER_MINIMIZE_REQUESTS
Enable minimization of segment requests during path construction.
|
static String |
PROPERTY_SHIM
Run the SHIM (or not).
|
static String |
PROPERTY_USE_OS_SEARCH_DOMAINS
Disable usage of OS search domains for DNS lookup, e.g.
|
static int |
SCMP_PORT |
public static final int SCMP_PORT
@Deprecated public static final int DISPATCHER_PORT
public static final String PROPERTY_DAEMON
public static final String ENV_DAEMON
public static final int DEFAULT_DAEMON_PORT
public static final String DEFAULT_DAEMON
public static final String PROPERTY_BOOTSTRAP_HOST
public static final String ENV_BOOTSTRAP_HOST
public static final String PROPERTY_BOOTSTRAP_NAPTR_NAME
public static final String ENV_BOOTSTRAP_NAPTR_NAME
public static final String PROPERTY_BOOTSTRAP_TOPO_FILE
public static final String ENV_BOOTSTRAP_TOPO_FILE
public static final String PROPERTY_PATH_EXPIRY_MARGIN
public static final String ENV_PATH_EXPIRY_MARGIN
public static final String PROPERTY_HOSTS_FILES
public static final String ENV_HOSTS_FILES
public static final int DEFAULT_PATH_EXPIRY_MARGIN
public static final String PROPERTY_RESOLVER_MINIMIZE_REQUESTS
public static final String ENV_RESOLVER_MINIMIZE_REQUESTS
public static final boolean DEFAULT_RESOLVER_MINIMIZE_REQUESTS
public static final String PROPERTY_USE_OS_SEARCH_DOMAINS
public static final String ENV_USE_OS_SEARCH_DOMAINS
public static final boolean DEFAULT_USE_OS_SEARCH_DOMAINS
public static final String PROPERTY_DNS_SEARCH_DOMAINS
public static final String ENV_DNS_SEARCH_DOMAINS
public static final String PROPERTY_SHIM
public static final String ENV_SHIM
public static final String PROPERTY_NAT
Possible values:
- "OFF": No STUN discovery
- "BR": Discovery using STUN interface of border routers
- "CUSTOM": Discovery using custom STUN server. This uses public known STUN servers unless
PROPERTY_NAT_STUN_SERVER or ENV_NAT_STUN_SERVER is set.
- "AUTO": Use auto detection.
"AUTO" works as follows:
1) Check for custom STUN server and use if provided.
2) Check border routers if they support STUN (timeout = 10ms).
3) If border router responds to traceroute/ping, do not use STUN at all.
4) Try public stun server (optional: recheck with tr/ping, bail out if it fails).
public static final String ENV_NAT
public static final String DEFAULT_NAT
public static final String PROPERTY_NAT_MAPPING_TIMEOUT
public static final String ENV_NAT_MAPPING_TIMEOUT
public static final double DEFAULT_NAT_MAPPING_TIMEOUT
public static final String PROPERTY_NAT_MAPPING_KEEPALIVE
public static final String ENV_NAT_MAPPING_KEEPALIVE
public static final boolean DEFAULT_NAT_MAPPING_KEEPALIVE
public static final String PROPERTY_NAT_STUN_SERVER
public static final String ENV_NAT_STUN_SERVER
public static final String PROPERTY_NAT_STUN_TIMEOUT_MS
public static final String ENV_NAT_STUN_TIMEOUT_MS
public static final int DEFAULT_NAT_STUN_TIMEOUT_MS
Copyright © 2025. All rights reserved.