Development discussion of WireGuard
 help / color / mirror / Atom feed
* occasional stalls of a WG tunnel
@ 2021-03-17 15:28 Michael Tokarev
  0 siblings, 0 replies; only message in thread
From: Michael Tokarev @ 2021-03-17 15:28 UTC (permalink / raw)
  To: wireguard

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-17 15:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-17 15:28 occasional stalls of a WG tunnel Michael Tokarev

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.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/ http://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git