I'm trying to setup squid to work with WCCP.
Cisco box is a 4948 : cat4500-entservicesk9-mz.122-50.SG2.bin
Squid is running on CentOS 5.3
Squid Cache: Version 2.6.STABLE21
configure options: '--build=x86_64-redhat-linux-gnu'
'--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin'
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--includedir=/usr/include'
'--libdir=/usr/lib64' '--libexecdir=/usr/libexec'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--exec_prefix=/usr' '--bindir=/usr/sbin'
'--libexecdir=/usr/lib64/squid' '--localstatedir=/var'
'--datadir=/usr/share' '--sysconfdir=/etc/squid' '--enable-epoll'
'--enable-snmp' '--enable-removal-policies=heap,lru'
'--enable-storeio=aufs,coss,diskd,null,ufs' '--enable-ssl'
'--with-openssl=/usr/kerberos' '--enable-delay-pools'
'--enable-linux-netfilter' '--with-pthreads'
'--enable-ntlm-auth-helpers=SMB,fakeauth'
'--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group'
'--enable-auth=basic,digest,ntlm' '--enable-digest-auth-helpers=password'
'--with-winbind-auth-challenge' '--enable-useragent-log'
'--enable-referer-log' '--disable-dependency-tracking'
'--enable-cachemgr-hostname=localhost' '--enable-underscores'
'--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL'
'--enable-cache-digests' '--enable-ident-lookups'
'--enable-follow-x-forwarded-for' '--enable-wccpv2' '--enable-fd-config'
'--with-maxfd=16384' 'build_alias=x86_64-redhat-linux-gnu'
'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu'
'CFLAGS=-D_FORTIFY_SOURCE=2 -fPIE -Os -g -pipe -fsigned-char' 'LDFLAGS=-pie'
Squid.conf:
http_port 8080 transparent
wccp2_router <switch loopback>
wccp2_version 4
wccp2_forwarding_method 1
wccp2_return_method 1
wccp2_service standard 0
wccp2_address 0.0.0.0
modprobe ip_gre
ip tunnel add wccp0 mode gre remote 10.103.7.41 local 10.138.232.90 dev eth0
ip addr add 10.138.232.90/32 dev wccp0
ip link set wccp0 up
echo 0 >/proc/sys/net/ipv4/conf/wccp0/rp_filter
iptables -t nat -A PREROUTING -p tcp -i wccp0 -j REDIRECT --to-ports 8080
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-ports 8080
doning a "debug ip wccp events" on the cisco box I get WCCP-EVNT:S00:
Here_I_Am packet from <IP_OF_PROXY> w/bad rcv_id 00000000
Please let me know what other info I can provide.
Thanks,
Paul
-- View this message in context: http://old.nabble.com/WCCP-EVNT%3AS00%3A-Here_I_Am-packet-from-%3CIP_OF_PROXY%3E-w-bad-rcv_id-00000000-tp26321526p26321526.html Sent from the Squid - Users mailing list archive at Nabble.com.Received on Thu Nov 12 2009 - 16:16:17 MST
This archive was generated by hypermail 2.2.0 : Thu Nov 19 2009 - 12:00:03 MST