emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63402: closed ([PATCH 0/1] Add a dynamic IP monitoring option to Wir


From: GNU bug Tracking System
Subject: bug#63402: closed ([PATCH 0/1] Add a dynamic IP monitoring option to Wireguard service)
Date: Fri, 21 Jul 2023 16:19:01 +0000

Your message dated Fri, 21 Jul 2023 12:18:04 -0400
with message-id <87wmyti6gz.fsf@gmail.com>
and subject line Re: [bug#63402] [PATCH v5 2/5] services: wireguard: Implement 
a dynamic IP monitoring feature.
has caused the debbugs.gnu.org bug report #63402,
regarding [PATCH 0/1] Add a dynamic IP monitoring option to Wireguard service
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
63402: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63402
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 0/1] Add a dynamic IP monitoring option to Wireguard service Date: Tue, 9 May 2023 21:08:59 -0400
Hi,

This change adds an option to monitor dynamic IP hosts used as
endpoints in Wireguard peer configuration and restart the service when
the IP captured by Wireguard has changed.

We have a keep-alive option already but this doesn't completely
prevent a connection from becoming stale, for example when the
Wireguard *server* is hosted on a machine with a dynamic IP and the
Wireguard *clients* are the ones initiating the connection to it.

When the Wireguard server disappears (in my case my ISP resets my IP
once per day, which breaks active connections), the keep-alives are
interrupted and the clients are stuck with a stale IP.

I've tested this with a duckdns.org dynamic host name that I use to
reach my private machine from the Internet, and it seems to work.
I'll report after a few days of usage.

Maxim Cournoyer (1):
  services: wireguard: Implement a dynamic IP monitoring feature.

 Makefile.am            |   1 +
 doc/guix.texi          |  18 +++++-
 gnu/services/vpn.scm   | 122 +++++++++++++++++++++++++++++++++++++++--
 tests/services/vpn.scm |  80 +++++++++++++++++++++++++++
 4 files changed, 215 insertions(+), 6 deletions(-)
 create mode 100644 tests/services/vpn.scm


base-commit: 7f89eee664c18d4d8214abf17cdad0e24096a5e7
-- 
2.39.2




--- End Message ---
--- Begin Message --- Subject: Re: [bug#63402] [PATCH v5 2/5] services: wireguard: Implement a dynamic IP monitoring feature. Date: Fri, 21 Jul 2023 12:18:04 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Hi,

I've implemented most of the comments in this thread, and at last,
installed the change.  It's been used for the last months by myself and
the Wireguard tunnel has remained reachable for that time (for the
lengths my machine stayed running -- sometimes week), with the IP
changing daily.

Thanks for the comments/review!

-- 
Thanks,
Maxim


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]