Development discussion of WireGuard
 help / color / mirror / Atom feed
* Wireguard sending keepalives even if keepalives disabled
@ 2020-08-04 13:28 scorba69
  0 siblings, 0 replies; only message in thread
From: scorba69 @ 2020-08-04 13:28 UTC (permalink / raw)
  To: wireguard

Hello,

sorry if this is not a bug and also sorry if I am not using mailing lists in the right way (I was not sure where to ask)...

I have a little problem with wireguard. I have 2 devices:
1) Debian Linux server with Wireguard service
2) Android phone with Wireguard app
They are both on the same local network (no subnets, no NAT etc.)

Everything works fine, but I have noticed that keepalive packets are being sent between the two devices on regular basis, even if PersistentKeepalive is not set.
They are sent like every few minutes, sometimes twice in a row. The behavior does not change even if I set PersistentKeepalive on both devices to e.g. 3600 seconds (1 hour).
It seems, that the communication is little bit chatty. I have also noticed that every few minutes a handshake also happens.

The reason I am talking about this is that this is causing unnecessary traffic and therefore increased battery consumption of the Android phone.
For example on my phone, battery usually drops by 3% over night, but with wireguard turned on it drops by 10%.

I know that wireguard is still in development, I would just like to see some information regarding this topic.

More information (including log from android app) can be found on reddit: https://www.reddit.com/r/WireGuard/comments/hm4h88/wireguard_battery_drain_on_android_phone/

Thanks a lot for any reply
Tom

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-06 14:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04 13:28 Wireguard sending keepalives even if keepalives disabled scorba69

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/wireguard

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 wireguard wireguard/ http://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git