netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* regression in socket match caused by "net: Fix RPF to work with policy routing"
@ 2010-01-04 10:04 Simon Horman
  2010-01-04 10:13 ` jamal
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Horman @ 2010-01-04 10:04 UTC (permalink / raw)
  To: Jamal Hadi Salim; +Cc: NetDEV list

Hi Jamal,

the patch "net: Fix RPF to work with policy routing",
which was added between 2.6.32-rc5 and rc6 seems to
cause a regression when using the socket match.

In particular I'm using IP_TRANSPARENT as detailed
in Documentation/networking/tproxy.txt with the following
rules:

iptables -t mangle -N DIVERT
iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
iptables -t mangle -A DIVERT -j MARK --set-mark 1
iptables -t mangle -A DIVERT -j ACCEPT
ip rule add fwmark 1 lookup 100
ip route add local 0.0.0.0/0 dev lo table 100


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

end of thread, other threads:[~2010-01-05  0:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-04 10:04 regression in socket match caused by "net: Fix RPF to work with policy routing" Simon Horman
2010-01-04 10:13 ` jamal
2010-01-04 18:35   ` David Miller
2010-01-05  0:10     ` Simon Horman

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