Re: [PATCH net 1/3] net/sched: act_mirred: don't send decrypted skbs from egress to ingress
From: Todd Bert Freed
Date: Thu Nov 19 2026 - 14:07:08 EST
> > 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?
Ok, redirect from egress to ingress can't leak clear text onto the
network. I will drop the mirred and bpf patches.
The clear text leaks have all been fixed in other ways in the net and nf-next
series (extension headers, fragmentation, icmp quoting). This part is
not needed.
-Todd