./configure -enable-wccpv2 gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../include -g -O2 -Wall -D_REENTRANT -c `test -f wccpv2.c || echo './'`wccpv2.c wccpv2.c: In function `wccp2HandleUdp': wccpv2.c:338: warning: unused variable `tmp' wccpv2.c: In function `wccp2AssignBuckets': wccpv2.c:442: warning: unused variable `wccp2_assign_bucket' wccpv2.c:443: warning: unused variable `buckets_per_cache' wccpv2.c:444: warning: unused variable `loop' wccpv2.c:445: warning: unused variable `number_caches' wccpv2.c:447: warning: unused variable `caches' wccpv2.c:448: warning: unused variable `offset' wccpv2.c:449: warning: unused variable `buckets' wccpv2.c:450: warning: unused variable `buf'
and the following is my wccpv2 file. Thank you, Wil _____________________________________ << File: wccpv2.o >> << File: wccpv2.c >> ________ From: Wilhelm Farrugia [mailto:[EMAIL PROTECTED] Sent: 09 November 2004 09:24 To: 'Henrik Nordstrom' Cc: '[EMAIL PROTECTED]' Subject: RE: [squid-users] WCCPv2 on Fedora CORE 2 Hello, By the way the following is the list of packages: autoconf-2.59-3 autoconf213-2.13-8 automake-1.8.3-1 automake15-1.5-10 cannot uninstall autoconf-2.59-3 or automake-1.8.3-1 since libtool depends on them. ./bootstrap.sh configure.in:1286: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1387: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1388: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1389: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1390: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1391: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1392: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1393: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1394: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1395: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1396: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1777: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1806: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1830: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1286: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1382: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1383: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1384: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1385: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1386: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1387: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1388: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1389: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1390: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1391: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1392: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1393: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1394: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1395: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1396: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1777: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1806: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:1830: warning: AC_TRY_RUN called without default to allow cross compiling Autotool bootstrapping complete. Thank you, Wil _____________________________________________ From: Wilhelm Farrugia [mailto:[EMAIL PROTECTED] Sent: 09 November 2004 08:25 To: 'Henrik Nordstrom' Cc: '[EMAIL PROTECTED]' Subject: RE: [squid-users] WCCPv2 on Fedora CORE 2 Hello Henrik, What about this: This is the output using tcpdump | grep 2048: 08:18:23.927575 IP ebula.mt.net.2048 > router_wccp.mt.net.2048: UDP, length 120 08:18:23.929018 IP router_wccp.mt.net.2048 > ebula.mt.net.2048: UDP, length 184 08:18:45.127206 IP ebula.mt.net.2048 > router_wccp.mt.net.2048: UDP, length 120 08:18:45.128511 IP router_wccp.mt.net.2048 > ebula.mt.net.2048: UDP, length 184 08:19:05.198747 IP ebula.mt.net.2048 > router_wccp.mt.net.2048: UDP, length 120 08:19:05.200058 IP router_wccp.mt.net.2048 > ebula.mt.net.2048: UDP, length 184 And this is the list of wccp routers in my config: wccp2_router 194.168.106.10 wccp2_router 194.168.106.11 wccp2_router 194.168.106.12 wccp2_router 194.168.106.13 where ebula.mt.net -> 194.168.106.13 Why is squid sending hello packets to the last router in the list only ? Thank you, Wilhelm -----Original Message----- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Sent: 08 November 2004 11:42 To: Wilhelm Farrugia Cc: 'Henrik Nordstrom'; [EMAIL PROTECTED] Subject: RE: [squid-users] WCCPv2 on Fedora CORE 2 On Mon, 8 Nov 2004, Wilhelm Farrugia wrote: > Thank for the illumination, have compiled squid with wccp2. > > However now I have another problem, the following is the output form : > > Is there a reason why the cache is usable, however it has no hash allotment > ? Looks like a bug somewhere, quite likely in the WCCPv2 support for Squid. Regards Henrik
