GNU bug report logs - #57351
[PATCH] gnu: Add vpn-slice.

Previous Next

Package: guix-patches;

Reported by: Arun Isaac <arunisaac <at> systemreboot.net>

Date: Tue, 23 Aug 2022 08:46:02 UTC

Severity: normal

Tags: patch

Done: Arun Isaac <arunisaac <at> systemreboot.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57351 in the body.
You can then email your comments to 57351 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57351; Package guix-patches. (Tue, 23 Aug 2022 08:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arun Isaac <arunisaac <at> systemreboot.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 23 Aug 2022 08:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: guix-patches <at> gnu.org
Cc: Arun Isaac <arunisaac <at> systemreboot.net>
Subject: [PATCH] gnu: Add vpn-slice.
Date: Tue, 23 Aug 2022 14:14:47 +0530
* gnu/packages/vpn.scm (vpn-slice): New variable.
---
 gnu/packages/vpn.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 1ec619b0c2..c68511e04b 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -1197,3 +1197,31 @@ (define-public xl2tpd
      "xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661).
 L2TP allows you to tunnel PPP over UDP.")
     (license license:gpl2)))
+
+(define-public vpn-slice
+  (package
+    (name "vpn-slice")
+    (version "0.16.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "vpn-slice" version))
+              (sha256
+               (base32
+                "1anfx4hn2ggm6sbwqmqx68s3l2rjcy4z4l038xqb440jnk8jvl18"))))
+    (build-system python-build-system)
+    (inputs (list python-dnspython python-setproctitle))
+    (home-page "https://github.com/dlenski/vpn-slice")
+    (synopsis "Split tunneling replacement for vpnc-script")
+    (description "vpn-slice is a replacement for the vpnc-script used by
+OpenConnect and vpnc.  Instead of trying to copy the behavior of standard
+corporate VPN clients, which normally reroute all your network traffic through
+the VPN, vpn-slice tries to minimize your contact with an intrusive VPN.  This
+is also known as a split-tunnel VPN, since it splits your traffic between the
+VPN tunnel and your normal network interfaces.
+
+By default, vpn-slice only routes traffic for specific hosts or subnets
+through the VPN.  It automatically looks up named hosts, using the VPN's DNS
+servers, and adds entries for them to your /etc/hosts (which it cleans up
+after VPN disconnection), however it does not otherwise alter your
+/etc/resolv.conf at all.")
+    (license license:gpl3+)))
-- 
2.37.1





Information forwarded to guix-patches <at> gnu.org:
bug#57351; Package guix-patches. (Mon, 29 Aug 2022 13:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 57351 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 57351 <at> debbugs.gnu.org
Subject: Re: [bug#57351] [PATCH] gnu: Add vpn-slice.
Date: Mon, 29 Aug 2022 16:35:15 +0300
[Message part 1 (text/plain, inline)]
On Tue, Aug 23, 2022 at 02:14:47PM +0530, Arun Isaac wrote:
> * gnu/packages/vpn.scm (vpn-slice): New variable.
> ---
>  gnu/packages/vpn.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
> index 1ec619b0c2..c68511e04b 100644
> --- a/gnu/packages/vpn.scm
> +++ b/gnu/packages/vpn.scm
> @@ -1197,3 +1197,31 @@ (define-public xl2tpd
>       "xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661).
>  L2TP allows you to tunnel PPP over UDP.")
>      (license license:gpl2)))
> +
> +(define-public vpn-slice
> +  (package
> +    (name "vpn-slice")
> +    (version "0.16.1")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "vpn-slice" version))
> +              (sha256
> +               (base32
> +                "1anfx4hn2ggm6sbwqmqx68s3l2rjcy4z4l038xqb440jnk8jvl18"))))
> +    (build-system python-build-system)
> +    (inputs (list python-dnspython python-setproctitle))
> +    (home-page "https://github.com/dlenski/vpn-slice")
> +    (synopsis "Split tunneling replacement for vpnc-script")
> +    (description "vpn-slice is a replacement for the vpnc-script used by
> +OpenConnect and vpnc.  Instead of trying to copy the behavior of standard
> +corporate VPN clients, which normally reroute all your network traffic through
> +the VPN, vpn-slice tries to minimize your contact with an intrusive VPN.  This
> +is also known as a split-tunnel VPN, since it splits your traffic between the
> +VPN tunnel and your normal network interfaces.
> +
> +By default, vpn-slice only routes traffic for specific hosts or subnets
> +through the VPN.  It automatically looks up named hosts, using the VPN's DNS
> +servers, and adds entries for them to your /etc/hosts (which it cleans up
> +after VPN disconnection), however it does not otherwise alter your
> +/etc/resolv.conf at all.")
> +    (license license:gpl3+)))

Are there any tests in the upstream repo?

I'd wrap some of the commands in @command{...} and the /etc files in
@file{...}.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#57351; Package guix-patches. (Mon, 29 Aug 2022 18:51:01 GMT) Full text and rfc822 format available.

Message #11 received at 57351 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 57351 <at> debbugs.gnu.org
Subject: Re: [bug#57351] [PATCH] gnu: Add vpn-slice.
Date: Tue, 30 Aug 2022 00:20:30 +0530
> Are there any tests in the upstream repo?

No, there aren't any tests.

> I'd wrap some of the commands in @command{...} and the /etc files in
> @file{...}.

Done. An updated patch follows.




Information forwarded to guix-patches <at> gnu.org:
bug#57351; Package guix-patches. (Mon, 29 Aug 2022 18:52:02 GMT) Full text and rfc822 format available.

Message #14 received at 57351 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Efraim Flashner <efraim <at> flashner.co.il>,
 Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 57351 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add vpn-slice.
Date: Tue, 30 Aug 2022 00:20:58 +0530
* gnu/packages/vpn.scm (vpn-slice): New variable.
---
 gnu/packages/vpn.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 1ec619b0c2..c5c5939996 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -1197,3 +1197,31 @@ (define-public xl2tpd
      "xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661).
 L2TP allows you to tunnel PPP over UDP.")
     (license license:gpl2)))
+
+(define-public vpn-slice
+  (package
+    (name "vpn-slice")
+    (version "0.16.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "vpn-slice" version))
+              (sha256
+               (base32
+                "1anfx4hn2ggm6sbwqmqx68s3l2rjcy4z4l038xqb440jnk8jvl18"))))
+    (build-system python-build-system)
+    (inputs (list python-dnspython python-setproctitle))
+    (home-page "https://github.com/dlenski/vpn-slice")
+    (synopsis "Split tunneling replacement for vpnc-script")
+    (description "vpn-slice is a replacement for @command{vpnc-script} used by
+@code{openconnect} and @code{vpnc}.  Instead of trying to copy the behavior of
+standard corporate VPN clients, which normally reroute all your network
+traffic through the VPN, vpn-slice tries to minimize your contact with an
+intrusive VPN.  This is also known as a split-tunnel VPN, since it splits your
+traffic between the VPN tunnel and your normal network interfaces.
+
+By default, vpn-slice only routes traffic for specific hosts or subnets
+through the VPN.  It automatically looks up named hosts, using the VPN's DNS
+servers, and adds entries for them to your @file{/etc/hosts} (which it cleans
+up after VPN disconnection), however it does not otherwise alter your
+@file{/etc/resolv.conf} at all.")
+    (license license:gpl3+)))
-- 
2.37.1





Information forwarded to guix-patches <at> gnu.org:
bug#57351; Package guix-patches. (Tue, 30 Aug 2022 18:39:02 GMT) Full text and rfc822 format available.

Message #17 received at 57351 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 57351 <at> debbugs.gnu.org
Subject: Re: [PATCH v2] gnu: Add vpn-slice.
Date: Tue, 30 Aug 2022 21:38:06 +0300
[Message part 1 (text/plain, inline)]
Looks good to me!

On Tue, Aug 30, 2022 at 12:20:58AM +0530, Arun Isaac wrote:
> * gnu/packages/vpn.scm (vpn-slice): New variable.
> ---
>  gnu/packages/vpn.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
> index 1ec619b0c2..c5c5939996 100644
> --- a/gnu/packages/vpn.scm
> +++ b/gnu/packages/vpn.scm
> @@ -1197,3 +1197,31 @@ (define-public xl2tpd
>       "xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661).
>  L2TP allows you to tunnel PPP over UDP.")
>      (license license:gpl2)))
> +
> +(define-public vpn-slice
> +  (package
> +    (name "vpn-slice")
> +    (version "0.16.1")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "vpn-slice" version))
> +              (sha256
> +               (base32
> +                "1anfx4hn2ggm6sbwqmqx68s3l2rjcy4z4l038xqb440jnk8jvl18"))))
> +    (build-system python-build-system)
> +    (inputs (list python-dnspython python-setproctitle))
> +    (home-page "https://github.com/dlenski/vpn-slice")
> +    (synopsis "Split tunneling replacement for vpnc-script")
> +    (description "vpn-slice is a replacement for @command{vpnc-script} used by
> +@code{openconnect} and @code{vpnc}.  Instead of trying to copy the behavior of
> +standard corporate VPN clients, which normally reroute all your network
> +traffic through the VPN, vpn-slice tries to minimize your contact with an
> +intrusive VPN.  This is also known as a split-tunnel VPN, since it splits your
> +traffic between the VPN tunnel and your normal network interfaces.
> +
> +By default, vpn-slice only routes traffic for specific hosts or subnets
> +through the VPN.  It automatically looks up named hosts, using the VPN's DNS
> +servers, and adds entries for them to your @file{/etc/hosts} (which it cleans
> +up after VPN disconnection), however it does not otherwise alter your
> +@file{/etc/resolv.conf} at all.")
> +    (license license:gpl3+)))
> -- 
> 2.37.1
> 

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Reply sent to Arun Isaac <arunisaac <at> systemreboot.net>:
You have taken responsibility. (Wed, 31 Aug 2022 13:16:01 GMT) Full text and rfc822 format available.

Notification sent to Arun Isaac <arunisaac <at> systemreboot.net>:
bug acknowledged by developer. (Wed, 31 Aug 2022 13:16:01 GMT) Full text and rfc822 format available.

Message #22 received at 57351-done <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 57351-done <at> debbugs.gnu.org
Subject: Re: [PATCH v2] gnu: Add vpn-slice.
Date: Wed, 31 Aug 2022 18:45:34 +0530
Pushed, thanks for the review!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 29 Sep 2022 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.