summaryrefstree
path: root/system/vendor/etc/ipsec/strongswan.conf
blob: 20955dc418a7f55db1fe0fd6cfc6c65991b1889d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# strongswan.conf - strongSwan configuration file

charon {

	# number of worker threads in charon
	threads = 16
	
	# plugins to load in charon
	# load = aes des gmp hmac md5 random sha1 sha2 pubkey xcbc x509 stroke

    #NAT keep alive interval.
	keep_alive = 3m
	
	plugins {	
		sql {		
			# loglevel to log into sql database
			loglevel = -1
			
			# URI to the database
			# database = sqlite:///path/to/file.db
			# database = mysql://user:password@localhost/database
		}
		
		updown {
			dns_handler = yes
		}

		android_log {
			loglevel = -1
		}
	}

    # Number of times to retransmit a packet before giving up.
	retransmit_tries = 4
	# Timeout in seconds before sending first retransmit.
	retransmit_timeout = 2
	# Base to use for calculating exponential back off, see Retransmission.
	retransmit_base = 1

    filelog {
#         /data/misc/vpn/charon.log {
#            time_format = %b %e %T
#            ike_name = yes
#            append = no
#            default = 4
#            flush_line = yes
#        }
#
#       stderr {
#            ike = 1
#            knl = 1
#       }
    }
    syslog {
    }

#   hash_and_url = yes
}

#include strongswan.d/*.conf