Re: [squid-users] Implement Tproxy on Debian squeeze

From: David Touzeau <david_at_touzeau.eu>
Date: Fri, 02 Mar 2012 18:33:49 +0100

There is bad news, backports did not change something according Tproxy
Only kernel 3.2x is available on backports repository.

apt-get install -t squeeze-backports linux-image-3.2.0-0.bpo.1-686-pae
apt-get install -t squeeze-backports upgrade
reboot
my kernel is now
Linux squid32.localhost.localdomain 3.2.0-0.bpo.1-686-pae #1 SMP Sat Feb
11 14:57:20 UTC 2012 i686 GNU/Linux

  iptables -t tproxy -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j
TPROXY --on-port 80
WARNING: All config files need .conf: /etc/modprobe.d/fuse, it will be
ignored in a future release.
iptables v1.4.8: can't initialize iptables table `tproxy': Table does
not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded

grep -i iptables /boot/config-`uname -r`
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP6_NF_IPTABLES=m
# iptables trigger is under Netfilter config (LED target)

SNIF, SNIF

Le 02/03/2012 17:03, David Touzeau a crit :
> iptables -t tproxy -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j
> TPROXY --on-port 80
Received on Fri Mar 02 2012 - 17:34:02 MST

This archive was generated by hypermail 2.2.0 : Sat Mar 03 2012 - 12:00:02 MST