Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/freenet6/files: gw6c.conf freenet6-6.0_beta4-no-template-validation.patch freenet6-4.2.2-noretry.patch
Date: Fri, 28 Nov 2008 15:58:16
Message-Id: E1L65jF-0007nF-2W@stork.gentoo.org
1 voyageur 08/11/28 15:58:01
2
3 Modified: gw6c.conf
4 Added: freenet6-6.0_beta4-no-template-validation.patch
5 Removed: freenet6-4.2.2-noretry.patch
6 Log:
7 Bump to 6.0 beta (connection stability fixes), ebuild cleanup thanks to Flameeyes and Alexandre Hamelin <alexandre.hamelin@×××××.com>. Closes bugs #241064 and #246577
8 (Portage version: 2.2_rc16/cvs/Linux 2.6.26-gentoo x86_64)
9
10 Revision Changes Path
11 1.2 net-misc/freenet6/files/gw6c.conf
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.conf?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.conf?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/gw6c.conf?r1=1.1&r2=1.2
16
17 Index: gw6c.conf
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/freenet6/files/gw6c.conf,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- gw6c.conf 16 Apr 2007 18:45:09 -0000 1.1
24 +++ gw6c.conf 28 Nov 2008 15:58:01 -0000 1.2
25 @@ -1,317 +1,348 @@
26 #-----------------------------------------------------------------------------
27 -# $Id: gw6c.conf,v 1.1 2007/04/16 18:45:09 voyageur Exp $
28 +# $Id: gw6c.conf,v 1.2 2008/11/28 15:58:01 voyageur Exp $
29 #-----------------------------------------------------------------------------
30
31 ########################## READ ME! ################################
32 -# Dear user, welcome to the Gateway6 Client configuration file.
33 -# In order to use the client, you have to modify the 'userid',
34 -# 'passwd' and 'server' parameters below according to one of these 3 situations:
35 +#
36 +# Welcome to the Gateway6 Client configuration file.
37 +# In order to use the client, you need to modify the 'userid', 'passwd' and
38 +# 'server' parameters below depending on which of these situations applies:
39 #
40 -# 1. If you created an account on Freenet6, enter your userid and password below.
41 -# Also change the server name to "broker.freenet6.net".
42 +# 1. If you created a Freenet6 account, enter your userid and password below.
43 +# Change the server name to "broker.freenet6.net" and auth_method to 'any'.
44 # 2. If you would like to use Freenet6 without creating an account,
45 -# do not modify anything and close this file.
46 -# 3. If this software was provided by your ISP, put the userid, password and
47 +# do not make any modifications and close this file.
48 +# 3. If this software was provided by your ISP, enter the userid, password and
49 # server name provided by your ISP below.
50 #
51
52 +
53 ########################## BASIC CONFIGURATION ################################
54 +
55 #
56 -# User Identification:
57 -# userid=anonymous|your_userid
58 -# Specify your user name and password as provided by your ISP or Freenet6.
59 -# Use anonymous if you don't have a username and leave the password field empty.
60 +# User Identification and Password:
61 +# Specify your user name and password as provided by your ISP or Freenet6.
62 +# If you plan to connect anonymously, leave these values empty.
63 +# NOTE: Change auth_method option if you are using a username/password.
64 +#
65 +# userid=<your_userid>
66 +# passwd=<your_password>
67 #
68 userid=anonymous
69 passwd=
70
71 #
72 -# Server:
73 -# Tunnel broker name or IP address (provided by your ISP or Freenet6).
74 -# An optional port number can be added, the default port number is 3653.
75 +# Gateway6 Server:
76 +# Specify a Gateway6 server name or IP address (provided by your ISP or
77 +# Freenet6). An optional port number can be added; the default port number
78 +# is 3653.
79 #
80 -# Examples:
81 -# server=hostname # FQDN
82 -# server=A.B.C.D # IPv4 address
83 -# server=[X:X::X:X] # IPv6 address
84 -# server=hostname:port_number
85 -# server=A.B.C.D:port_number
86 -# server=[X:X::X:X]:port_number
87 +# Examples:
88 +# server=hostname # FQDN
89 +# server=A.B.C.D # IPv4 address
90 +# server=[X:X::X:X] # IPv6 address
91 +# server=hostname:port_number
92 +# server=A.B.C.D:port_number
93 +# server=[X:X::X:X]:port_number
94 #
95 -# For users with accounts on Freenet6, use broker.freenet6.net otherwise anon.freenet6.net.
96 -# Your ISP may provide you with a different server name.
97 +# Freenet6 account holders should enter broker.freenet6.net, otherwise use
98 +# anon.freenet6.net. Your ISP may provide you with a different server name.
99 #
100 server=anon.freenet6.net
101 #server=broker.freenet6.net
102
103 -
104 -########################## ROUTER CONFIGURATION ###############################
105 #
106 -# Use these parameters for the client to act as a router and give IPv6
107 -# to several PCs.
108 +# Authentication Method:
109 +#
110 +# auth_method=<{anonymous}|{any|passdss-3des-1|digest-md5|plain}>
111 +#
112 +# anonymous: Sends no username or password
113 +#
114 +# any: The most secure method will be used.
115 +# passdss-3des-1: The password is sent encrypted.
116 +# digest-md5: The password is sent encrypted.
117 +# plain: Both username and password are sent as plain text.
118 +#
119 +# Recommended values:
120 +# - any: If you are authenticating a username / password.
121 +# - anonymous: If you are connecting anonymously.
122 #
123 -# Router flag:
124 -# host_type=host|router
125 -# Set this value for the client to act as a router.
126 +auth_method=anonymous
127 +#auth_method=any
128 +
129 +
130 +########################## ROUTING CONFIGURATION ##############################
131 +# Use these parameters when you wish the client to act as a router and provide
132 +# IPv6 connectivity to IPv6-capable devices on your network.
133 +
134 #
135 -# Default value: host
136 +# Local Host Type:
137 +# Change this value to 'router' to enable IPv6 advertisements.
138 #
139 -#host_type=router
140 +# host_type=<host|router>
141 +#
142 +host_type=host
143
144 #
145 -# Prefix length:
146 -# prefixlen=24|48|64
147 -# Length of the prefix length for the TSP client network.
148 -# Valid values are 64 or 48 for v6anyv4 tunnel, and 24 for v4v6 tunnel.
149 +# Prefix Length:
150 +# Length of the requested prefix. Valid values range between 0 and 64 when
151 +# using V6*V4 tunnel modes, and between 0 and 32 when using V4V6 tunnel mode.
152 #
153 -# Default value: 48
154 -# Note: Freenet6 only gives /48 prefixes.
155 +# prefixlen=<integer>
156 #
157 -prefixlen=48
158 +prefixlen=64
159
160 #
161 -# Interface prefix:
162 -# Name of the interface that will be configured to send router advertisements.
163 -# This is an interface index on Windows (for example 4) and a name on Linux and
164 -# BSD, for example eth1 or fxp1.
165 +# Advertisement Interface Prefix:
166 +# Name of the interface that will be configured to send router advertisements.
167 +# This is an interface index on Windows (ex: 4) and a name on Linux
168 +# and BSD (ex: eth1 or fxp1).
169 +#
170 +# if_prefix=<interface name>
171 #
172 -#if_prefix=
173 +if_prefix=
174
175 #
176 # DNS Server:
177 -# Specify a local DNS server to which will be delegated the reverse prefix.
178 +# A DNS server list to which the reverse prefix will be delegated. Servers
179 +# are separated by the colon(:) delimiter.
180 #
181 -# Example: dns_server=mydnsserver.domain
182 +# Example: dns_server=ns1.domain:ns2.domain:ns3.domain
183 #
184 -#dns_server=
185 +dns_server=
186 +
187
188 ######################### ADVANCED CONFIGURATION ##############################
189 +
190 #
191 -# Gateway6 directory:
192 -# Install directory for the Gateway6 Client. Do not modify.
193 +# Gateway6 Client Installation Directory:
194 +# Directory where the Gateway6 Client will be installed. This value has been
195 +# set during installation.
196 #
197 gw6_dir=/etc/freenet6
198
199 #
200 -# Authentication method:
201 -# auth_method=any|digest-md5|anonymous|plain
202 -# any: The most secure method will be used.
203 -# digest-md5: The password is sent encrypted.
204 -# plain: Both username and password in clear.
205 -# anonymous: Sends no username or password
206 +# Auto-Retry Connect, Retry Delay and Max Retry Delay:
207 +# When auto_retry_connect=yes, the Gateway6 Client will attempt to reconnect
208 +# after a disconnection occurred. The time to wait is 'retry_delay' and that
209 +# delay is doubled at every 3 failed consecutive reconnection attempt.
210 +# However, the wait delay will never exceed retry_delay_max.
211 #
212 -# Recommended value: any
213 -#
214 -auth_method=any
215 -
216 #
217 -# Retry delay:
218 -# Time in seconds between each reconnection in case of timeout (0 = no retry).
219 +# auto_retry_connect=<yes|no>
220 +# retry_delay=<integer: 0..3600>
221 +# retry_delay_max=<integer: 0..3600>
222 #
223 -# Recommended value: 30 seconds
224 +# Recommended values: "yes", 30, 300
225 #
226 -retry_delay=0
227 +auto_retry_connect=yes
228 +retry_delay=30
229 +retry_delay_max=300
230
231 #
232 -# Keepalive interval:
233 -# Indicates how often the client will send data to keep the tunnel active.
234 +# Keepalive Feature and Message Interval:
235 +# Indicates if and how often the client will send data to keep the tunnel
236 +# active.
237 #
238 -# Recommended values: "yes" and 30 seconds
239 +# keepalive=<yes|no>
240 +# keepalive_interval=<integer>
241 +#
242 +# Recommended values: "yes" and 30
243 #
244 keepalive=yes
245 keepalive_interval=30
246
247 #
248 -# Tunnel encapsulation mode:
249 -# v6v4: IPv6 in IPv4 tunnel.
250 -# v6udpv4: IPv6 in UDP in IPv4 tunnel (for clients behind a NAT).
251 -# v6anyv4: Let the broker choose the best mode for IPv6 tunnel.
252 -# v4v6: IPv4 in IPv6 tunnel.
253 -
254 +# Tunnel Encapsulation Mode:
255 +# v6v4: IPv6-in-IPv4 tunnel.
256 +# v6udpv4: IPv6-in-UDP-in-IPv4 tunnel (for clients behind a NAT).
257 +# v6anyv4: Lets the broker choose the best mode for IPv6 tunnel.
258 +# v4v6: IPv4-in-IPv6 tunnel.
259 #
260 -# Recommended value: v6anyv4
261 +# Recommended value: v6anyv4
262 #
263 tunnel_mode=v6anyv4
264
265 #
266 -# Tunnel enterface name:
267 -# Interface name of the tunnel. This value us is OS dependent.
268 +# Tunnel Interface Name:
269 +# The interface name assigned to the tunnel. This value is O/S dependent.
270 +#
271 +# if_tunnel_v6v4 is the tunnel interface name for v6v4 encapsulation mode
272 +# if_tunnel_v6udpv4 is the tunnel interface name for v6udpv4 encapsulate mode
273 +# if_tunnel_v4v6 is the tunnel interface name for v4v6 encapsulation mode
274 #
275 -# if_tunnel_v6v4 is the tunnel interface name for the v6v4 encapsulation mode
276 -# if_tunnel_v6udpv4 is the tunnel interface name for the v6udpv4 encap mode
277 -# if_tunnel_v4v6 is the tunnel interface naem for the v4v6 encapsulation mode
278 +# Default values are set during installation.
279 #
280 if_tunnel_v6v4=sit1
281 if_tunnel_v6udpv4=tun
282 if_tunnel_v4v6=sit0
283
284 #
285 -# IP addresses of the client:
286 -# client_v4=auto|A.B.C.D (valid ipv4 address)
287 -# client_v6=auto|X:X::X:X (valid ipv6 address)
288 -# auto: Gateway6 Client will find the ip address
289 +# Local IP Address of the Client:
290 +# Allows you to set a specific address as the local tunnel endpoint.
291 #
292 -# Recommended value: auto
293 +# client_v4=<auto|A.B.C.D (valid ipv4 address)>
294 +# client_v6=<auto|X:X::X:X (valid ipv6 address)>
295 +# auto: The Gateway6 Client will find the local IP address endpoint.
296 +#
297 +# Recommended value: auto
298 #
299 client_v4=auto
300 client_v6=auto
301
302 #
303 -# Name of the script:
304 -# template=checktunnel|freebsd|netbsd|linux|windows|darwin|cisco|
305 -# openbsd
306 -#
307 -# File name of the script to run to install the tunnel interface.
308 -# The scripts are located in the template directory under the client
309 -# installation directory.
310 +# Script Name:
311 +# File name of the script to run to install the tunnel interface. The
312 +# scripts are located in the template directory under the client
313 +# installation directory.
314 +#
315 +# template=<checktunnel|freebsd|netbsd|openbsd|linux|windows|darwin|cisco|solaris>
316 #
317 -# Default value: windows.bat or linux.sh for example.
318 +# Default value is set during installation.
319 #
320 template=linux
321
322 #
323 # Proxy client:
324 -# Indicates this client requests a tunnel for another endpoint,
325 -# a Cisco router for example.
326 +# Indicates that this client will request a tunnel for another endpoint,
327 +# such as a Cisco router.
328 #
329 -# Note: NAT traversal is not possible in proxy mode.
330 +# proxy_client=<yes|no>
331 +#
332 +# NOTE: NAT traversal is not possible in proxy mode.
333 #
334 proxy_client=no
335
336
337 -# Broker Redirection
338 -# The 'broker_list' directive specifies the name of the file
339 -# where a broker list received during broker redirection will
340 -# be saved.
341 +############################ BROKER REDIRECTION ###############################
342 +
343 #
344 -# Default value: tsp-broker-list.txt
345 +# Broker List File Name:
346 +# The 'broker_list' directive specifies the filename where the broker
347 +# list received during broker redirection will be saved.
348 +#
349 +# broker_list=<file_name>
350 #
351 -#broker_list=
352 +broker_list=/var/lib/freenet6/tsp-broker-list.txt
353 +
354 #
355 -# The 'last_server' directive specifies the name of the file
356 -# where the address of the last broker to which a connection
357 -# was successfully established will be saved.
358 +# Last Server Used File Name:
359 +# The 'last_server' directive specifies the filename where the address of
360 +# the last broker to which a connection was successfully established will
361 +# be saved.
362 #
363 -# Default value: tsp-last-server.txt
364 +# last_server=<file_name>
365 #
366 -#last_server=
367 +last_server=/var/lib/freenet6/tsp-last-server.txt
368 +
369 #
370 -# The value of the 'always_use_same_server' directive determines
371 -# if the client should always try to connect to the broker
372 -# specified with the 'last_server' directive (if any).
373 +# Always Use Last Known Working Server:
374 +# The value of the 'always_use_same_server' directive determines whether the
375 +# client should always try to connect to the broker found in the
376 +# 'last_server' directive filename.
377 #
378 -# Default value: no
379 +# always_use_same_server=<yes|no>
380 #
381 -#always_use_same_server=
382 +always_use_same_server=no
383
384
385 +#################################### LOGGING ##################################
386
387 #
388 -# Log destinations:
389 -# The format is 'log=destination;level', where
390 -# possible values of 'destination' are:
391 -#
392 -# console (logging to the console)
393 -# stderr (logging to standard error)
394 -# file (logging to a file)
395 -# syslog (logging to syslog [Unix only])
396 -#
397 -# and 'level' is a digit between 0 and 3. A 'level'
398 -# value of 0 disables logging to the destination,
399 -# while values 1 to 3 request increasing levels of log
400 -# verbosity.
401 +# Log Verbosity Configuration:
402 +# The format is 'log_<destination>=level', where possible values for
403 +# 'destination' are:
404 #
405 -# Multiple 'log' directives may be specified.
406 +# - console (logging to the console [AKA stdout])
407 +# - stderr (logging to standard error)
408 +# - file (logging to a file)
409 +# - syslog (logging to syslog [Unix only])
410 #
411 -# Examples
412 -# log=file;3 (Maximal logging to a file)
413 -# log=stderr;0 (Logging to stdandard error disabled)
414 -# log=console (Minimal logging to the console)
415 +# and 'level' is a digit between 0 and 3. A 'level' value of 0 disables
416 +# logging to the destination, while values 1 to 3 request increasing levels
417 +# of log verbosity and detail. If 'level' is not specified, a value of 1 is
418 +# assumed.
419 #
420 -# If 'level' is not specified, a value of 1 is assumed.
421 -# In this case, the semicolon should be left out.
422 +# Example:
423 +# log_file=3 (Maximal logging to a file)
424 +# log_stderr=0 (Logging to standard error disabled)
425 +# log_console= (Minimal logging to the console)
426 #
427 -# If no 'log' directive is specified at all, the
428 -# following will apply:
429 +# - Default configuration on Windows platforms:
430 #
431 -# On Windows platforms:
432 +# log_console=0
433 +# log_stderr=0
434 +# log_file=1
435 #
436 -# log=console;0
437 -# log=stderr;0
438 -# log=file;1
439 +# - Default configuration on Unix platforms:
440 #
441 -# On Unix platforms:
442 +# log_console=0
443 +# log_stderr=1
444 +# log_file=0
445 +# log_syslog=0
446 #
447 -# log=console;0
448 -# log=stderr;1
449 -# log=file;0
450 -# log=syslog;0
451 -#
452 -#log=
453 +#log_console=
454 +#log_stderr=
455 +log_file=2
456 +log_syslog=1
457
458 #
459 -# Log file name:
460 -# When logging to file is requested using the 'log'
461 -# directive, the name and path of the file to use
462 -# may be specified using the 'log_filename' directive.
463 +# Log File Name:
464 +# When logging to file is requested using the 'log_file' directive, the name
465 +# and path of the file to use may be specified using this directive.
466 #
467 -# Default value: gw6c.log
468 +# log_filename=<file_name>
469 #
470 -#log_filename=
471 +log_filename=/var/log/gw6c.log
472
473 #
474 -# Log file rotation:
475 -# When logging to file is requested using the 'log'
476 -# directive, log file rotation may be enabled using
477 -# the 'log_rotation' directive.
478 -#
479 -# When enabled, the contents of the log file will be
480 -# moved to a backup file just before it reaches the
481 -# maximal log file size specified via the 'log_rotation_size'
482 -# directive.
483 +# Log File Rotation:
484 +# When logging to file is requested using the 'log_file' directive, log file
485 +# rotation may be enabled. When enabled, the contents of the log file will
486 +# be moved to a backup file just before it reaches the maximum log file size
487 +# specified via this directive.
488 #
489 -# The name of the backup file is the name of the original
490 -# log file with '.<timestamp>' inserted before the file
491 -# extension. If the file does not have an extension,
492 -# '.<timestamp>' is appended to the name of the original
493 -# log file. The timestamp specifies when the rotation
494 -# occured.
495 +# The name of the backup file is the name of the original log file with
496 +# '.<timestamp>' inserted before the file extension. If the file does not
497 +# have an extension, '.<timestamp>' is appended to the name of the original
498 +# log file. The timestamp specifies when the rotation occurred.
499 #
500 -# After the contents of the log file have been moved
501 -# to the backup file, the original file is cleared, and
502 -# logging resumes at the beginning of the file.
503 +# After the contents of the log file have been moved to the backup file, the
504 +# original file is cleared, and logging resumes at the beginning of the file.
505 #
506 -# Default value: yes
507 +# log_rotation=<yes|no>
508 #
509 -#log_rotation=no
510 +log_rotation=yes
511
512 #
513 -# Log file rotation size:
514 -# The 'log_rotation_size' directive specifies the
515 -# maximal size a log file may reach before rotation
516 -# occurs if it is enabled via the 'log_rotation' directive.
517 +# Log File Rotation Size:
518 +# The 'log_rotation_size' directive specifies the maximum size a log file may
519 +# reach before rotation occurs, if enabled. The value is expressed in
520 +# kilobytes.
521 #
522 -# The value is expressed in kilobytes.
523 +# log_rotation_size=<16|32|128|1024>
524 #
525 -# Minimal value: 16
526 -# Maximal value: 10240
527 -# Default value: 32
528 -#
529 -#log_rotation_size=
530 +log_rotation_size=32
531
532 #
533 -# Syslog logging facility [Unix only]:
534 +# Deletion of rotated log files:
535 +# The 'log_rotation_delete' directive specifies that no log backup will be
536 +# kept. When rotation occurs, the file is immediately wiped out and a new
537 +# log file is started.
538 +#
539 +# log_rotation_delete=<yes|no>
540 #
541 -# When logging to syslog is requested using the 'log'
542 -# directive, the facility to use may be specified using
543 -# the 'syslog_facility' directive.
544 +log_rotation_delete=no
545 +
546 #
547 -# Valid values: USER, LOCAL[0-7]
548 +# Syslog Logging Facility [Unix Only]:
549 +# When logging to syslog is requested using the 'log_syslog' directive, the
550 +# facility to use may be specified using this directive.
551 #
552 -# Default value: USER
553 +# syslog_facility=<USER|LOCAL[0-7]>
554 #
555 -#syslog_facility=
556 +syslog_facility=USER
557
558
559 # end of gw6c.conf
560 -#-----------------------------------------------------------------------------
561 +#------------------------------------------------------------------------------
562
563
564
565 1.1 net-misc/freenet6/files/freenet6-6.0_beta4-no-template-validation.patch
566
567 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/freenet6-6.0_beta4-no-template-validation.patch?rev=1.1&view=markup
568 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/files/freenet6-6.0_beta4-no-template-validation.patch?rev=1.1&content-type=text/plain
569
570 Index: freenet6-6.0_beta4-no-template-validation.patch
571 ===================================================================
572 --- gw6c-6_0-BETA4/gw6c-config/src/gw6cconfig.cc.orig 2008-02-04 11:48:09.000000000 -0500
573 +++ gw6c-6_0-BETA4/gw6c-config/src/gw6cconfig.cc 2008-11-12 23:52:57.000000000 -0500
574 @@ -410,7 +410,7 @@
575 VALIDATE_LOGERRMSG( IfTunV4V6, CFG_STR_IFTUNV4V6 );
576 VALIDATE_LOGERRMSG( ClientV4, CFG_STR_CLIENTV4 );
577 VALIDATE_LOGERRMSG( ClientV6, CFG_STR_CLIENTV6 );
578 - VALIDATE_LOGERRMSG( Template, CFG_STR_TEMPLATE );
579 +//VALIDATE_LOGERRMSG( Template, CFG_STR_TEMPLATE );
580 VALIDATE_LOGERRMSG( ProxyClient, CFG_STR_PROXYCLIENT );
581 VALIDATE_LOGERRMSG( BrokerLstFile, CFG_STR_BROKERLIST );
582 VALIDATE_LOGERRMSG( LastServFile, CFG_STR_LASTSERVER );