maemo: Added Maemo specific patches for strongswan.conf.
This commit is contained in:
parent
443cd2d95f
commit
ea4feb0248
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
shorter-timeout.patch
|
||||||
|
configure-logging.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
|
Loading…
Reference in New Issue