netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Disable rp_filter for IPsec packets
@ 2011-04-07 14:51 Michael Smith
  2011-04-07 14:51 ` [PATCH v2 1/2] fib_validate_source(): pass sk_buff instead of mark Michael Smith
  2011-04-11  1:51 ` [PATCH v2 0/2] " David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Smith @ 2011-04-07 14:51 UTC (permalink / raw)
  To: netdev

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(-)


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

end of thread, other threads:[~2011-04-11  1:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07 14:51 [PATCH v2 0/2] Disable rp_filter for IPsec packets Michael Smith
2011-04-07 14:51 ` [PATCH v2 1/2] fib_validate_source(): pass sk_buff instead of mark Michael Smith
2011-04-07 14:51   ` [PATCH v2 2/2] Disable rp_filter for IPsec packets Michael Smith
2011-04-11  1:51 ` [PATCH v2 0/2] " David Miller

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).