dehghanimeh / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

Make "inactive" a recognized and configurable option #308

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

please make the OpenVPN "inactive" option a recognized and configurable option 
in OpenVPN for Android.

From the openvpn man page:
"--inactive n [bytes]
    Causes OpenVPN to exit after n seconds of inactivity on the TUN/TAP device. The time length of inactivity is measured since the last incoming or outgoing tunnel packet. The default value is 0 seconds, which disables this feature.

    If the optional bytes parameter is included, exit if less than bytes of combined in/out traffic are produced on the tun/tap device in n seconds.

    In any case, OpenVPN's internal ping packets (which are just keepalives) and TLS control packets are not considered "activity", nor are they counted as traffic, as they are used internally by OpenVPN and are not an indication of actual user activity."

Original issue reported on code.google.com by thenk...@gmail.com on 26 Nov 2014 at 1:57

GoogleCodeExporter commented 9 years ago
I am not sure if that option is really useful, i have to think about it.

You can always add options as custom options

Original comment by arne@rfc2549.org on 26 Nov 2014 at 3:25

GoogleCodeExporter commented 9 years ago
This option is useful if you are using OpenVPN to access devices in your home 
network, e.g. the web interface of a NAS, sat receiver, ...
Then you just have to start the connection, do your stuff and forget about it. 
You don't have to care about closing the connection again to save your battery 
usage.

P.S.: this would be even more useful if VPN on demand would be possible, just 
like on Apple iOS.

Original comment by thenk...@gmail.com on 26 Nov 2014 at 3:47

GoogleCodeExporter commented 9 years ago
VPN on demand has to be supported by the OS.

Original comment by arne@rfc2549.org on 26 Nov 2014 at 4:37

GoogleCodeExporter commented 9 years ago
I know ;) Hopefully this is somewhere on Android's road map.

Original comment by thenk...@gmail.com on 26 Nov 2014 at 5:09