wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* Wireguard on MacOS Catalina randomly deletes config
@ 2019-10-10 13:01 Chris Gaffney
  2019-10-16 20:34 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Gaffney @ 2019-10-10 13:01 UTC (permalink / raw)
  To: wireguard


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

Hi,

Version: MacOS App Store 0.0.20190610 (13)
Go Version: 0.0.20190517

I’ve been using Wireguard on MacOS for the last couple of months without issue. Two days ago I upgraded to MacOS 10.15 Catalina and everything had been working fine up until this morning when Wireguard randomly deleted its configuration.

I had connected to my Wireguard server and had an ssh session going over the tunnel when my connection stopped working. Checking Wireguard showed that the tunnel I had been using was no longer listed in the tunnel manager. I tried restating Wireguard but the configuration didn’t come back and had to be recreated.

Logs: https://gist.github.com/gaffneyc/624ea733e1cfa42adabfa2fcbecaf1c8

- Chris Gaffney
@gaffneyc


[-- Attachment #1.2: Type: text/html, Size: 2070 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: Wireguard on MacOS Catalina randomly deletes config
  2019-10-10 13:01 Wireguard on MacOS Catalina randomly deletes config Chris Gaffney
@ 2019-10-16 20:34 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2019-10-16 20:34 UTC (permalink / raw)
  To: Chris Gaffney; +Cc: WireGuard mailing list

This appears to be a bug in macOS 10.15. I've informed Apple, and
they're looking into it.

The log file you gave has the line in it:

> 2019-10-10 07:25:16.071772: [APP] Tunnel 'Office' connection status changed to 'invalid'

If you look at your system logs for that timestamp, that will
correspond with a line emitted from com.apple.networkextension like:

> Removing configuration Office because the corresponding VPN application has been removed.

Reverse engineering
/System/Library/Frameworks/NetworkExtension.framework/Versions/A/NetworkExtension
indicates that this comes from the call chain:

-[NEConfigurationManager
handleApplicationsRemoved:completionQueue:withCompletionHandler:]
-->
__90__NEConfigurationManager_handleApplicationsRemoved_completionQueue_withCompletionHandler___block_invoke
-->
__90__NEConfigurationManager_handleApplicationsRemoved_completionQueue_withCompletionHandler___block_invoke_2

So I assume that some kind of inclusion check is failing when it
shouldn't, or some kind of app store notification is being triggered
when it shouldn't.

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, other threads:[~2019-10-16 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-10 13:01 Wireguard on MacOS Catalina randomly deletes config Chris Gaffney
2019-10-16 20:34 ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).