Re: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-20 Thread Amos Jeffries
On 20/07/2012 10:53 p.m., Ioannis Pliatsikas wrote: Unknown capability type in WCCPv2 Packet Your cisco is advertising two capability types (4 & 5) which are not defined in the WCCPv2 protocol document. It is not a major problem. Squid ignores them. You can silence them with this (when the

Re: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-20 Thread Eliezer Croitoru
On 7/20/2012 1:53 PM, Ioannis Pliatsikas wrote: I'm trying to setup a transparent proxy with squid using wccpv2 and a 4507 (ios v15.1) Cisco switch. Tried using out of the box rpm package, 3.1.20 on Opensuse 12.1 with no luck. My cache.log kept filling with "Unknown capability type in WCCPv2 Pac

RE: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-20 Thread Yiannis Pliatsikas
-Original Message- From: Eliezer Croitoru [mailto:elie...@ngtech.co.il] Sent: Saturday, July 21, 2012 5:58 AM To: squid-users@squid-cache.org Subject: Re: [squid-users] Squid + Cisco 4500 + WCCP2 On 7/20/2012 1:53 PM, Ioannis Pliatsikas wrote: > I'm trying to setup a transpare

RE: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-24 Thread Ioannis Pliatsikas
Thanks all managed to get it partially working Cisco redirecting traffic to squid but squid is not accepting it. Used iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 to redirect all incoming traffic to squid port but access.log shows no activity tcpdu

Re: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-24 Thread Amos Jeffries
On 24/07/2012 7:13 p.m., Ioannis Pliatsikas wrote: Thanks all managed to get it partially working Cisco redirecting traffic to squid but squid is not accepting it. Used iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 to redirect all incoming traffic to s

Re: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-24 Thread Indunil Jayasooriya
>>> >>> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT >>> --to-port 8080 >>> >>> to redirect all incoming traffic to squid port but access.log shows no >>> activity >>> >>> > >have you added this below rule ( if squid listens on port 8080 ) > > iptables -A INPU

RE: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-25 Thread Ioannis Pliatsikas
Very sorry for bothering you again although i get the redirection from the router to squid, using tcpdump (10.72.192.61 test internal address) 11:38:37.956330 IP 199.47.218.151.80 > 10.72.192.61.50690: Flags [S.], seq 1048613649, ack 1347334415, win 14600, options [mss 1460,nop,nop,sackOK,no

Re: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-25 Thread Indunil Jayasooriya
On Wed, Jul 25, 2012 at 3:04 PM, Indunil Jayasooriya wrote: > > > Can your squid box to go to internet ? ( Pls check /etc/resolv.conf file ) > > How many interfaces does your squid box have? > > 1 or 2 ? > > in /etc/sysctl.conf file , pls check net.ipv4.ip_forward parameter? try > to make it to

Re: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-25 Thread Ioannis Pliatsikas
Only 1 interface is available Sorry. forgot to add that i have also configured that echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter echo 1 > /proc/sys/net/ipv4/ip_forward Thank you John On Wed, 25 Jul 2012 15:05:33 +0530, Indunil Jayasooriy

Re: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-25 Thread Amos Jeffries
On 25/07/2012 10:29 p.m., Ioannis Pliatsikas wrote: Only 1 interface is available Sorry. forgot to add that i have also configured that echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter echo 1 > /proc/sys/net/ipv4/ip_forward There is another r