[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63403] [PATCH 1/1] services: wireguard: Implement a dynamic IP moni
From: |
Ludovic Courtès |
Subject: |
[bug#63403] [PATCH 1/1] services: wireguard: Implement a dynamic IP monitoring feature. |
Date: |
Mon, 22 May 2023 17:03:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> * gnu/services/vpn.scm (<wireguard-configuration>)
> [monitor-ips?, monitor-ips-internal]: New fields.
> * gnu/services/vpn.scm (define-with-source): New syntax.
> (wireguard-service-name, strip-port/maybe)
> (ipv4-address?, ipv6-address?, host-name?)
> (endpoint-host-names): New procedure.
> (wireguard-monitoring-jobs): Likewise.
> (wireguard-service-type): Register it.
> * tests/services/vpn.scm: New file.
> * Makefile.am (SCM_TESTS): Register it.
> * doc/guix.texi (VPN Services): Update doc.
As discussed on IRC the other day, I tend to think that this is “not our
job” but rather upstream’s. (As a rule of thumb, I think services
should merely expose what upstream implements.)
You mentioned that upstream has a shell script to do something similar.
Using that may not be as nice as what you propose here in terms of
integration, but the upside is that we wouldn’t have to maintain it
ourselves.
Would that be a viable option? WDYT?
Thanks,
Ludo’.
[bug#63402] [PATCH v5 3/5] services: wireguard: Clean-up configuration file serializer., Maxim Cournoyer, 2023/05/18
[bug#63402] [PATCH v5 4/5] services: wireguard: Add a 'configuration' action., Maxim Cournoyer, 2023/05/18
[bug#63402] [PATCH v5 5/5] gnu: linux-libre: Apply wireguard patch fixing keep-alive bug., Maxim Cournoyer, 2023/05/18