Skip to contentSkip to conversation

doc: Document limitations of ipsec expression with xfrm_interface

PATCH New Phil Sutter 1 participant 1 message Jun 23, 2022 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/1 doc: Document limitations of ipsec expression with xfrm_interface

Point at a possible solution to match IPsec info of locally generated traffic routed to an xfrm-type interface.

---
 doc/primary-expression.txt | 4 ++++
 1 file changed, 4 insertions(+)
doc/primary-expression.txt +4 -0
index f97778b9762b5..4d6b0878b2529 100644
@@ -428,6 +428,10 @@ Destination address of the tunnel|
 ipv4_addr/ipv6_addr
 |=================================
 
+*Note:* When using xfrm_interface, this expression is not useable in output
+hook as the plain packet does not traverse it with IPsec info attached - use a
+chain in postrouting hook instead.
+
 NUMGEN EXPRESSION
 ~~~~~~~~~~~~~~~~~
 
Signature · 1 line
2.34.1