Няма описание https://github.com/Netsukuku/netsukuku
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. NAME
  2. netsukuku.conf - Netsukuku daemon configuration file
  3. SYNOPSIS
  4. /etc/netsukuku/netsukuku.conf
  5. DESCRIPTION
  6. ntkd(8) loads its options from the command line and from netsukuku.conf.
  7. The options that are changed infrequently resides in the configuration
  8. file. The netsukuku.conf file is typically installed at
  9. /etc/netsukuku/netsukuku.conf.
  10. The comments starts with a '#'. If an option is commented, ntkd will use
  11. its default value.
  12. The character '=' is used to assign a value to an option.
  13. All the options will be overridden by their command line equivalent.
  14. OPTIONS
  15. RESTRICTED MODE
  16. ntk_restricted_mode = *bool*
  17. When set to 1, ntkd will be started in restricted mode to be
  18. compatible with Internet. In the restricted mode, only IPs of the
  19. largest private subnet, i.e. 10.x.x.x are chosen.
  20. Default: *0*
  21. ntk_restricted_class = *bool*
  22. When set to 1 the IPs will be chosen from the
  23. 172.16.0.0-172.31.255.255 range (use this option only if you can't
  24. use the 10.x.x.x class).
  25. Default: *0*
  26. INTERNET CONNECTION
  27. All these Internet options requires ntk_restricted_mode set to 1.
  28. internet_connection = *bool*
  29. When set to 1, it specifies that this computer has an active
  30. Internet connection. Note that ntkd will overwrite any default route
  31. if this option is set to 0 and the shared Internet connections of
  32. other nodes are used.
  33. Default: *0*
  34. internet_gateway = *IP:interface*
  35. It specifies the default gateway used by *localhost* to reach the
  36. Internet. This option is necessary only if you don't have the
  37. default route set when you run ntkd (i.e. you haven't connected
  38. yet). If this option isn't specified, ntkd will automatically
  39. retrieve the default Internet gateway from the routing table.
  40. Example: internet_gateway = 192.168.1.1:eth0
  41. Default: *(null)*
  42. internet_download_rate = *Kb*
  43. This option is required if the internet_connection option has been
  44. set to 1. It must be set to the download rate of the Internet
  45. connection in KiloBytes. Example:
  46. internet_download_rate = 640
  47. Default: *(null)*
  48. internet_upload_rate = *Kb*
  49. This option is required if the internet_connection option has been
  50. set to 1. It must be set to the upload rate of the Internet
  51. connection in KiloBytes. Example:
  52. internet_upload_rate = 30
  53. Default: *(null)*
  54. internet_ping_hosts = *host1:host2:host3:...*
  55. Specifies a list of Internet hostnames which ntkd will ping
  56. periodically to verify the status of the Internet connection. If all
  57. the hosts specified aren't reachable, it will assume that the
  58. Internet connection isn't available anymore. When one them becoms
  59. pingable, ntkd will enable again the Internet Gateway Search.
  60. Example:
  61. internet_ping_hosts = google.com:cisco.com:sourceforge.net:dyne.org
  62. This option hasn't a default value, it must be specified in the
  63. netsukuku.conf file.
  64. share_internet = *bool*
  65. When set to 1, ntkd shares the Internet connection among all the
  66. other Netsukuku nodes.
  67. Default: *1*
  68. shape_internet = *bool*
  69. Specifies if ntkd will execute the /etc/netsukuku/tc_shaper.sh
  70. script to activate the traffic shaping of the Internet connection.
  71. Default: *0*
  72. use_shared_internet = *bool*
  73. Specifies if ntkd will load balance the Internet traffic of this
  74. host using the Inet connections shared by the Netsukuku nodes. When
  75. set to 0, localhost (this machine) uses only its local Internet
  76. connection (if any).
  77. Default: *1*
  78. ANDNA
  79. disable_andna = *bool*
  80. When set to 1, ntkd won't load the ANDNA(8) daemon. Note that when
  81. the ANDNA daemon is disabled, the andna system will not work at all,
  82. so it will be impossible to resolve, register or update hostnames.
  83. Default: *0*
  84. disable_resolvconf = *bool*
  85. When ntkd starts it modifies /etc/resolv.conf writing in the first
  86. line "nameserver 127.0.0.1". The old /etc/resolv.conf is copied in
  87. /etc/resolv.conf.bak. When the daemon is closed /etc/resolv.conf is
  88. restored. If you want to disable this set disable_resolvconf to 1.
  89. If it is disabled you won't be able to resolve hostnames!
  90. Default: *0*
  91. LIMITS
  92. Note: in the current ntkd version these limits aren't effective.
  93. ntk_max_connections = *number*
  94. How many connection the netsukuku daemons can simultaneusly handle.
  95. Default: *512*
  96. ntk_max_accepts_per_host = *number*
  97. How many simultaneusly connections to the daemons from a single host
  98. are allowed.
  99. Default: *16*
  100. max_accepts_per_host_time = *seconds*
  101. The wait time necessary for a host to reconnect to the daemons after
  102. all the ntk_max_accepts_per_host were used.
  103. Default: *4*
  104. FILES
  105. pid_file = *filename*
  106. ntkd will save its process id in this file. It is used to check if
  107. other instances of ntkd are already running. Only one instance is
  108. allowed.
  109. Default: */var/run/ntkd.pid*
  110. ntk_ext_map_file = *filename*
  111. ntk_int_map_file = *filename*
  112. ntk_bnode_map_file = *filename*
  113. Specify the paths of the maps saved by the daemon.
  114. Default: */usr/share/netsukuku/ext_map_file*
  115. Default: */usr/share/netsukuku/int_map_file*
  116. Default: */usr/share/netsukuku/bnode_map_file*
  117. andna_hnames_file = *filename*
  118. Specify the path of the file which keeps the ANDNA hostnames of the
  119. local host. These hostnames will be registerd in ANDNA.
  120. Default: */etc/netsukuku/andna_hostnames*
  121. snsd_nodes_file = *filename*
  122. The snsd_nodes_file keeps the list of the SNSD records which will be
  123. register in ANDNA.
  124. Default: */etc/netsukuku/snsd_nodes*
  125. andna_lclkey_file = *filename*
  126. Specifies the location of the *local keyring* file. In this keyring
  127. the ANDNA public and secret keys are saved. Handle this file with
  128. care: without it, you won't be able to update your hostnames, thus
  129. you'll definitely lose them.
  130. Default: */usr/share/netsukuku/andna_lcl_keyring*
  131. andna_cache_file = *filename*
  132. andna_lcl_file = *filename*
  133. andna_rhc_file = *filename*
  134. andna_counter_c_file = *filename*
  135. Specify the paths of the caches used by the ANDNA daemon.
  136. Default: */usr/share/netsukuku/andna_cache*
  137. Default: */usr/share/netsukuku/andna_lcl_cache*
  138. Default: */usr/share/netsukuku/andna_rh_cache*
  139. Default: */usr/share/netsukuku/andna_counter_cache*
  140. ip_masquerade_script = *filename*
  141. Specifies the path of the IP masquerading script. This script is
  142. launched by NetsukukuD, at its start, when it shares the Internet
  143. connection. The script will activate the IP masquerading. The script
  144. is also used to disable the IP masquerading when ntkd is closed.
  145. Default: */etc/netsukuku/ip_masquerade.sh*
  146. tc_shaper_script = *filename*
  147. Specifies the path of the traffic shaping script. This script
  148. manages the traffic shaping for the upload bandwidth. It is executed
  149. by ntkd at its start if its relative option has been enabled.
  150. Default: */etc/netsukuku/tc_shaper.sh*
  151. CONTACTS
  152. Subscribe to the netsukuku mailing to get help, be updated on the latest
  153. news and discuss on its development.
  154. To subscribe to the list, send a message to:
  155. netsukuku-subscribe@lists.dyne.org
  156. We live night and day in IRC, come to see us in: #netsukuku on the
  157. FreeNode irc server (irc.freenode.org).
  158. AUTHORS
  159. Main authors and maintainers:
  160. Andrea Lo Pumo aka AlpT <alpt@freaknet.org>
  161. Main contributors:
  162. Andrea Leofreddi <andrea.leofreddi@gmail.com>, Katolaz
  163. <katolaz@freaknet.org>, Federico Tomassini <effetom@gmail.com>
  164. For a complete list read the AUTHORS file or visit:
  165. <http://netsukuku.freaknet.org/?p=Contacts>
  166. SEE ALSO
  167. For more information about Netsukuku visit:
  168. <http://netsukuku.freaknet.org>
  169. ntkd(8), ntk-wifi(8), andna(8), iproute2(8), route(8)