[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: Add passt.
From: |
guix-commits |
Subject: |
10/11: gnu: Add passt. |
Date: |
Sat, 2 Mar 2024 11:27:16 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 61694dc1cd8888adab34841171fc098d9d206dfe
Author: Tomas Volf <~@wolfsden.cz>
AuthorDate: Fri Feb 16 22:14:26 2024 +0100
gnu: Add passt.
* gnu/packages/containers.scm (passt): New variable.
Change-Id: I2ebdd9d4255a89a86fb196568215b74bb61cb3a6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/containers.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index 2b5acdc3bc..5b79e8a446 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -248,6 +248,46 @@ containers or various tools.")
network namespaces.")
(license license:gpl2+)))
+(define-public passt
+ (package
+ (name "passt")
+ (version "2023_12_30.f091893")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://passt.top/passt/snapshot/passt-" version
+ ".tar.gz"))
+ (sha256
+ (base32 "1nyd4h93qlxn1r01ffijpsd7r7ny62phki5j58in8gz021jj4f3d"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ "RLIMIT_STACK_VAL=1024" ; ¯\_ (ツ)_/¯
+ (string-append "VERSION=" #$version)
+ (string-append "prefix=" #$output))
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "https://passt.top")
+ (synopsis "Plug A Simple Socket Transport")
+ (description
+ "passt implements a thin layer between guest and host, that only
+implements what's strictly needed to pretend processes are running locally.
+The TCP adaptation doesn't keep per-connection packet buffers, and reflects
+observed sending windows and acknowledgements between the two sides. This TCP
+adaptation is needed as passt runs without the CAP_NET_RAW capability: it
+can't create raw IP sockets on the pod, and therefore needs to map packets at
+Layer-2 to Layer-4 sockets offered by the host kernel.
+
+Also provides pasta, which similarly to slirp4netns, provides networking to
+containers by creating a tap interface available to processes in the
+namespace, and mapping network traffic outside the namespace using native
+Layer-4 sockets.")
+ (license (list license:gpl2+ license:bsd-3))))
+
(define-public cni-plugins
(package
(name "cni-plugins")
- branch master updated (efdaa885b0 -> 6f5ea7ac1a), guix-commits, 2024/03/02
- 01/11: doc: Add “Getting Started with the System” section., guix-commits, 2024/03/02
- 04/11: build-system/guile: Fix typo in documentation string., guix-commits, 2024/03/02
- 05/11: build-system/guile: Fix indentation., guix-commits, 2024/03/02
- 06/11: build-system/guile: Install .scm files first., guix-commits, 2024/03/02
- 07/11: gnu: llama-cpp: Update to 03bf16., guix-commits, 2024/03/02
- 08/11: gnu: guile-irregex: Update to 0.9.11., guix-commits, 2024/03/02
- 03/11: gnu: Add python-mord., guix-commits, 2024/03/02
- 02/11: doc: Add “Inspecting Services” section., guix-commits, 2024/03/02
- 09/11: gnu: cgit: Update to 8905003cba637e5b18069e625cd4f4c05ac30251., guix-commits, 2024/03/02
- 10/11: gnu: Add passt.,
guix-commits <=
- 11/11: gnu: podman: Update to 4.9.3., guix-commits, 2024/03/02