Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: wireguard@lists.zx2c4.com
Subject: occasional stalls of a WG tunnel
Date: Wed, 17 Mar 2021 18:28:06 +0300	[thread overview]
Message-ID: <5b24bcef-79ef-dfa1-9686-4a644f3aa88d@msgid.tls.msk.ru> (raw)

Hi!

We're experiencing occasional stalls of a single (so far)
node in a star-like configuration.

The server in the center is a linux system with kernel 5.10.13
with a built-in wireguard module.  The client is a windows machine
with current wireguard software installed from the site.

Sometimes (which happened 3 times already), the tunnel stops
working, - no traffic goes within the tunnel as far as I can
see.  I'm not sure yet if the encrypted packets are flowing
between the two nodes, - at least the linux system is sending
them but I can't say for sure if the windows system does the
same, - this is something for me to watch the next time it
happens.

What can cure the tunnel immediately is a simple "refresh"
command, -

  wg setconf $if /etc/wireguard/$if.conf

- this makes the whole tunnel operational again immediately.

Other nodes of the tunnel are unaffected by this (except of
the momentary drop of service during the setconf operation
and the reconnect each node is doing after that).

The question is: how can I debug what's going on the next
time this happens, besides watching more closely which packets
are flowing?

Thanks,

/mjt

                 reply	other threads:[~2021-03-17 15:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5b24bcef-79ef-dfa1-9686-4a644f3aa88d@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --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).