tincapp icon indicating copy to clipboard operation
tincapp copied to clipboard

Please allow the keepalive parameter to be used

Open wellloaded opened this issue 4 months ago • 1 comments

TL;DR Please allow the keepalive parameter to be processed in the config.

The app seems to have hardcoded keepalives (perhaps not the app, but the tinc itself uses this by default). As tinc apparently supports the keepalive = 0 parameter defined on a host basis to prevent the so called "probe type 2" to be send to all the known hosts where connecto is defined.

I think on a mobile phones where the communication is

1) UDP (per config)
2) connectionless
3) used only when needed (like Wireguard per se)
4) Always one way from phone towards main hub/router

Keepalives can be safely removed, this would also be good for data usage on 4G.

wellloaded avatar Oct 14 '25 09:10 wellloaded

I could not find any global or host config key named "keepalive" in upstream tinc.

Note: any config key which tinc understands should already be usable in Tinc App for Android. The app does not filter config keys.

pacien avatar Oct 14 '25 11:10 pacien