* [bug#57351] [PATCH] gnu: Add vpn-slice.
@ 2022-08-23 8:44 Arun Isaac
2022-08-29 13:35 ` Efraim Flashner
0 siblings, 1 reply; 6+ messages in thread
From: Arun Isaac @ 2022-08-23 8:44 UTC (permalink / raw)
To: 57351; +Cc: Arun Isaac
* 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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#57351] [PATCH] gnu: Add vpn-slice.
2022-08-23 8:44 [bug#57351] [PATCH] gnu: Add vpn-slice Arun Isaac
@ 2022-08-29 13:35 ` Efraim Flashner
2022-08-29 18:50 ` Arun Isaac
2022-08-29 18:50 ` [bug#57351] [PATCH v2] " Arun Isaac
0 siblings, 2 replies; 6+ messages in thread
From: Efraim Flashner @ 2022-08-29 13:35 UTC (permalink / raw)
To: Arun Isaac; +Cc: 57351
[-- Attachment #1: Type: text/plain, Size: 2344 bytes --]
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@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#57351] [PATCH] gnu: Add vpn-slice.
2022-08-29 13:35 ` Efraim Flashner
@ 2022-08-29 18:50 ` Arun Isaac
2022-08-29 18:50 ` [bug#57351] [PATCH v2] " Arun Isaac
1 sibling, 0 replies; 6+ messages in thread
From: Arun Isaac @ 2022-08-29 18:50 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 57351
> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#57351] [PATCH v2] gnu: Add vpn-slice.
2022-08-29 13:35 ` Efraim Flashner
2022-08-29 18:50 ` Arun Isaac
@ 2022-08-29 18:50 ` Arun Isaac
2022-08-30 18:38 ` Efraim Flashner
1 sibling, 1 reply; 6+ messages in thread
From: Arun Isaac @ 2022-08-29 18:50 UTC (permalink / raw)
To: Efraim Flashner, Arun Isaac; +Cc: 57351
* 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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#57351] [PATCH v2] gnu: Add vpn-slice.
2022-08-29 18:50 ` [bug#57351] [PATCH v2] " Arun Isaac
@ 2022-08-30 18:38 ` Efraim Flashner
2022-08-31 13:15 ` bug#57351: " Arun Isaac
0 siblings, 1 reply; 6+ messages in thread
From: Efraim Flashner @ 2022-08-30 18:38 UTC (permalink / raw)
To: Arun Isaac; +Cc: 57351
[-- Attachment #1: Type: text/plain, Size: 2290 bytes --]
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@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#57351: [PATCH v2] gnu: Add vpn-slice.
2022-08-30 18:38 ` Efraim Flashner
@ 2022-08-31 13:15 ` Arun Isaac
0 siblings, 0 replies; 6+ messages in thread
From: Arun Isaac @ 2022-08-31 13:15 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 57351-done
Pushed, thanks for the review!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-08-31 13:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-23 8:44 [bug#57351] [PATCH] gnu: Add vpn-slice Arun Isaac
2022-08-29 13:35 ` Efraim Flashner
2022-08-29 18:50 ` Arun Isaac
2022-08-29 18:50 ` [bug#57351] [PATCH v2] " Arun Isaac
2022-08-30 18:38 ` Efraim Flashner
2022-08-31 13:15 ` bug#57351: " Arun Isaac
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).