Re[2]: [squid-users] Problem with Squid + Tproxy and Rapdishare

2009-08-28 Thread Farhad Ibragimov
Hello Carlos, Could you help me to configure Squid+TPROXY ? Thursday, August 13, 2009, 5:59:27 AM, you wrote: > problem solved. > in squid.conf > x_forwarded deny localhost ;) > regards > 2009/8/12 Carlos Botejara : >> The problem is the http header. >> check the traffic and saw that x_forward

Re: [squid-users] Problem with Squid + Tproxy and Rapdishare

2009-08-12 Thread Carlos Botejara
problem solved. in squid.conf x_forwarded deny localhost ;) regards 2009/8/12 Carlos Botejara : > The problem is the http header. > check the traffic and saw that x_forwarded header has the following format: > x_forwarded: client-ip, ip-proxy1, ip-proxy2. > In my header, the client ip is there, b

Re: [squid-users] Problem with Squid + Tproxy and Rapdishare

2009-08-11 Thread Carlos Botejara
The problem is the http header. check the traffic and saw that x_forwarded header has the following format: x_forwarded: client-ip, ip-proxy1, ip-proxy2. In my header, the client ip is there, but there is also the ip of the squid. the question is: How do I only see the ip of the client and remove t

Re: [squid-users] Problem with Squid + Tproxy and Rapdishare

2009-08-10 Thread Amos Jeffries
On Mon, 10 Aug 2009 20:30:05 -0300, Carlos Botejara wrote: > OK. > > Ok. I did what you told me, modify the rule, but nothing happened .. > everything remains the same > Rule amended > iptables-t mangle-A PREROUTING-p tcp - dport 80-j TPROXY - tproxy-mark > 0x1/0x1 - on-port 3129 Hm, okay. Then

Re: [squid-users] Problem with Squid + Tproxy and Rapdishare

2009-08-10 Thread Carlos Botejara
OK. Ok. I did what you told me, modify the rule, but nothing happened .. everything remains the same Rule amended iptables-t mangle-A PREROUTING-p tcp - dport 80-j TPROXY - tproxy-mark 0x1/0x1 - on-port 3129 2009/8/9 Amos Jeffries : > On Sun, 9 Aug 2009 10:58:23 -0300, Carlos Botejara >

Re: [squid-users] Problem with Squid + Tproxy and Rapdishare

2009-08-09 Thread Amos Jeffries
On Sun, 9 Aug 2009 10:58:23 -0300, Carlos Botejara wrote: > hi, this is my first post here. > I have a problem, but first I describe the scenario > I have clients with public IP > Mikrotik router redirecting traffic to SQUID > Squid 3.1 with support for TPROXY > Iptables 1.4.4 with support for TPR

[squid-users] Problem with Squid + Tproxy and Rapdishare

2009-08-09 Thread Carlos Botejara
hi, this is my first post here. I have a problem, but first I describe the scenario I have clients with public IP Mikrotik router redirecting traffic to SQUID Squid 3.1 with support for TPROXY Iptables 1.4.4 with support for TPROXY Debian Lenny / Kernel 2.6.28 with support for TPROXY well. The pro