=== modified file 'INSTALL_DIR/linux/etc/netsukuku/ntkd.ini' --- INSTALL_DIR/linux/etc/netsukuku/ntkd.ini 2012-02-29 11:30:18 +0000 +++ INSTALL_DIR/linux/etc/netsukuku/ntkd.ini 2013-07-12 17:39:14 +0000 @@ -1,10 +1,104 @@ +# Basic configuration for Netsukuku + [NTKD] +LOG_DIR=/var/log +LOG_FILE=netsukuku.log +LOGS_ON_SCREEN=true + +CONFIGURATION_DIR=/etc/netsukuku +DATA_DIR=/usr/share/netsukuku +STATUS_XML_DIR=/var/tmp +PID_DIR=/var/run +TMP_DIR=/tmp + +SERVNO_PATH=/etc/services +RESOLV_PATH=/etc/resolv.conf + +# PATH for basic networking utilities. This differ from OS to OS. +#IPROUTE_PATH = +#IPTABLES_PATH = +#PING_PATH = + +# This currently only supports GNU/Linux +NETWORK_IMPLEMENTATION=linux + +# Size of the RAM to be allocated as the stack of new tasklets when +# not specified by the program. Default for GNU Pth is 64 kB. One could play +# with this value if he has a device with few RAM and see if this helps, +# but beware that a low value could lead to unexpected behaviour. +THREAD_STACK_SIZE=64 # In kB + +VERBOSE_LEVEL=0 + +STATUS_XML_FILE=node_status.xml +IP_VERSION=4 + +# Dimensions +BITS_PER_LEVEL=3 +LEVELS=8 +TESTING= + +# Radar +MAX_BOUQUET=8 +MAX_NEIGHBOURS=16 +RADAR_WAIT_TIME=5 # Seconds +MULTIPATH=true + +# Specify if you want to avoid tunneling between bnodes. +DO_NOT_TUNNEL=true + +# Specify if you want to avoid migrations. Use carefully one of the following: +# MIGRATION_CAPABILITY = 1 -> I am a crucial server, try to avoid to change address +# MIGRATION_CAPABILITY = 2 -> I am used occasionally as a server, be gentle +# MIGRATION_CAPABILITY = 3 -> I am a client, I can come and go quite easily +MIGRATION_CAPABILITY = 3 + +# Replication code is experimental +ANDNA_REPLICA_ACTIVATED = true +COUNTER_REPLICA_ACTIVATED = true + +# CONFIGURATION_DIR + "snsd_nodes" +#SNSD_NODES_PATH = + +# CONFIGURATION_DIR + "local_cache" +#LOCAL_CACHE_PATH = + +# CONFIGURATION_DIR + "keys" +#KEY_PAIR_DIR = + +# KEY_PAIR_DIR + "my_key_pair" +#KEY_PAIR_PATH = + +# DATA_DIR + "andna_lcl_keyring" +#PUB_KEY_PATH = + +# Internet Sharing options (IGS) + +# NONE: do not share my Internet link, do not use others' ones (use my own if available) +# SHARE: share and use my Internet link (when available), do not use others' ones +# USE: have not an Internet link, use others' ones +# BOTH: share and use my Internet link (when available), use also others' ones +# depending on the implementations, some mode might not work +# e.g. current linux cannot use BOTH IGS_MODE=NONE -LOGS_ON_SCREEN=true + +# Only used when IGS_MODE is SHARE or BOTH (otherwise I never announce my Internet link) +# : announce only when this IP is pingable +# ALWAYS: announce always +IGS_ANNOUNCE_INTERNET = ALWAYS + +# Only used when IGS_MODE is USE or BOTH (otherwise I do not set a default path, it might +# be set by someone else in advance) +# N, with 0 < N <= MAX_IGS: try to create a tunnel with up to N inet-gateway +# and multipath to Internet through them +IGS_TUNNEL = 4 + [andnsserver] inetnameserver=8.8.8.8 + [dnswrapper] andnsserver=in-process + [libandns] andnsserver=127.0.0.1