Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Andrej Mihajlov <and@mullvad.net>
To: Revath S Kumar <gmail@revathskumar.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: Wireguard on MacOS (Catalina) not able to quit/deactivate
Date: Thu, 23 Jan 2020 11:14:21 +0100	[thread overview]
Message-ID: <806BAAAF-D9C8-423A-82B1-B6FEF853CAFB@mullvad.net> (raw)
In-Reply-To: <CAO=kRDLXM+D+dfq6D4mkgPrE8saXknksrPxvQsw3E9EOK3gzhA@mail.gmail.com>


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

Hi,

I see the same issue. Possible side effect of having `exit(0)` in `stopTunnel`?

https://github.com/WireGuard/wireguard-apple/blob/master/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift#L102 <https://github.com/WireGuard/wireguard-apple/blob/master/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift#L102>

Cheers,
Andrej

> On 16 Jan 2020, at 15:18, Revath S Kumar <gmail@revathskumar.com> wrote:
> 
> Found the issue. 
> This is due to On demand option is ON. 
> 
> Once On demand is OFF you can deactivate and quit.
> 
> 
> On Wed, Nov 27, 2019 at 7:45 AM Revath S Kumar <gmail@revathskumar.com <mailto:gmail@revathskumar.com>> wrote:
> Hello all,
> 
> I installed wireguard on MacOS (Catalina) recently.
> After I configured and activated once, I am not able to quit/deactivate the wireguard session.
> I am attaching Gifs for your reference. [1]
> 
>  Even I tried to kill the process via Activity Monitor but a process names WireguardNetworkExtension, shows up again. [2]
> 
> [1]: https://imgur.com/CEm4cXM <https://imgur.com/CEm4cXM>
> [2]: https://imgur.com/xC8uCUy <https://imgur.com/xC8uCUy>
> 
> with regards,
> Revath S Kumar,
> JavaScripter / Rubyist 
> https://blog.revathskumar.com/ <https://blog.revathskumar.com/>_______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard


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

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

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

      reply	other threads:[~2020-01-24 11:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAO=kRDJJ6m1RMad-nwLro6kp7FhST9j1gP+C45xQx1R7sC932g@mail.gmail.com>
2020-01-16 14:18 ` Revath S Kumar
2020-01-23 10:14   ` Andrej Mihajlov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=806BAAAF-D9C8-423A-82B1-B6FEF853CAFB@mullvad.net \
    --to=and@mullvad.net \
    --cc=gmail@revathskumar.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).