maemo: Added Maemo specific patches for strongswan.conf.

This commit is contained in:
Tobias Brunner 2011-02-04 18:00:18 +01:00
parent 443cd2d95f
commit ea4feb0248
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,25 @@
Adding maemo specific logger config (as there is no syslog daemon by default).
--- a/src/strongswan.conf
+++ b/src/strongswan.conf
@@ -5,6 +5,21 @@
retransmit_timeout = 3.0
retransmit_base = 1.4
+ # maemo specific logging
+ filelog {
+ /var/log/charon.log {
+ time_format = %b %e %T
+ append = no
+ default = 1
+ flush_line = yes
+ }
+ }
+ # there is no syslog daemon installed by default
+ syslog {
+ daemon {
+ }
+ }
+
# number of worker threads in charon
threads = 16

View File

@ -0,0 +1,2 @@
shorter-timeout.patch
configure-logging.patch

View File

@ -0,0 +1,13 @@
Make timeouts shorter which is more appropriate for client only use.
--- a/src/strongswan.conf
+++ b/src/strongswan.conf
@@ -1,6 +1,9 @@
# strongswan.conf - strongSwan configuration file
charon {
+ # shorter timeouts (defaults are 4.0/1.8)
+ retransmit_timeout = 3.0
+ retransmit_base = 1.4
# number of worker threads in charon
threads = 16