WireGuard Archive on lore.kernel.org
 help / color / Atom feed
* Bug report: WireGuard client not setting underlying network on Android Pie
@ 2020-01-13  5:00 Andrey Kupreychik
  2020-01-15 18:29 ` Jason A. Donenfeld
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey Kupreychik @ 2020-01-13  5:00 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1.1: Type: text/plain, Size: 714 bytes --]

My Android phone running wireguard VPN threats it as a metered connection
and does not do anything it should do on Wi-Fi only

What I found is this discussion
https://issuetracker.google.com/issues/114309459
I've looked thru the GitHub mirror code and found no evidance of
setUnderlyingNetworks called in WireGuard client code.

As seen in the issue tracker link above, it's needed in order to take
advantage of this (
https://developer.android.com/about/versions/pie/android-9.0-changes-all#network-capabilities-vpn)
behavior change. As described in the issue tracker link, this prevents Pie
devices from properly using unmetered WiFi networks.

-- 
Andrey Kupreychik <foxel@quickfox.ru>
http://foxel.quickfox.ru

[-- Attachment #1.2: Type: text/html, Size: 2402 bytes --]

<div dir="ltr"><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM" style="margin:0px;padding:0px 0px 0.25em;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:14px;line-height:inherit;font-family:&quot;Noto Sans&quot;,Arial,sans-serif;vertical-align:baseline;color:rgb(26,26,27)">My Android phone running wireguard VPN threats it as a metered connection and does not do anything it should do on Wi-Fi only</p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM" style="margin:0px;padding:0px 0px 0.25em;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:14px;line-height:inherit;font-family:&quot;Noto Sans&quot;,Arial,sans-serif;vertical-align:baseline;color:rgb(26,26,27)">What I found is this discussion <a href="https://issuetracker.google.com/issues/114309459" class="gmail-_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener noreferrer" target="_blank" style="font:inherit;margin:0px;padding:0px;border:0px;vertical-align:baseline">https://issuetracker.google.com/issues/114309459</a><br>I&#39;ve looked thru the GitHub mirror code and found no evidance of setUnderlyingNetworks called in WireGuard client code. </p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM" style="margin:0px;padding:0px 0px 0.25em;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:14px;line-height:inherit;font-family:&quot;Noto Sans&quot;,Arial,sans-serif;vertical-align:baseline;color:rgb(26,26,27)">As seen in the issue tracker link above, it&#39;s needed in order to take advantage of this (<a href="https://developer.android.com/about/versions/pie/android-9.0-changes-all#network-capabilities-vpn" class="gmail-_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener noreferrer" target="_blank" style="font:inherit;margin:0px;padding:0px;border:0px;vertical-align:baseline">https://developer.android.com/about/versions/pie/android-9.0-changes-all#network-capabilities-vpn</a>) behavior change. As described in the issue tracker link, this prevents Pie devices from properly using unmetered WiFi networks.</p><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Andrey Kupreychik &lt;<a href="mailto:foxel@quickfox.ru" target="_blank">foxel@quickfox.ru</a>&gt;<br><a href="http://foxel.quickfox.ru" target="_blank">http://foxel.quickfox.ru</a></div></div></div>

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-13  5:00 Bug report: WireGuard client not setting underlying network on Android Pie Andrey Kupreychik
2020-01-15 18:29 ` Jason A. Donenfeld
2020-01-23  6:47   ` Andrey Kupreychik
2020-01-23 12:49     ` Jason A. Donenfeld

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

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

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


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