Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ntk_scons.conf.in 5.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. #
  2. # NetsukukuD %(VERSION)s
  3. #
  4. #
  5. # The comments starts with a '#'.
  6. # To use a default option leave its line commented.
  7. # Use always the '=' to assign a value.
  8. #
  9. # Note: the options will be overridden by their command line equivalent.
  10. #
  11. # Options index:
  12. #
  13. # ## Restricted mode
  14. # - ntk_restricted_mode
  15. # - ntk_restricted_class
  16. # ## Internet connection
  17. # - internet_connection
  18. # - internet_gateway
  19. # - internet_download_rate
  20. # - internet_upload_rate
  21. # - internet_ping_hosts
  22. # - share_internet
  23. # - shape_internet
  24. # - use_shared_internet
  25. # ## ANDNA
  26. # - disable_andna
  27. # - disable_resolvconf
  28. # ## Limits
  29. # - ntk_max_connections
  30. # - ntk_max_accepts_per_host
  31. # - max_accepts_per_host_time
  32. # ## Files
  33. # - pid_file
  34. # - ntk_ext_map_file
  35. # - ntk_int_map_file
  36. # - ntk_bnode_map_file
  37. # - andna_hnames_file
  38. # - snsd_nodes_file
  39. # - andna_cache_file
  40. # - andna_lclkey_file
  41. # - andna_lcl_file
  42. # - andna_rhc_file
  43. # - andna_counter_c_file
  44. # - ip_masquerade_script
  45. # - tc_shaper_script
  46. #
  47. ##
  48. #### Restricted mode
  49. ##
  50. #
  51. # If the `ntk_restricted_mode' option is set to 1, NetsukukuD will be started
  52. # in restricted mode to be compatible with Internet. In the restricted mode,
  53. # only IPs of the largest private subnet (i.e. 10.x.x.x) are chosen.
  54. #
  55. # If `ntk_restricted_class' is set to 1 the IPs will be chosen from the
  56. # 172.16.0.0-172.31.255.255 range (use this option only if you can't use the
  57. # 10.x.x.x class).
  58. #
  59. #ntk_restricted_mode = 0
  60. #ntk_restricted_class = 0
  61. ##
  62. #### Internet connection
  63. ##
  64. #
  65. # * * If you have an Internet connection please fill this options. * *
  66. #
  67. # We are assuming that you are running in restricted mode since you want to
  68. # be both in Netsukuku and Internet. So, if you have an internet connection
  69. # set `internet_connection' to 1. Note that ntkd will overwrite any default
  70. # route if this option is set to 0 and the shared Internet connections of
  71. # other nodes are used.
  72. #
  73. # Set the `internet_gateway' option to the IP of the gateway you use to reach
  74. # the Internet and specify the network interface too, for example:
  75. # "internet_gateway = 192.168.1.1:eth0". This option is necessary only if you
  76. # don't have the default route set when you run NetsukukuD (i.e. you haven't
  77. # connected yet), otherwise, leave it commented.
  78. #
  79. # You have also to set your upload and download bandwidth in
  80. # `internet_upload_rate' and `internet_download_rate'. It is expressed in Kb/s,
  81. # so if you have a line which maximum can do: 640 Kb/s in dwload and 30 Kb/s in
  82. # upload, set them to 640 and 30.
  83. #
  84. # `internet_ping_hosts' is a list of Internet hosts which will be pinged to
  85. # verify if the connection is alive, you can use the default hosts.
  86. #
  87. # If you want to share your Internet connection among other Netsukuku nodes,
  88. # set `share_internet' to 1.
  89. #
  90. # Set `shape_internet' to 1 if you want to shape your outgoing
  91. # Internet traffic.
  92. #
  93. # `use_shared_internet' specifies if you want to use the Internet connections
  94. # shared by the Netsukuku nodes. Set it to 0, if you want to rely only on your
  95. # connection (if any).
  96. #
  97. #internet_connection = 1
  98. #internet_gateway = 192.168.1.1:eth0
  99. internet_download_rate = 640
  100. internet_upload_rate = 30
  101. internet_ping_hosts = google.com:cisco.com:sourceforge.net:dyne.org
  102. #share_internet = 1
  103. #shape_internet = 1
  104. #use_shared_internet = 1
  105. ##
  106. #### ANDNA
  107. ##
  108. #
  109. # To disable the start of the ANDNA daemon at the launch of ntkd, set
  110. # this option to 1. Note that when the ANDNA daemon is disabled, the andna
  111. # system will not work at all, so it will be impossible to resolve, register
  112. # or update hostnames.
  113. #
  114. #disable_andna = 0
  115. #
  116. # When NetsukukuD starts it modifies /etc/resolv.conf writing in the first
  117. # line "nameserver 127.0.0.1". The old /etc/resolv.conf is copied in
  118. # /etc/resolv.conf.bak. When the daemon is closed /etc/resolv.conf is
  119. # restored. If you want to disable this set disable_resolvconf to 1.
  120. # If it is disabled you won't be able to resolve hostnames!
  121. #
  122. #disable_resolvconf = 0
  123. ##
  124. #### Limits
  125. ##
  126. #
  127. # How many connection the netsukuku daemons can simultaneusly handle.
  128. #
  129. #ntk_max_connections = 512
  130. # How many simultaneusly connections to the daemons from a single host are
  131. # allowed.
  132. #ntk_max_accepts_per_host = 16
  133. # The wait time necessary for a host to reconnect to the daemons after all the
  134. # ntk_max_accepts_per_host were used.
  135. #
  136. #max_accepts_per_host_time = 4 #in seconds
  137. ##
  138. #### Files
  139. ##
  140. #
  141. # ntkd will save its process id in this file
  142. #
  143. #pid_file = %(PID_DIR)s/ntkd.pid
  144. #
  145. # The paths of the Netsukuku maps saved by the daemon
  146. #
  147. #ntk_ext_map_file = %(DATA_DIR)s/ext_map_file
  148. #ntk_int_map_file = %(DATA_DIR)s/int_map_file
  149. #ntk_bnode_map_file = %(DATA_DIR)s/bnode_map_file
  150. #
  151. # The hostnames that will be registered in ANDNA are kept, one per line, in
  152. # this file.
  153. #
  154. #andna_hnames_file = %(CONF_DIR)s/andna_hostnames
  155. #
  156. # The snsd_nodes_file keeps the list of the SNSD records which will be
  157. # register in ANDNA.
  158. #
  159. #snsd_nodes_file = %(CONF_DIR)s/snsd_nodes
  160. #
  161. # Caches used by the ANDNA daemon
  162. #
  163. #andna_cache_file = %(DATA_DIR)s/andna_cache
  164. #andna_lclkey_file = %(DATA_DIR)s/andna_lcl_keyring
  165. #andna_lcl_file = %(DATA_DIR)s/andna_lcl_cache
  166. #andna_rhc_file = %(DATA_DIR)s/andna_rh_cache
  167. #andna_counter_c_file = %(DATA_DIR)s/andna_counter_cache
  168. #
  169. # The script launched by NetsukukuD to share the Internet connection
  170. #
  171. #ip_masquerade_script = %(CONF_DIR)s/ip_masquerade.sh
  172. #
  173. # The script launched by NetsukukuD to shape the Internet connection
  174. #
  175. #tc_shaper_script = %(CONF_DIR)s/tc_shaper.sh