From: Tobias Brunner Date: Fri, 8 May 2020 12:33:05 +0000 (+0200) Subject: android: Increase lifetimes a bit X-Git-Tag: 5.9.0dr1~9^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d01aaf91d26a351e88b07189c717f220498c65e;p=thirdparty%2Fstrongswan.git android: Increase lifetimes a bit This should avoid clashes of soft and hard lifetimes even if the app is not whitelisted. --- diff --git a/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_service.c b/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_service.c index f37d99295d..ba7a10ddb2 100644 --- a/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_service.c +++ b/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_service.c @@ -754,13 +754,13 @@ static job_requeue_t initiate(private_android_service_t *this) .unique = UNIQUE_REPLACE, .rekey_time = 36000, /* 10h */ .jitter_time = 600, /* 10min */ - .over_time = 600, /* 10min */ + .over_time = 1800, /* 30min */ }; child_cfg_create_t child = { .lifetime = { .time = { - .life = 3600, /* 1h */ - .rekey = 3000, /* 50min */ + .life = 9000, /* 2.5h */ + .rekey = 7200, /* 2h */ .jitter = 300 /* 5min */ }, },