From: Brian G <bgunlogson5@comcast.net>
To: netfilter@vger.kernel.org
Subject: TPROXY doesn't properly close connections in Linux 2.6.39
Date: Sun, 07 Oct 2012 18:38:40 -0500 [thread overview]
Message-ID: <50721280.4020401@comcast.net> (raw)
I've been using TPROXY for a transparent HTTP proxy. I've noticed that
it is not closing the connection when the other side does.
The module is marked EXPERIMENTAL in Linux kernel 2.6.39. What is the
oldest version of the Kernel that TPROXY is not marked EXPERIMENTAL, so
I can upgrade to that Kernel? Or is TPROXY still marked EXPERIMENTAL in
the latest kernels?
Why is TPROXY marked as EXPERIMENTAL? Are there any known bugs in 2.6.39?
Here is the firewall script I am using to setup TPROXY:
ip -f inet rule add fwmark 1 lookup 100
ip -f inet route add local default dev eth0 table 100
echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
iptables -t mangle -N DIVERT
iptables -t mangle -A DIVERT -j MARK --set-mark 1
iptables -t mangle -A DIVERT -j ACCEPT
iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY
--tproxy-mark 0x1/0x1 --on-port 12380
next reply other threads:[~2012-10-07 23:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-07 23:38 Brian G [this message]
2012-10-08 1:07 ` TPROXY doesn't properly close connections in Linux 2.6.39 Brian G
2012-10-08 19:04 ` Eliezer Croitoru
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=50721280.4020401@comcast.net \
--to=bgunlogson5@comcast.net \
--cc=netfilter@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.