From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wEr6BAULDWNmVgEAbAwnHQ (envelope-from ) for ; Mon, 29 Aug 2022 20:52:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QBj4BAULDWP/SgAA9RJhRA (envelope-from ) for ; Mon, 29 Aug 2022 20:52:53 +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 CAB7E24F4A for ; Mon, 29 Aug 2022 20:52:52 +0200 (CEST) Received: from localhost ([::1]:45718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSjsR-00080p-O1 for larch@yhetil.org; Mon, 29 Aug 2022 14:52:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSjre-0007a4-KY for guix-patches@gnu.org; Mon, 29 Aug 2022 14:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44088) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSjre-0001T6-54 for guix-patches@gnu.org; Mon, 29 Aug 2022 14:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSjre-0002zE-1e for guix-patches@gnu.org; Mon, 29 Aug 2022 14:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57351] [PATCH v2] gnu: Add vpn-slice. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Aug 2022 18:52: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: Efraim Flashner , Arun Isaac Cc: 57351@debbugs.gnu.org Received: via spool by 57351-submit@debbugs.gnu.org id=B57351.166179907911432 (code B ref 57351); Mon, 29 Aug 2022 18:52:02 +0000 Received: (at 57351) by debbugs.gnu.org; 29 Aug 2022 18:51:19 +0000 Received: from localhost ([127.0.0.1]:33837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSjqw-0002yJ-OX for submit@debbugs.gnu.org; Mon, 29 Aug 2022 14:51:19 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:48530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSjqv-0002yA-2c for 57351@debbugs.gnu.org; Mon, 29 Aug 2022 14:51:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PziF1j5Jc7oDvadujbfdKPJ7XvUeswou1gWWKRk1Blo=; b=YMrUarCje6bp8JHgAf2EhFc3BP XgD3UpIqO7fBSUBAQWw1HYkRL4EaV0A95qxYXLoeeh7wD1PJsZqjU0xVOdgNn+7juIk488XtjoECg LJ75PinRIE1KnRBZCkMPlgFZ+tfSIo+AWTe3efaPl0VGkEPQGEuMuhHvVM/lFLyaa+DqP10B2z4QD tinEkJPv7nC3e2gWcYPU++J4/N3G06jyzP6hGbJZETq2temedJIyBcLVuIHatvRTe2/gtndok8Jkg 1+oECKXq4Mv2XZBb88XerDXfGfSePhL84dtC4wnloL+tEqWY0M8o4g9a/44OX652jFkw2bObh9BML mhn4x9JQ==; Received: from [192.168.2.1] (port=2944 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oSjqt-0005G7-1Z; Tue, 30 Aug 2022 00:21:15 +0530 From: Arun Isaac Date: Tue, 30 Aug 2022 00:20:58 +0530 Message-Id: <20220829185058.32439-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.37.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1661799173; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=PziF1j5Jc7oDvadujbfdKPJ7XvUeswou1gWWKRk1Blo=; b=n/N7PnBG8N3sG/TwcxG0bFziPqjvc5KWLOvfttAFf6B+Yh6HkDc9pQrNlbuvvy4fTb53az bd3potfDDaQ+FD2B/ewKZBKyLlpKM/FcldfUJeRGmK2TEIvvtqSUP9rxlj1NYYC3bvZ9Zu 0Pi1yXPYzbQnaMktncfp2Cute55ajkOVBf7MEIpzqUPYqqCGeH75HU+REPVueTY4D+tvrP qO7ekcYeq9mJXHXI8zt68x6Bmagc+uVLkmGbHH6JkMXOdVRUJI5gmKj7kuSNaZxPRKk3ud kfdQznt3zXIgxojxBm/3Lq+A8iUKLNPegB2571UFGJJiKDujP6YPfYFuhSSSjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661799173; a=rsa-sha256; cv=none; b=pCybbJ22bSgqS0wxVm8bNUecvjZ8UKwjFcUamx5+05qI8JO6ztU2a5WZXdm43+0MZfTGCW zS9ijWeVJaacmJilpfAHz2JuuTiIbrp11+7bXW1/0UZz/gf/itiEtB1e/8x9dYT4DyX3+h ZTTfWrPFcvhjZuV8aKNyLX3dk/yarSASQPFz07fjkg3sLA4E6utFoRoRPjPMoHocCnDiHk zTFtulg5Po4mK1MGDMW4fqcu84pU0WNFy5vdmAUSVT+AKWoOstxX9aG8cZK6ebFIUVRIzO UghOCcRE9dlSCMUyMnAQfpF142w5Y664WUeL6W491JPijqMJc4qRaC/rmIYBgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=YMrUarCj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=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: 8.20 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=YMrUarCj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=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: CAB7E24F4A X-Spam-Score: 8.20 X-Migadu-Spam: Yes X-Migadu-Scanner: scn0.migadu.com X-TUID: rYYYMe8hejbw * 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