OK Don,
So I tried to reproduce it on 3.4.1 on a linux system:
default squid.conf adding only couple lines for wccp
$ ./squid -v
Squid Cache: Version 3.4.1
configure options: --enable-ltdl-convenience
$ ./squid -N -d 3
2013/12/19 13:31:07| Set Current Directory to
/usr/local/squid/var/cache/squid
2013/12/19 13:31:07| Starting Squid Cache version 3.4.1 for
x86_64-unknown-linux-gnu...
2013/12/19 13:31:07| Process ID 2965
2013/12/19 13:31:07| Process Roles: master worker
2013/12/19 13:31:07| With 1024 file descriptors available
2013/12/19 13:31:07| Initializing IP Cache...
2013/12/19 13:31:07| DNS Socket created at [::], FD 5
2013/12/19 13:31:07| DNS Socket created at 0.0.0.0, FD 6
2013/12/19 13:31:07| Adding nameserver 80.179.55.100 from /etc/resolv.conf
2013/12/19 13:31:07| Adding nameserver 80.179.52.100 from /etc/resolv.conf
2013/12/19 13:31:07| Logfile: opening log
daemon:/usr/local/squid/var/logs/access.log
2013/12/19 13:31:07| Logfile Daemon: opening log
/usr/local/squid/var/logs/access.log
2013/12/19 13:31:07| WARNING: no_suid: setuid(0): (1) Operation not
permitted
2013/12/19 13:31:07| Store logging disabled
2013/12/19 13:31:07| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2013/12/19 13:31:07| Target number of buckets: 1008
2013/12/19 13:31:07| Using 8192 Store buckets
2013/12/19 13:31:07| Max Mem size: 262144 KB
2013/12/19 13:31:07| Max Swap size: 0 KB
2013/12/19 13:31:07| Using Least Load store dir selection
2013/12/19 13:31:07| Set Current Directory to
/usr/local/squid/var/cache/squid
2013/12/19 13:31:07| Finished loading MIME types and icons.
2013/12/19 13:31:07| Accepting WCCPv2 messages on port 2048, FD 9.
2013/12/19 13:31:07| Initialising all WCCPv2 lists
2013/12/19 13:31:07| HTCP Disabled.
2013/12/19 13:31:07| Squid plugin modules loaded: 0
2013/12/19 13:31:07| Accepting HTTP Socket connections at
local=[::]:3128 remote=[::] FD 10 flags=9
2013/12/19 13:31:08| storeLateRelease: released 0 objects
^C2013/12/19 13:31:24| Preparing for shutdown after 0 requests
2013/12/19 13:31:24| Waiting 0 seconds for active connections to finish
2013/12/19 13:31:24| FD 9 Closing WCCPv2 socket
2013/12/19 13:31:24| Closing HTTP port [::]:3128
2013/12/19 13:31:24| Shutdown: NTLM authentication.
2013/12/19 13:31:24| Shutdown: Negotiate authentication.
2013/12/19 13:31:24| Shutdown: Digest authentication.
2013/12/19 13:31:24| Shutdown: Basic authentication.
with squid.conf addition of:
wccp2_router 1.2.3.4
wccp2_return_method gre
wccp2_forwarding_method gre
wccp2_service standard 0
##END
and the only issue I can see is that as a non root user there are couple
issues:
as a root user:
2013/12/19 13:36:47| Set Current Directory to
/usr/local/squid/var/cache/squid
2013/12/19 13:36:47| Set Current Directory to
/usr/local/squid/var/cache/squid
2013/12/19 13:36:50 kid1| Set Current Directory to
/usr/local/squid/var/cache/squid
2013/12/19 13:36:50 kid1| Starting Squid Cache version 3.4.1 for
x86_64-unknown-linux-gnu...
2013/12/19 13:36:50 kid1| Process ID 3011
2013/12/19 13:36:50 kid1| Process Roles: worker
2013/12/19 13:36:50 kid1| With 1024 file descriptors available
2013/12/19 13:36:50 kid1| Initializing IP Cache...
2013/12/19 13:36:50 kid1| DNS Socket created at [::], FD 7
2013/12/19 13:36:50 kid1| DNS Socket created at 0.0.0.0, FD 8
2013/12/19 13:36:50 kid1| Adding nameserver 80.179.55.100 from
/etc/resolv.conf
2013/12/19 13:36:50 kid1| Adding nameserver 80.179.52.100 from
/etc/resolv.conf
2013/12/19 13:36:50 kid1| Logfile: opening log
daemon:/usr/local/squid/var/logs/access.log
2013/12/19 13:36:50 kid1| Logfile Daemon: opening log
/usr/local/squid/var/logs/access.log
2013/12/19 13:36:50 kid1| Store logging disabled
2013/12/19 13:36:50 kid1| Swap maxSize 0 + 262144 KB, estimated 20164
objects
2013/12/19 13:36:50 kid1| Target number of buckets: 1008
2013/12/19 13:36:50 kid1| Using 8192 Store buckets
2013/12/19 13:36:50 kid1| Max Mem size: 262144 KB
2013/12/19 13:36:50 kid1| Max Swap size: 0 KB
2013/12/19 13:36:50 kid1| Using Least Load store dir selection
2013/12/19 13:36:50 kid1| Set Current Directory to
/usr/local/squid/var/cache/squid
2013/12/19 13:36:50 kid1| Finished loading MIME types and icons.
2013/12/19 13:36:50 kid1| Accepting WCCPv2 messages on port 2048, FD 11.
2013/12/19 13:36:50 kid1| Initialising all WCCPv2 lists
2013/12/19 13:36:50 kid1| HTCP Disabled.
2013/12/19 13:36:50 kid1| Squid plugin modules loaded: 0
2013/12/19 13:36:50 kid1| Accepting HTTP Socket connections at
local=[::]:3128 remote=[::] FD 12 flags=9
2013/12/19 13:36:51 kid1| storeLateRelease: released 0 objects
Which seems kind of fine to me as far as I can tell.
Eliezer
On 19/12/13 00:01, Don Brearley wrote:
Hi Eliezer,
Thanks for the reply! Yes, I was able to compile the latest 3.1.23 and it
worked successfully on FreeBSD 9.2 -- however, going to the latest 3.2 release,
the problem returned. Definitely a regression there.
I'm going to stay on 3.1.23 for now.... thanks for the suggestion!
Can I provide any more information to help address this?
Take Care!
- Don
Eliezer Croitoru 12/17/13 5:47 PM >>>
Hey Don,
For now I have not tested 3.2+ with wccp yet since I do not have all the
resources I had In the past for it now.
I wrote this:
http://wiki.squid-cache.org/ConfigExamples/UbuntuTproxy4Wccp2
And If it works on 3.1 I want to make sure it's a regression between 3.1
to 3.2 3.3.
Can you by any chance compile 3.1 and 3.2 and test it?
The latest 3.1 is 3.1.23 and for 3.2 is 3.2.13.
The sources can be found here:
http://www.squid-cache.org/Versions/
Can you pin-point it to a specific place like the startup or in runtime
of squid?
Would a "squid -k parse" will result in the same issue?
Thanks,
Eliezer
On 17/12/13 22:07, Don Brearley wrote:
Hi Guy,
I just attempted 3.3.9 on FreeBSD 9.2/amd64 and I get the exact same error. What are you doing different than I?
Compiled from source with: --prefix=/usr --disable-ipv6 --enable-wccp2 (tried both with and without ipv6)
The error (with squid -d 256):
2013/12/17 13:21:20 kid1| Ip::Address::GetSockAddr : Cannot convert non-IPv4 to IPv4. from [::]
Assertion failed: (false), function GetSockAddr. file Address.cc, line 966.
here is my wccp2 config from squid.conf
1.2.3.4 = interface on switch with wccp2 enabled
5.6.7.8 = local interface on squid box to listen on
wccp2_router 1.2.3.4
wccp2_return_method gre
wccp2_forwarding_method gre
wccp2_service standard 0
wccp2_address 5.6.7.8
When I comment out "wccp2_router" -- issue disappears.
Thanks again for your help!
- Don