Guest User

Untitled

a guest
Nov 2nd, 2011
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.30 KB | None | 0 0
  1. #-----------------------------------------------------------------------------
  2. # $Id: gogoc.conf.in,v 1.1 2009/11/20 16:53:12 jasminko Exp $
  3. #-----------------------------------------------------------------------------
  4.  
  5. ########################## READ ME! ################################
  6. #
  7. # Welcome to the gogoCLIENT configuration file.
  8. # In order to use the client, you need to modify the 'userid', 'passwd' and
  9. # 'server' parameters below depending on which of these situations applies:
  10. #
  11. # 1. If you created a Freenet6 account, enter your userid and password below.
  12. # Change the server name to "broker.freenet6.net" and auth_method to 'any'.
  13. # 2. If you would like to use Freenet6 without creating an account,
  14. # do not make any modifications and close this file.
  15. # 3. If this software was provided by your ISP, enter the userid, password and
  16. # server name provided by your ISP below.
  17. #
  18.  
  19.  
  20. ########################## BASIC CONFIGURATION ################################
  21.  
  22. #
  23. # User Identification and Password:
  24. # Specify your user name and password as provided by your ISP or Freenet6.
  25. # If you plan to connect anonymously, leave these values empty.
  26. # NOTE: Change auth_method option if you are using a username/password.
  27. #
  28. # userid=<your_userid>
  29. # passwd=<your_password>
  30. #
  31. userid=XXXXXX
  32. passwd=*****************
  33.  
  34. #
  35. # gogoSERVER:
  36. # Specify a gogoSERVER name or IP address (provided by your ISP or
  37. # Freenet6). An optional port number can be added; the default port number
  38. # is 3653.
  39. #
  40. # Examples:
  41. # server=hostname # FQDN
  42. # server=A.B.C.D # IPv4 address
  43. # server=[X:X::X:X] # IPv6 address
  44. # server=hostname:port_number
  45. # server=A.B.C.D:port_number
  46. # server=[X:X::X:X]:port_number
  47. #
  48. # Freenet6 account holders should enter authenticated.freenet6.net,
  49. # otherwise use anonymous.freenet6.net.
  50. # Your ISP may provide you with a different server name.
  51. #
  52. #server=anonymous.freenet6.net
  53. server=authenticated.freenet6.net
  54.  
  55. #
  56. # Authentication Method:
  57. #
  58. # auth_method=<{anonymous}|{any|passdss-3des-1|digest-md5|plain}>
  59. #
  60. # anonymous: Sends no username or password
  61. #
  62. # any: The most secure method will be used.
  63. # passdss-3des-1: The password is sent encrypted.
  64. # digest-md5: The password is sent encrypted.
  65. # plain: Both username and password are sent as plain text.
  66. #
  67. # Recommended values:
  68. # - any: If you are authenticating a username / password.
  69. # - anonymous: If you are connecting anonymously.
  70. #
  71. #auth_method=anonymous
  72. auth_method=digest-md5
  73.  
  74.  
  75. ########################## ROUTING CONFIGURATION ##############################
  76. # Use these parameters when you wish the client to act as a router and provide
  77. # IPv6 connectivity to IPv6-capable devices on your network.
  78.  
  79. #
  80. # Local Host Type:
  81. # Change this value to 'router' to enable IPv6 advertisements.
  82. #
  83. # host_type=<host|router>
  84. #
  85. host_type=router
  86.  
  87. #
  88. # Prefix Length:
  89. # Length of the requested prefix. Valid values range between 0 and 64 when
  90. # using V6*V4 tunnel modes, and between 0 and 32 when using V4V6 tunnel mode.
  91. #
  92. # prefixlen=<integer>
  93. #
  94. prefixlen=64
  95.  
  96. #
  97. # Advertisement Interface Prefix:
  98. # Name of the interface that will be configured to send router advertisements.
  99. # This is an interface index on Windows (ex: 4) and a name on Linux
  100. # and BSD (ex: eth1 or fxp1).
  101. #
  102. # if_prefix=<interface name>
  103. #
  104. if_prefix=br0
  105.  
  106. #
  107. # DNS Server:
  108. # A DNS server list to which the reverse prefix will be delegated. Servers
  109. # are separated by the colon(:) delimiter.
  110. #
  111. # Example: dns_server=ns1.domain:ns2.domain:ns3.domain
  112. #
  113. dns_server=
  114.  
  115.  
  116. ######################### ADVANCED CONFIGURATION ##############################
  117.  
  118. #
  119. # gogoCLIENT Installation Directory:
  120. # Directory where the gogoCLIENT will be installed. This value has been
  121. # set during installation.
  122. #
  123. gogoc_dir=
  124.  
  125. #
  126. # Auto-Retry Connect, Retry Delay and Max Retry Delay:
  127. # When auto_retry_connect=yes, the gogoCLIENT will attempt to reconnect
  128. # after a disconnection occurred. The time to wait is 'retry_delay' and that
  129. # delay is doubled at every 3 failed consecutive reconnection attempt.
  130. # However, the wait delay will never exceed retry_delay_max.
  131. #
  132. #
  133. # auto_retry_connect=<yes|no>
  134. # retry_delay=<integer: 0..3600>
  135. # retry_delay_max=<integer: 0..3600>
  136. #
  137. # Recommended values: "yes", 30, 300
  138. #
  139. auto_retry_connect=yes
  140. retry_delay=30
  141. retry_delay_max=300
  142.  
  143. #
  144. # Keepalive Feature and Message Interval:
  145. # Indicates if and how often the client will send data to keep the tunnel
  146. # active.
  147. #
  148. # keepalive=<yes|no>
  149. # keepalive_interval=<integer>
  150. #
  151. # Recommended values: "yes" and 30
  152. #
  153. keepalive=yes
  154. keepalive_interval=30
  155.  
  156. #
  157. # Tunnel Encapsulation Mode:
  158. # v6v4: IPv6-in-IPv4 tunnel.
  159. # v6udpv4: IPv6-in-UDP-in-IPv4 tunnel (for clients behind a NAT).
  160. # v6anyv4: Lets the broker choose the best mode for IPv6 tunnel.
  161. # v4v6: IPv4-in-IPv6 tunnel.
  162. #
  163. # Recommended value: v6anyv4
  164. #
  165. tunnel_mode=v6anyv4
  166.  
  167. #
  168. # Tunnel Interface Name:
  169. # The interface name assigned to the tunnel. This value is O/S dependent.
  170. #
  171. # if_tunnel_v6v4 is the tunnel interface name for v6v4 encapsulation mode
  172. # if_tunnel_v6udpv4 is the tunnel interface name for v6udpv4 encapsulate mode
  173. # if_tunnel_v4v6 is the tunnel interface name for v4v6 encapsulation mode
  174. #
  175. # Default values are set during installation.
  176. #
  177. if_tunnel_v6v4=sit1
  178. if_tunnel_v6udpv4=tun
  179. if_tunnel_v4v6=sit0
  180.  
  181. #
  182. # Local IP Address of the Client:
  183. # Allows you to set a specific address as the local tunnel endpoint.
  184. #
  185. # client_v4=<auto|A.B.C.D (valid ipv4 address)>
  186. # client_v6=<auto|X:X::X:X (valid ipv6 address)>
  187. # auto: The gogoCLIENT will find the local IP address endpoint.
  188. #
  189. # Recommended value: auto
  190. #
  191. client_v4=auto
  192. client_v6=auto
  193.  
  194. #
  195. # Script Name:
  196. # File name of the script to run to install the tunnel interface. The
  197. # scripts are located in the template directory under the client
  198. # installation directory.
  199. #
  200. # template=<checktunnel|freebsd|netbsd|openbsd|linux|windows|darwin|cisco|solaris>
  201. #
  202. # Default value is set during installation.
  203. #
  204. template=linux
  205.  
  206. #
  207. # Proxy client:
  208. # Indicates that this client will request a tunnel for another endpoint,
  209. # such as a Cisco router.
  210. #
  211. # proxy_client=<yes|no>
  212. #
  213. # NOTE: NAT traversal is not possible in proxy mode.
  214. #
  215. proxy_client=no
  216.  
  217.  
  218. ############################ BROKER REDIRECTION ###############################
  219.  
  220. #
  221. # Broker List File Name:
  222. # The 'broker_list' directive specifies the filename where the broker
  223. # list received during broker redirection will be saved.
  224. #
  225. # broker_list=<file_name>
  226. #
  227. broker_list=/var/lib/gogoc/tsp-broker-list.txt
  228.  
  229. #
  230. # Last Server Used File Name:
  231. # The 'last_server' directive specifies the filename where the address of
  232. # the last broker to which a connection was successfully established will
  233. # be saved.
  234. #
  235. # last_server=<file_name>
  236. #
  237. last_server=/var/lib/gogoc/tsp-last-server.txt
  238.  
  239. #
  240. # Always Use Last Known Working Server:
  241. # The value of the 'always_use_same_server' directive determines whether the
  242. # client should always try to connect to the broker found in the
  243. # 'last_server' directive filename.
  244. #
  245. # always_use_same_server=<yes|no>
  246. #
  247. always_use_same_server=no
  248.  
  249.  
  250. #################################### LOGGING ##################################
  251.  
  252. #
  253. # Log Verbosity Configuration:
  254. # The format is 'log_<destination>=level', where possible values for
  255. # 'destination' are:
  256. #
  257. # - console (logging to the console [AKA stdout])
  258. # - stderr (logging to standard error)
  259. # - file (logging to a file)
  260. # - syslog (logging to syslog [Unix only])
  261. #
  262. # and 'level' is a digit between 0 and 3. A 'level' value of 0 disables
  263. # logging to the destination, while values 1 to 3 request increasing levels
  264. # of log verbosity and detail. If 'level' is not specified, a value of 1 is
  265. # assumed.
  266. #
  267. # Example:
  268. # log_file=3 (Maximal logging to a file)
  269. # log_stderr=0 (Logging to standard error disabled)
  270. # log_console= (Minimal logging to the console)
  271. #
  272. # - Default configuration on Windows platforms:
  273. #
  274. # log_console=0
  275. # log_stderr=0
  276. # log_file=1
  277. #
  278. # - Default configuration on Unix platforms:
  279. #
  280. # log_console=0
  281. # log_stderr=1
  282. # log_file=0
  283. # log_syslog=0
  284. #
  285. #log_console=
  286. log_stderr=0
  287. #log_file=
  288. #log_syslog=
  289.  
  290. #
  291. # Log File Name:
  292. # When logging to file is requested using the 'log_file' directive, the name
  293. # and path of the file to use may be specified using this directive.
  294. #
  295. # log_filename=<file_name>
  296. #
  297. log_filename=/var/log/gogoc/gogoc.log
  298.  
  299. #
  300. # Log File Rotation:
  301. # When logging to file is requested using the 'log_file' directive, log file
  302. # rotation may be enabled. When enabled, the contents of the log file will
  303. # be moved to a backup file just before it reaches the maximum log file size
  304. # specified via this directive.
  305. #
  306. # The name of the backup file is the name of the original log file with
  307. # '.<timestamp>' inserted before the file extension. If the file does not
  308. # have an extension, '.<timestamp>' is appended to the name of the original
  309. # log file. The timestamp specifies when the rotation occurred.
  310. #
  311. # After the contents of the log file have been moved to the backup file, the
  312. # original file is cleared, and logging resumes at the beginning of the file.
  313. #
  314. # log_rotation=<yes|no>
  315. #
  316. log_rotation=yes
  317.  
  318. #
  319. # Log File Rotation Size:
  320. # The 'log_rotation_size' directive specifies the maximum size a log file may
  321. # reach before rotation occurs, if enabled. The value is expressed in
  322. # kilobytes.
  323. #
  324. # log_rotation_size=<16|32|128|1024>
  325. #
  326. log_rotation_size=32
  327.  
  328. #
  329. # Deletion of rotated log files:
  330. # The 'log_rotation_delete' directive specifies that no log backup will be
  331. # kept. When rotation occurs, the file is immediately wiped out and a new
  332. # log file is started.
  333. #
  334. # log_rotation_delete=<yes|no>
  335. #
  336. log_rotation_delete=no
  337.  
  338. #
  339. # Syslog Logging Facility [Unix Only]:
  340. # When logging to syslog is requested using the 'log_syslog' directive, the
  341. # facility to use may be specified using this directive.
  342. #
  343. # syslog_facility=<USER|LOCAL[0-7]>
  344. #
  345. syslog_facility=USER
  346.  
  347.  
  348. # end of gogoc.conf
  349.  
Advertisement
Add Comment
Please, Sign In to add comment