From: Simon Horman <horms@verge.net.au>
To: Jamal Hadi Salim <hadi@cyberus.ca>
Cc: NetDEV list <netdev@vger.kernel.org>
Subject: regression in socket match caused by "net: Fix RPF to work with policy routing"
Date: Mon, 4 Jan 2010 21:04:23 +1100 [thread overview]
Message-ID: <20100104100417.GA7699@verge.net.au> (raw)
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
next reply other threads:[~2010-01-04 10:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-04 10:04 Simon Horman [this message]
2010-01-04 10:13 ` regression in socket match caused by "net: Fix RPF to work with policy routing" jamal
2010-01-04 18:35 ` David Miller
2010-01-05 0:10 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100104100417.GA7699@verge.net.au \
--to=horms@verge.net.au \
--cc=hadi@cyberus.ca \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.