netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laszlo Attila Toth <panther@balabit.hu>
To: Netfilter Developer Mailing List
	<netfilter-devel@vger.kernel.org>,
	Patrick McHardy <kaber@trash.net>
Subject: [PATCH 0/2] TProxy: socket match: transparent option, removed nf_conntrack dependency
Date: Fri, 24 Apr 2009 15:26:53 +0200	[thread overview]
Message-ID: <49F1BE1D.4040408@balabit.hu> (raw)

Hi Patrick,

we extended a missing feature of the socket match that it can check the 
'transparent' member of the socket's structure. The original behaviour 
was that all of the sockets matched if they weren't listening on the 
0.0.0.0 IP address, even if they were unrelated to the TProxy, such as 
ssh or other servers.

The IP_TRANSPARENT socket option is always set for the sockets using the 
TProxy, thus the following patch lets matching only these:

   iptables ... -m socket --transparent ...

When I tested the new option, I found that NETFILTER_TPROXY depends on 
NF_CONNTRACK, which is unwanted, it works without it.

-- 
Panther

                 reply	other threads:[~2009-04-24 13:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=49F1BE1D.4040408@balabit.hu \
    --to=panther@balabit.hu \
    --cc=kaber@trash.net \
    --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).