wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Denis Brodbeck <denis@shahaya.com>
Cc: "wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>
Subject: Re: wireguard-windows: client forgets after restart that there was a activated tunnel before and won't activate said tunnel anymore
Date: Mon, 9 Aug 2021 01:08:00 +0200	[thread overview]
Message-ID: <CAHmME9pbY0Cgbj5JbTVvsxpkdpvJnZ1ZBLQruuUrumgnJ3U73A@mail.gmail.com> (raw)
In-Reply-To: <DB7PR09MB24606350B108C7CB8DA140BFAB1B9@DB7PR09MB2460.eurprd09.prod.outlook.com>

Hi Denis,

That's a weird issue. Generally the WireGuardTunnel service should
stay installed unless explicitly uninstalled. The UninstallTunnel()
function is called from three places:

1) if you execute wireguard.exe /uninstalltunnelservice [name].
2) If the user presses "deactivate".
3) If the manager quits with "stoponquit", which happens only when the
user right clicks on the tray and presses "exit".

Are you sure that (3) isn't being hit unexpectedly?

Jason

      reply	other threads:[~2021-08-08 23:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-06  6:18 wireguard-windows: client forgets after restart that there was a activated tunnel before and won't activate said tunnel anymore Denis Brodbeck
2021-08-08 23:08 ` Jason A. Donenfeld [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=CAHmME9pbY0Cgbj5JbTVvsxpkdpvJnZ1ZBLQruuUrumgnJ3U73A@mail.gmail.com \
    --to=jason@zx2c4.com \
    --cc=denis@shahaya.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).