diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-02-04 18:00:18 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-02-04 18:02:49 +0100 |
commit | ea4feb02487e4f411f358980366cd12a4b557527 (patch) | |
tree | ec6da41dc912acd990c87c6332c59d30ee8f9750 /packages | |
parent | 443cd2d95f461167aaa5dcbe50c4ad94b7916e47 (diff) | |
download | strongswan-ea4feb02487e4f411f358980366cd12a4b557527.tar.bz2 strongswan-ea4feb02487e4f411f358980366cd12a4b557527.tar.xz |
maemo: Added Maemo specific patches for strongswan.conf.
Diffstat (limited to 'packages')
3 files changed, 40 insertions, 0 deletions
diff --git a/packages/strongswan-maemo/debian/patches/configure-logging.patch b/packages/strongswan-maemo/debian/patches/configure-logging.patch new file mode 100644 index 000000000..f489a2d45 --- /dev/null +++ b/packages/strongswan-maemo/debian/patches/configure-logging.patch @@ -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 + diff --git a/packages/strongswan-maemo/debian/patches/series b/packages/strongswan-maemo/debian/patches/series new file mode 100644 index 000000000..7f11cae60 --- /dev/null +++ b/packages/strongswan-maemo/debian/patches/series @@ -0,0 +1,2 @@ +shorter-timeout.patch +configure-logging.patch diff --git a/packages/strongswan-maemo/debian/patches/shorter-timeout.patch b/packages/strongswan-maemo/debian/patches/shorter-timeout.patch new file mode 100644 index 000000000..8c90dbc3a --- /dev/null +++ b/packages/strongswan-maemo/debian/patches/shorter-timeout.patch @@ -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 |