On Dec 17, 2013, at 1:44 PM, Don Brearley <donbrearley@xxxxxxxxxxx> wrote: >>> What version of squid are you running, and which OS is it on? Thanks! >> >> squid 3.3.9 on FreeBSD 9.2. >> >> Regards, >> Guy > > 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. I haven’t used wccp2_return_method or wccp2_forwarding_method in my configurations but both default to ‘gre’ anyway. I build squid using the FreeBSD port infrastructure. configure seems to have been run with these options: '--with-default-user=squid' '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' '--localstatedir=/var' '--sysconfdir=/usr/local/etc/squid' '--with-logdir=/var/log/squid' '--with-pidfile=/var/run/squid/squid.pid' '--with-swapdir=/var/squid/cache/squid' '--enable-auth' '--enable-build-info' '--enable-loadable-modules' '--enable-removal-policies=lru heap' '--disable-epoll' '--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-translation' '--enable-auth-basic=DB MSNT MSNT-multi-domain NCSA PAM POP3 RADIUS fake getpwnam NIS' '--enable-auth-digest=file' '--enable-external-acl-helpers=file_userip time_quota unix_group' '--enable-auth-negotiate=kerberos wrapper' '--enable-auth-ntlm=fake smb_lm' '--enable-storeio=diskd rock ufs aufs' '--enable-disk-io=AIO Blocking DiskDaemon IpcIo Mmapped DiskThreads' '--enable-log-daemon-helpers=file' '--enable-url-rewrite-helpers=fake' '--disable-ipv6' '--disable-snmp' '--enable-ssl' '--with-openssl=/usr' '--enable-ssl-crtd' '--enable-htcp' '--disable-forw-via-db' '--disable-cache-digests' '--enable-wccp' '--enable-wccpv2' '--disable-ident-lookups' '--disable-eui' '--enable-ipfw-transparent' '--disable-pf-transparent' '--disable-ipf-transparent' '--disable-follow-x-forwarded-for' '--disable-ecap' '--enable-icap-client' '--disable-esi' '--enable-kqueue' '--enable-stacktraces' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd9.2' 'build_alias=i386-portbld-freebsd9.2' 'CC=cc' 'CFLAGS=-O2 -pipe -I/usr/include -g -fno-strict-aliasing' 'LDFLAGS= -pthread -Wl,-rpath=/usr/lib:/usr/local/lib -L/usr/lib' 'CPPFLAGS=' 'CXX=c++' 'CXXFLAGS=-O2 -pipe -I/usr/include -g -fno-strict-aliasing' 'CPP=cpp' --enable-ltdl-convenience There are a few patches to the source in the FreeBSD port (/usr/ports/www/squid33/files), but doubt they would affect this: -rw-r--r-- 1 ghelmer wheel 549 Nov 15 09:11 extra-patch-src-cf.data.pre.noipv6 -rw-r--r-- 1 ghelmer wheel 324 Dec 9 08:23 patch-compat__stdio.h -rw-r--r-- 1 ghelmer wheel 1823 Dec 9 08:23 patch-configure -rw-r--r-- 1 ghelmer wheel 961 Dec 9 08:23 patch-include__Array.h -rw-r--r-- 1 ghelmer wheel 390 Dec 9 08:23 patch-include__autoconf.h.in -rw-r--r-- 1 ghelmer wheel 435 Nov 15 09:11 patch-src-cf.data.pre Guy
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail