From: KOVACS Krisztian <hidden@balabit.hu>
To: netdev@vger.kernel.org, netfilter-devel@vger.kernel.org
Cc: Patrick McHardy <kaber@trash.net>, David Miller <davem@davemloft.net>
Subject: [PATCH 0/3] tproxy fixes for current upstream code
Date: Wed, 20 Oct 2010 13:21:42 +0200 [thread overview]
Message-ID: <20101020112142.6538.25550.stgit@este.odu> (raw)
The following series fix a handful of issues which have been found in the
current upstream IPv4 tproxy code:
* an issue with how port redirection interacts with TCP TIME_WAIT sockets
* UDP socket lookup fixes so that now it prefers connected sockets, etc.
* fix for a bind hash issue which could trigger crashes when port redirection
was used.
---
Balazs Scheidler (2):
tproxy: kick out TIME_WAIT sockets in case a new connection comes in with the same tuple
tproxy: add lookup type checks for UDP in nf_tproxy_get_sock_v4()
KOVACS Krisztian (1):
tproxy: fix hash locking issue when using port redirection in __inet_inherit_port()
include/net/inet_hashtables.h | 2 -
include/net/netfilter/nf_tproxy_core.h | 120 +++++++++++++++++++++++++++++++-
net/dccp/ipv4.c | 10 ++-
net/dccp/ipv6.c | 10 ++-
net/ipv4/inet_hashtables.c | 28 +++++++
net/ipv4/tcp_ipv4.c | 10 ++-
net/ipv6/tcp_ipv6.c | 12 ++-
net/netfilter/nf_tproxy_core.c | 35 ---------
net/netfilter/xt_TPROXY.c | 68 +++++++++++++++++-
net/netfilter/xt_socket.c | 2 -
10 files changed, 238 insertions(+), 59 deletions(-)
--
KOVACS Krisztian
next reply other threads:[~2010-10-20 12:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 11:21 KOVACS Krisztian [this message]
2010-10-20 11:21 ` [PATCH 1/3] tproxy: kick out TIME_WAIT sockets in case a new connection comes in with the same tuple KOVACS Krisztian
2010-10-21 10:45 ` Patrick McHardy
2010-10-20 11:21 ` [PATCH 2/3] tproxy: add lookup type checks for UDP in nf_tproxy_get_sock_v4() KOVACS Krisztian
2010-10-21 10:48 ` Patrick McHardy
2010-10-20 11:21 ` [PATCH 3/3] tproxy: fix hash locking issue when using port redirection in __inet_inherit_port() KOVACS Krisztian
2010-10-21 11:08 ` Patrick McHardy
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=20101020112142.6538.25550.stgit@este.odu \
--to=hidden@balabit.hu \
--cc=davem@davemloft.net \
--cc=kaber@trash.net \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@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 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).