From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cGcaMc7ADGOHLgEAbAwnHQ (envelope-from ) for ; Mon, 29 Aug 2022 15:36:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id t4MLMc7ADGNxOQAA9RJhRA (envelope-from ) for ; Mon, 29 Aug 2022 15:36:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6114210FAC for ; Mon, 29 Aug 2022 15:36:14 +0200 (CEST) Received: from localhost ([::1]:60064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSevz-0000qB-Eq for larch@yhetil.org; Mon, 29 Aug 2022 09:36:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSevq-0000nX-K1 for guix-patches@gnu.org; Mon, 29 Aug 2022 09:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42441) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSevq-0000dQ-CE for guix-patches@gnu.org; Mon, 29 Aug 2022 09:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSevq-00009q-2F for guix-patches@gnu.org; Mon, 29 Aug 2022 09:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57351] [PATCH] gnu: Add vpn-slice. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Aug 2022 13:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57351 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac Cc: 57351@debbugs.gnu.org Received: via spool by 57351-submit@debbugs.gnu.org id=B57351.1661780130552 (code B ref 57351); Mon, 29 Aug 2022 13:36:02 +0000 Received: (at 57351) by debbugs.gnu.org; 29 Aug 2022 13:35:30 +0000 Received: from localhost ([127.0.0.1]:60420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSevJ-00008n-Lv for submit@debbugs.gnu.org; Mon, 29 Aug 2022 09:35:30 -0400 Received: from mail-ej1-f54.google.com ([209.85.218.54]:45802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSevF-00008C-5e for 57351@debbugs.gnu.org; Mon, 29 Aug 2022 09:35:25 -0400 Received: by mail-ej1-f54.google.com with SMTP id lx1so15685318ejb.12 for <57351@debbugs.gnu.org>; Mon, 29 Aug 2022 06:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc; bh=8/118SVO1dXXgenclo9ylcWpQUqQArIzJSf637F++bA=; b=R0AxWgguLjWkx8YR1BQJmsh4u1lwZqbvyDXe4DQFJfsfgFR9weT6f97ejQRZ5aQiND ecd6aqyzvVKSL/gvgT94Z1xuG/ftDL+fj/Gt1+HB11vswQfjtvZqqshr504JBByUDWxp cquYA5KITNuDxvZpCXwYJ4Ow7H2QSkBXWrVoB13C+UphvIcRkOQ7jd7CVzMQ7+WTNAsx r++atFJSIqo99zlLB1Bka+AlL8svYxak8n/KuD3CaBh+hucttp36ovqlEBlwcPep+tTO JnPU8xlegKJHmxZANlhI90jEDugxYPdRF7eRejPxEUaqOUxpy6WkkjgidnkOg1hhYc7q at1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc; bh=8/118SVO1dXXgenclo9ylcWpQUqQArIzJSf637F++bA=; b=nzPUs2Ii2/cgg659V0hbChf1s1WMZ72BzMVdoX4rwaihB/2UX0BGcS2zX1BEaHM1WB 9TZUBph5J+DqMzqrUDpaq0Bi3Wme9N36ktSkiHM7az4hWolyy2uynBCqnqalwSela+UF E6aVN5sT6HHYrblHh7aJMkv0ujQLW0ua/fwztc4HYKYWo3pn9JBD3Us7qSBUxz5t7EGo Ta6hqakJs2BYy4ZKfXDLnoTDQJBp3h6Zhfhdxz9zWH4lny0qDIsOdE/Gax5AtrmRwcE5 inu1lmGCaU7rVlshuqdb98emV5xKXTR7yVHuUmEg/LN58WXBa5JNYSeNUS5FxeBvDYPQ Iw3A== X-Gm-Message-State: ACgBeo3eNsl6ACaGVmz3k6aPeo5T6YgXA42Hj7fe6PftJdcLlbjbhU19 av6F8SVsOANAt3britxRtNEykpcNy0/lImIJ+2w= X-Google-Smtp-Source: AA6agR52obL2BPTg6YDEG+RAZxgSUPBVhVD/E6hRf4EFsi4cLJnPKVNtKaRYl9dHKbQA+amWVTG+Tg== X-Received: by 2002:a17:907:284a:b0:73d:a818:5a2a with SMTP id el10-20020a170907284a00b0073da8185a2amr13321289ejc.159.1661780119520; Mon, 29 Aug 2022 06:35:19 -0700 (PDT) Received: from localhost ([141.226.13.1]) by smtp.gmail.com with ESMTPSA id s2-20020a1709064d8200b0073923a68974sm4410187eju.206.2022.08.29.06.35.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Aug 2022 06:35:18 -0700 (PDT) Date: Mon, 29 Aug 2022 16:35:15 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Arun Isaac , 57351@debbugs.gnu.org References: <20220823084447.11995-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VF2Ap1GvTBlD8lTW" Content-Disposition: inline In-Reply-To: <20220823084447.11995-1-arunisaac@systemreboot.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661780174; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=8/118SVO1dXXgenclo9ylcWpQUqQArIzJSf637F++bA=; b=eD2QZaipCa1Zn5ANrGdFQLdlrNtTgF6OfCelCPZL2J0CW6qsKStD/U2IgtpNS1zaDu2dxv iYgw0NP38PINBTLNfUz3RHxXyOo680hBUjvugRB+L2I1v6EVx7hKenw7ew7lAtUQiPc0zE Ni579mBddMLSbQ8j4GPUuhZm5uLmHSs8+T6DKxkZQeUfFMBL7mvvvrhRTkyH1GqiOiUWYb QwOb3sh/U+/8MojAvlwc1uuvyzfBOl1jOLudET3pjqbUVhbdvVYMnM8hfAOQ6nRjc24hkR qb83ce+T8Chjy7h627C6Z4ADIpYyeVue0Xraibr1DZWBMGicuu0c/1pGCS6w6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661780174; a=rsa-sha256; cv=none; b=hk20KS2EbpYknJgKahzkfnBX+pvfATUOuN8faBO4ez6ImhXx61ZwmXaSvMXVPYLbi/6dZv +h1SshLzSAtvR/Bp8nx5vDb9CzwSJBMBUfwDAQMe6zmTLWg1nJdb4N6Nx0lmmOIbKFxR7H dSfBbMFj+XBY8fOHF49c6HwcvAhmAD3igcybwraiuum/F2PaxUtJ9KeDgt5do1eCZFw9lC OC/eqpPxVAPKd6RV+gWGAuLyqEFiHnnO8YV1iaTn3PP2C45LkRYksXpGvIMyXiBsRGJNo1 OzeJHIVya3EOU0Mje71od5kU2U93no94ZTfYniTjO4naSVNgpAJimbSE+FtFwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=R0AxWggu; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=R0AxWggu; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6114210FAC X-Spam-Score: -0.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7YHWPDviJazO --VF2Ap1GvTBlD8lTW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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(+) >=20 > 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 (RF= C 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 t= hrough > +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 betwee= n 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{...}. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --VF2Ap1GvTBlD8lTW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmMMwJMACgkQQarn3Mo9 g1GZ3RAAh9elT/yB+zJG0WzOyXAsGO9I6L+2JaLEvsz9aP4JPFl9XeWfTwoljsyh n8qx/9hgw3490wmWrrBRIxytSY02cNFYV0EJd08A8/rRa2UxTwpok76Tvh9tyNGw WiPRqFWcKigVBpj286S/H0a1CUbhz2dvREphgOmmYyAky6EoZPeKAnHYGy5WqJ04 t4hn8TUk17s9xk5tUJlVdEZ2D/jgl2CkPb1+JlYpsF/AydWBWAzozYwB+uZQydEj SlHbfgNwhbTvmPd2lV0lsXYrmL5WOFQ77vDFBzxxWNRq/lDxlZJCH24BvLbr7BZ/ MkC2TrI/4ewuNwkyIDAkJv7QzpadrslQPHMAo7mzs2MCrTYRt86njpRggnE0THm7 lAPDRTN7ITnwCXOVJklqBUfDPCNbIR++ffxpA5/6aq+4HOVQSkn0r5Df/tuo17ga NIQG+qzocf5Xpc/nmsmDdpo5yMY4WyMBZcnqJzSz1xYjHlXx3eJ9FYJLucIIKV2s jJsP4qnb1CACxeogBjEtl1ulA3WXgQxbSaRtrmNnlpd8cZtsLiGliqXsB+nguQSB ziM3uSvI1EhY9+PVNA6qG2DNP+RiHn1So/A6LPcBRyk0EFfqIUxJCpH/Ik+3xalJ TafLha+Lw2z/ajpl57E1KxFtfnIZzGAp2xAWuI1xNwgbPRWVORs= =wESX -----END PGP SIGNATURE----- --VF2Ap1GvTBlD8lTW--