From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 KOSOHt2TBGMjOAEAbAwnHQ (envelope-from ) for ; Tue, 23 Aug 2022 10:46:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2KBVHd2TBGMmjAAAG6o9tA (envelope-from ) for ; Tue, 23 Aug 2022 10:46:21 +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 19F3CED51 for ; Tue, 23 Aug 2022 10:46:20 +0200 (CEST) Received: from localhost ([::1]:49734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQPYB-0005bl-TA for larch@yhetil.org; Tue, 23 Aug 2022 04:46:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQPXy-0005bW-Lm for guix-patches@gnu.org; Tue, 23 Aug 2022 04:46:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQPXv-0007Wp-48 for guix-patches@gnu.org; Tue, 23 Aug 2022 04:46:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQPXu-0001LW-Kf for guix-patches@gnu.org; Tue, 23 Aug 2022 04:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57351] [PATCH] gnu: Add vpn-slice. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Aug 2022 08:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57351 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57351@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16612443055102 (code B ref -1); Tue, 23 Aug 2022 08:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Aug 2022 08:45:05 +0000 Received: from localhost ([127.0.0.1]:42527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQPWz-0001KE-4g for submit@debbugs.gnu.org; Tue, 23 Aug 2022 04:45:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:49704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQPWv-0001Jd-St for submit@debbugs.gnu.org; Tue, 23 Aug 2022 04:45:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQPWv-0005P9-Mc for guix-patches@gnu.org; Tue, 23 Aug 2022 04:45:01 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:35530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQPWs-0007Dn-5M for guix-patches@gnu.org; Tue, 23 Aug 2022 04:45:01 -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: 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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dAzrq6LrGv3iYMX91KmNPsHI3R5eawI1E7WwSStX7yY=; b=bJcurm2SfTmoqq64wFw89DcKxG kozm+tXRngbrEU4p/Hpuq2TXvRheyDwQLhYQRmjgUAfPhvpccBHkz7E8d/BraaNCn2anyuM+r0Gl4 +jrgmTjZJ6/dWOb3x83CAGk6K6Pt5M2hjpS5bjiTZND2QGIDOKnjKye1sBMs8L7aiX+I9xFPP0srS yy6IqoNlstdEWDifpiUsNJ6czvJhAzR2S10QSfKYvfZfk7sjFMEyjoTHXpir7ZmrG06pZaxdtRh3c rvqWRTxPNPrHPHMrGnyCPz2rKoPVJ+Wdyj84VyZas3wszSFFBWiRvom9lxtZN18jQc7pQSvk4RrwO XSVkdLDg==; Received: from [192.168.2.1] (port=55268 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 1oQPWk-0008PM-07; Tue, 23 Aug 2022 14:14:50 +0530 From: Arun Isaac Date: Tue, 23 Aug 2022 14:14:47 +0530 Message-Id: <20220823084447.11995-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1661244381; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dAzrq6LrGv3iYMX91KmNPsHI3R5eawI1E7WwSStX7yY=; b=swGQR0CRVcm+wNfK4OPZ/1B8lqcJvclPIUguWyHI24w+9RZaHYWOBiIYJB4mietnRrcHnC a25gZkTfRC6qCrRqWqwJJQaV2LzWBac01aYjRNqUsPH88WUkKv5y7NBirUmkDwDx9wN4Zs pRJQMwLa4oSZ6cdmLFq2PRO8j8gjdkZVGTZmxowbXB1A4l3UYsazA/YNM8DuTyFPkgE0Cx fvwosGUJE79i+gJcFHeCVZ7qyt3dM9RCLDNDgg2bWY4TZqHAqAqjtSv1ZI8JhxdmJJfWmI aXamEUC5N4qGtLRxIU7CNEL7AWCqAMrqFkce9EV6YLnkcKLvdvF/hCSqRg6AhQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661244381; a=rsa-sha256; cv=none; b=lXu4pGNLLiJoVjD2I6eHgi666UX7fcq7GtS55eoyfOm/uK0h5lWkyAajIIIrwTdLiRO2KR ilJEK+JOLlWPCN78I7Sb5a3klsPd1atdldkhsSa3S8hHfVk5iFTOj+68gEbGvzDMhWWItm 4x1k4u1d0rZJijpjFtQZwjRcLCkB7f0ItK7YlhBaR8G+2tQQPInYHn5rlttQXBLlKUI8Pb kK659XhVy2QTgmtI8cwYIs6mrdwF1wDSE6CKf83WPrlEMbV/k+n5GlKqVMm6LMdn1ESrTT l7mImEEl7fmrd2ihH8jv7N8GyBtSj7jpz4junAN4H4qk0lfIHwiQQVgx33tNdQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=bJcurm2S; 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.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=bJcurm2S; 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: 19F3CED51 X-Spam-Score: 8.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: AlVfKROsFhft * 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