Re: [Devel] Re: [squid-users] TPROXY on squid-2.6S1

2006-07-12 Thread tino
Hi, Steven I just ifconfig gre0 with ip address which in the same subnet with loopback 0 router. After revise my squid.conf and iptables -t tproxy command, I saw increment at wccp router as my laptop try to surf. Service Identifier: 80 Number of Cache Engines: 1

Re: Tproxy patch

2006-07-12 Thread Adrian Chadd
On Wed, Jul 12, 2006, Henrik Nordstrom wrote: Redefining it like this isn't entirely safe as there may have been type declarations dependent on in in the included headers. But hopefully those where included by squid.h before it got redefined... Ah, there it is. We should be including

Re: [Devel] Re: [squid-users] TPROXY on squid-2.6S1

2006-07-12 Thread tino
Hi, Steve finally it work Here is my step : -install squid-2.6.s1 + FD-patch_from_you + cttproxy-patch from balabit for kernel iptables tproxy -create gre tunnel insmod ip_gre ifconfig gre0 use ip address within loopback0 router subnet up -disable rp_filter enable forwarding echo 0

Re: Tproxy patch

2006-07-12 Thread Gonzalo Arana
Cool, this fixes what some people have been telling me about FD limits under Squid-2.6 being stuck at 1024. Good find! If the limit comes from select(2) limits, people should consider shifting to epoll or kevent/kqueue, since they scale much better. Using select(2) with too many FDs is not