WireGuard Archive on lore.kernel.org
 help / Atom feed
* 'Forgotten' interface names
@ 2018-11-24 22:34 Lee Yates
  2018-12-07  0:58 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Lee Yates @ 2018-11-24 22:34 UTC (permalink / raw)
  To: WireGuard Mailing List

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

Hi everyone,

I’ve been using wg-quick on macOS for quite some time now, and I install/update using Homebrew (in case that’s relevant). When my MacBook Pro recovers from sleep, or has been connected to a tunnel for a long while, the output of ‘sudo wg show’ changes and - lacking a better way to explain - has ‘forgotten’ the interface/VPN name.

For example, if I connect to AzireVPN and issue ‘sudo wg show’ I will see:

interface: azirevpn-uk1
  public key: OEvWF8cPiqsBxevKubnz/AbMxsZmBJvBRE35PItYZUw=
  private key: (hidden)
  listening port: 53821

But after recovering from sleep, or if the tunnel has been up a long time, it changes to:

interface: utun1
  public key: OEvWF8cPiqsBxevKubnz/AbMxsZmBJvBRE35PItYZUw=
  private key: (hidden)
  listening port: 53821

Is this a bug, a feature, or something else? It’s not the end of the world, but since I have access to multiple VPN endpoints I always end up having to ‘curl ipinfo.io’ to remind myself to which service I’m connected (eg if I’m doing something that needs a public IP, or an IP in a particular country). It’d be nice if the interface name was always remembered, as it is on Linux.

Best wishes,

Lee

[-- Attachment #1.2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- 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] 2+ messages in thread

* Re: 'Forgotten' interface names
  2018-11-24 22:34 'Forgotten' interface names Lee Yates
@ 2018-12-07  0:58 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2018-12-07  0:58 UTC (permalink / raw)
  To: rainmakerraw; +Cc: WireGuard mailing list

Hi Lee,

Are you sure the interface _ever_ shows azirevpn-uk1 on mac? AFAIK,
utun devices must always be named utun[0-9]+ as enforced by XNU.

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

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-24 22:34 'Forgotten' interface names Lee Yates
2018-12-07  0:58 ` 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 zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


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