From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Vjqh3YeU; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id 69E105A061A for ; Wed, 11 Dec 2024 11:01:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1733911265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OAsgtNeqApCUaRo/Rrk4LSgQ41y+Qtl3dq1+jput7TU=; b=Vjqh3YeUVfF8pAxLu4n/LeNU070cR5gLU/C5VSNuWDH2xC4HlqyFJitpkdXAFQIIGkXVVi PSnuajZl82TbWIxsJgFkBRMxt/lmPO1ION1RF4YWOpFL76eIc3bIvaJl60DV6vvqMHa1Xu CSbSI8RzleUWGok+dGXwVOvBPAVpkHI= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-451-Hse_-j9QMtqbOdDa7Gvonw-1; Wed, 11 Dec 2024 05:01:04 -0500 X-MC-Unique: Hse_-j9QMtqbOdDa7Gvonw-1 X-Mimecast-MFC-AGG-ID: Hse_-j9QMtqbOdDa7Gvonw Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4361a8fc3bdso2027365e9.2 for ; Wed, 11 Dec 2024 02:01:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733911262; x=1734516062; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=OAsgtNeqApCUaRo/Rrk4LSgQ41y+Qtl3dq1+jput7TU=; b=wlGgB9VmMz421OzrmZseIIEVcJgQXio5TYmrvykBcL09MGoROMT53osKZwPHsetN9O w93HBsgxIqruSYlz1HRZIxrWkWwEZJIUddvpbYz0jGFiFuPHckdeT9WhDMiKOzCgU+bs Thxk5bgJ5PcnyyZ6LnS/kEZYdV2AJhUIdSfhYlfbCmfhsjBNOTqSYcmrFNXdYUI1J0WB h2SpE+EZwV6tZy8YsMyR1QvxxN1527f54bHvKsmUYZHCT+n1pxLuuEo7INTzz7qsfCfe CFKgb9CWBn1r2J8Z2crM5EGaAjsagoYBwU/ZARbS2oeaJlgj750y7yJQJA+qJODkOdTK ifpA== X-Gm-Message-State: AOJu0YyIN4z8rQkEfu1+JhBcIdrP7czg72MSZPfet4Opsel95BzHxrqA IEJ8m4Qy//0n0ciCOt/ajz1pfPSUvscx59dxWE4cOMsDX4evT2XUV9j/VHWS/LRcwl2uK4SBwAl iQJKdD3pCFLztmHAQ4fV+5RvUI0sTgk9pAL6gVIaLASPjiB55IJIoM+B3GgJUdh5SnQ46sc8K5C 0NckTjpxO/mY5M44hbQrabcE2EuSksSL5g X-Gm-Gg: ASbGncsklCGxny3ltL6BYMPZyJReTkWMkvx1wi93L48dbsHzuuY5av+o5lwuVVrxVTl k3jfkHSIEQg8iBuetgrSyOlP0eA89PCVU032hxBJ9o8s8TGjvvvojlt5UcfFYEQ3mtmOLwjRWWz Fl54TfEr9W8fPeezElSVWGDBlOhZfehqdKv3EkuI9kaKqSxXgkOKIyT8haPUIp6U2HBio/6cPHk 9pMd3hB/7Hf4h2ahAXUDvq3i+IsCAfmDVt42ASQzKfdUnzFHdxErICcCwin0Kzh1g== X-Received: by 2002:a05:600c:3acf:b0:434:f871:1b96 with SMTP id 5b1f17b1804b1-4361c4295b1mr14219465e9.29.1733911262118; Wed, 11 Dec 2024 02:01:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyudB/qhuCfE5TfllR/qYabr3NlEM26XdeABRwzMSB7j+Sn3odB4SEKvBrmHj97CoZvkiL+Q== X-Received: by 2002:a05:600c:3acf:b0:434:f871:1b96 with SMTP id 5b1f17b1804b1-4361c4295b1mr14219145e9.29.1733911261718; Wed, 11 Dec 2024 02:01:01 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-435017d724esm62379955e9.19.2024.12.11.02.01.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2024 02:01:01 -0800 (PST) Date: Wed, 11 Dec 2024 11:00:59 +0100 From: Stefano Brivio To: Jon Maloy Subject: Re: [PATCH v5] pasta: make it possible to disable socket splicing Message-ID: <20241211110059.776e0736@elisabeth> In-Reply-To: <20241210183645.17626-1-jmaloy@redhat.com> References: <20241210183645.17626-1-jmaloy@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: fY9Dc4n-mJ44twTKEZ91o76fYcCZeNCJKcl2QlGqHnw_1733911263 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 53WGH3AZUJFKGTFVNQVKXY3FOXEGBO6G X-Message-ID-Hash: 53WGH3AZUJFKGTFVNQVKXY3FOXEGBO6G X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top, lvivier@redhat.com, dgibson@redhat.com X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Tue, 10 Dec 2024 13:36:45 -0500 Jon Maloy wrote: > During testing it is sometimes useful to force traffic which would > normally be forwared by socket splicing through the tap interface. > > In this commit, we add a command switch enabling such funtionality > for inbound local traffic. > > For outbound local traffic this is much trickier, if even possible, > so leave that for a later commit. > > Suggested-by: David Gibson > Signed-off-by: Jon Maloy > > --- > v2: Some minor changes based on feedback from PASST team > v3: More changes based on feedback from D. Gibson and S. Brivio > -Moved new option to pasta-only section > -Added description to man-page > v4: -Changed test on (mode == PASST) to (mode != PASTA) as > suggested by Stefano Brivio. > v5: -Updated text in man pages as suggested by Stefano Brivio. Applied. -- Stefano