Aurélien Chabot and Jason A. Donenfeld
4c9143c835
GoBackend: Handle vpn service expiration
...
After a timeout the android system is destroying the vpn service when it
is not used. By using a completable future we can wait for the service
to be relaunch on demand.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-04-17 02:15:24 +02:00
Aurélien Chabot and Jason A. Donenfeld
74eae55c87
Config: Handle multiple address or dns in config file
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-04-17 02:15:24 +02:00
Aurélien Chabot and Jason A. Donenfeld
44698bb000
GoBackend: Add support for multiple address and dns as a comma separated list
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-04-17 02:15:24 +02:00
Aurélien Chabot and Jason A. Donenfeld
175f7e16dd
GoBackend: parse allowed ips
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-04-17 02:15:24 +02:00
Aurélien Chabot and Jason A. Donenfeld
c6d311923a
GoBackend: Parse the dns address
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-04-17 02:15:24 +02:00
Aurélien Chabot and Jason A. Donenfeld
6878aba911
GoBackend: IPv6 handling
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-04-17 02:15:24 +02:00
Aurélien Chabot and Jason A. Donenfeld
d97312b96a
GoBackend: Resolve endpoint before passing it to the go lib
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-04-17 02:15:24 +02:00
Aurélien Chabot and Jason A. Donenfeld
9dfab4d60f
GoBackend: Use the android VpnService to encapsulate the go backend
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-04-17 02:15:24 +02:00