Disable rp_filter for IPsec packets
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v11 patch 9 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fib_validate_source(): pass sk_buff instead of markinclude/ net/ net/ | +15 | 0 replies | |
| 2/2 | Disable rp_filter for IPsec packetsinclude/ net/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] Disable rp_filter for IPsec packets
The reverse path filter interferes with IPsec subnet-to-subnet tunnels, especially when the link to the IPsec peer is on an interface other than the one hosting the default route.
IPsec provides a much stronger anti-spoofing policy than rp_filter, so this patch disables the rp_filter for packets with a security path.
Patch is against net-next.
(old discussion here: http://patchwork.ozlabs.org/patch/86826/)
Michael Smith (2):
fib_validate_source(): pass sk_buff instead of mark Disable rp_filter for IPsec packets
include/net/ip_fib.h | 6 +++--- include/net/xfrm.h | 9 +++++++++ net/ipv4/fib_frontend.c | 16 +++++++++------- net/ipv4/route.c | 16 ++++++++-------- 4 files changed, 29 insertions(+), 18 deletions(-)