netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* XFRM interface and NF_INET_LOCAL_OUT hook
@ 2020-11-25 11:23 Phil Sutter
  2020-11-26  9:40 ` Steffen Klassert
  0 siblings, 1 reply; 8+ messages in thread
From: Phil Sutter @ 2020-11-25 11:23 UTC (permalink / raw)
  To: Steffen Klassert; +Cc: linux-crypto, netfilter-devel

Hi Steffen,

I am working on a ticket complaining about netfilter policy match
missing packets in OUTPUT chain if XFRM interface is being used.

I don't fully overlook the relevant code path, but it seems like
skb_dest(skb)->xfrm is not yet assigned when the skb is routed towards
XFRM interface and already cleared again (by xfrm_output_one?) before it
makes its way towards the real output interface. NF_INET_POST_ROUTING
hook works though.

Is this a bug or an expected quirk when using XFRM interface?

Cheers, Phil

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-12-07 12:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-25 11:23 XFRM interface and NF_INET_LOCAL_OUT hook Phil Sutter
2020-11-26  9:40 ` Steffen Klassert
2020-11-26 13:12   ` Phil Sutter
2020-11-27  9:55     ` Steffen Klassert
2020-11-27 14:10       ` Phil Sutter
2020-12-02 13:18         ` Steffen Klassert
2020-12-07 12:35           ` Phil Sutter
2020-12-07 12:38           ` Nicolas Dichtel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).