🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Jakub Kicinski Thu, 19 Nov 2026 02:27
Re: [PATCH net 1/3] net/sched: act_mirred: don't send decrypted skbs from egress to ingress
#18907
Author: Jakub Kicinski
Date: Thu, 19 Nov 2026 02:27
18 lines
9204 bytes
On Fri, 13 Nov 2026 10:55:51 -0800 Todd Freed wrote:
> On transmit, skb->decrypted means that the device must encrypt the
> packet, e.g. a packet of a kTLS or PSP device offload socket.
> 
> On receive, skb->decrypted means that the device decrypted the packet,
> and kTLS device offload trusts it as such (tls_device_decrypted()).
> 
> A packet which mirred redirects or mirrors from egress to ingress keeps
> the bit. On ingress, it then claims to have been decrypted by the device,
> although it was never encrypted, and its payload, which was to be
> encrypted before leaving the host, could then be forwarded in cleartext.

I don't get it, TBH. The bit says the data is in cleartext, and as you
flag we can't forget that. But my understanding was that the only thing
we have to guarantee about such packet is that never _leaves the host_
as clear text. Within the host it is clear text, whether its coming in
or going out. Can you ELI5 what the problem is?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads