<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA1 <br>
<br>
<br>
20.01.2015 23:11, Odhiambo Washington пишет:<br>
<span style="white-space: pre;">><br>
><br>
> On 20 January 2015 at 16:16, Odhiambo Washington
<<a class="moz-txt-link-abbreviated" href="mailto:odhiambo@gmail.com">odhiambo@gmail.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:odhiambo@gmail.com"><mailto:odhiambo@gmail.com></a>>
wrote:<br>
><br>
><br>
><br>
> On 20 January 2015 at 15:17, Amos Jeffries
<<a class="moz-txt-link-abbreviated" href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a> <a class="moz-txt-link-rfc2396E" href="mailto:squid3@treenet.co.nz"><mailto:squid3@treenet.co.nz></a>>
wrote:<br>
><br>
> -----BEGIN PGP SIGNED MESSAGE-----<br>
> Hash: SHA1<br>
><br>
> I have just fixed a few clang detected build errors
and 3.5 is now<br>
> building cleanly here on FreeBSD 10 with the default
Clang.<br>
><br>
> Please try to build the latest 3.5 snapshot (which
will be labeled<br>
> r13735 or higher). It should build fine with either
the system default<br>
> clang compiler or your GCC 4.9 install, but not with
the system<br>
> default GCC 4.4.<br>
><br>
><br>
> I will check on that.<br>
> However, I earlier today managed to compile 3.5.0.4 using
clang. The problem I have been facing now is about 'forwarding
loop detected' over and over... checking on my PF rules hasn't
yielded anything. <br>
> And I am now wondering why 3.4.11 wasn't seeing these
forwarding loops..</span><br>
May be, It has another configuration? I.e - has not redirectors, or
web-server on another port, or another NAT settings?<br>
<span style="white-space: pre;">><br>
><br>
><br>
><br>
> > (gdb) bt #0 0x0000000803a30469 in swapcontext
() from<br>
> > /lib/libthr.so.3 #1 0x0000000803a30062 in
sigaction () from<br>
> > /lib/libthr.so.3 #2 <signal handler
called> #3 0x0000000803d6b04a<br>
> > in kevent () from /lib/libc.so.7 #4
0x000000000086335c in<br>
> > Comm::DoSelect (msec=981) at ModKqueue.cc:264<br>
><br>
><br>
> Looks like a bug in the system threading library.
Though why Squid is<br>
> triggering it is unknown. Maybe related to the two
GCC versions with<br>
> different libc perhapse?<br>
><br>
><br>
> I only have one gcc version on my system -gcc49<br>
><br>
><br>
><br>
>
<a class="moz-txt-link-abbreviated" href="mailto:root@mail:/home/wash/ILI/Squid/3.5/squid-3.5.1-20150120-r13736">root@mail:/home/wash/ILI/Squid/3.5/squid-3.5.1-20150120-r13736</a> #
/opt/squid35/sbin/squid -v<br>
> Squid Cache: Version 3.5.1-20150120-r13736<br>
> Service Name: squid<br>
> configure options: '--prefix=/opt/squid35'
'--enable-removal-policies=lru heap' '--disable-epoll'
'--enable-auth' '--enable-auth-basic=DB NCSA PAM PAM POP3 SSPI'
'--enable-external-acl-helpers=session unix_group file_userip'
'--enable-auth-negotiate=kerberos' '--with-pthreads'
'--enable-storeio=ufs diskd rock aufs' '--enable-delay-pools'
'--enable-snmp' '--with-openssl=/usr' '--enable-forw-via-db'
'--enable-cache-digests' '--enable-wccpv2'
'--enable-follow-x-forwarded-for' '--with-large-files'
'--enable-large-cache-files' '--enable-esi' '--enable-kqueue'
'--enable-icap-client' '--enable-kill-parent-hack' '--enable-ssl'
'--enable-leakfinder' '--enable-ssl-crtd'
'--enable-url-rewrite-helpers' '--enable-xmalloc-statistics'
'--enable-stacktraces' '--enable-zph-qos' '--enable-eui'
'--enable-pf-transparent' 'CC=clang' 'CXX=clang++'
--enable-ltdl-convenience<br>
><br>
><br>
> 1. I see these in cache.log<br>
><br>
><br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| WARNING: no_suid: setuid(0): (1)
Operation not permitted<br>
> 2015/01/20 20:00:18| Logfile: opening log
stdio:/usr/local/squid/logs/access.log<br>
><br>
><br>
> But then I have no joy because of "2015/01/20 20:03:55|
WARNING: Forwarding loop detected for:.."</span><br>
Forwarding loop is squid.conf issue, not squid itself. More often
you using one port for proxying and web-server on proxy at the same
time. Either NAT or squid/web server/redirector(s) program
configuration.<br>
<br>
<span style="white-space: pre;">><br>
> I am almost thinking FreeBSD 9.3 would be better... I haven't
seen so much grief.<br>
><br>
><br>
> ADDENDUM:<br>
> When compiled with --enable-ipf-transparent, it fails to
compile as follows:</span><br>
You have not IP Filter in FreeBSD. Just IPFW and PF. AFAIK today IP
Filter is absent in xBSD.<br>
<span style="white-space: pre;">><br>
><br>
><br>
>
<a class="moz-txt-link-abbreviated" href="mailto:root@mail:/home/wash/ILI/Squid/3.5/squid-3.5.1-20150120-r13736">root@mail:/home/wash/ILI/Squid/3.5/squid-3.5.1-20150120-r13736</a> #
make<br>
> Making all in compat<br>
> depbase=`echo assert.lo | sed
's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../libtool
--tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I..
-I../include -I../lib -I../src -I../include -I/usr/include
-I/usr/include -I../libltdl -I/usr/include
-I/usr/local/include/libxml2 -I/usr/local/include/libxml2
-Werror -Qunused-arguments -D_REENTRANT -g -O2 -march=native
-I/usr/local/include -MT assert.lo -MD -MP -MF $depbase.Tpo -c -o
assert.lo assert.cc && mv -f $depbase.Tpo
$depbase.Plolibtool: compile: clang++ -DHAVE_CONFIG_H -I..
-I../include -I../lib -I../src -I../include -I/usr/include
-I/usr/include -I../libltdl -I/usr/include
-I/usr/local/include/libxml2 -I/usr/local/include/libxml2 -Werror
-Qunused-arguments -D_REENTRANT -g -O2 -march=native
-I/usr/local/include -MT assert.lo -MD -MP -MF .deps/assert.Tpo -c
assert.cc -fPIC -DPIC -o .libs/assert.o<br>
> In file included from assert.cc:9:<br>
> In file included from ../include/squid.h:43:<br>
> ../compat/compat.h:49:57: error: expected value in expression<br>
> #if IPF_TRANSPARENT &&
USE_SOLARIS_IPFILTER_MINOR_T_HACK<br>
> ^</span><br>
As I said above....<br>
<span style="white-space: pre;">> 1 error generated.<br>
> *** Error code 1<br>
><br>
> Stop.<br>
> make[1]: stopped in
/usr/home/wash/ILI/Squid/3.5/squid-3.5.1-20150120-r13736/compat<br>
> *** Error code 1<br>
><br>
> Stop.<br>
> make: stopped in
/usr/home/wash/ILI/Squid/3.5/squid-3.5.1-20150120-r13736<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> -- <br>
> Best regards,<br>
> Odhiambo WASHINGTON,<br>
> Nairobi,KE<br>
> +254733744121/+254722743223<br>
> "I can't hear you -- I'm using the scrambler."<br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBAgAGBQJUvp5OAAoJENNXIZxhPexGA4wIALBZdePahHHA6VU0KZQtEDA0
<br>
mCx6UexDoKg6NBab3hIj0o31B8m9komaRAnHscaCnZtx9z3dBqity4Ej/8wjad0r
<br>
8r5W3X9OX4Ppi6Pg92Dz/0MkRJmzHtT9LdsEtdD/wehCT7OUxc0+kiYEPRUSQS0T
<br>
K9nEXhqfBmUGwlpEvmaIwLdX351v3fpRMNEBrvd/PShlOVAMdX6++P9R8aXlK8yx
<br>
8aMKhy6SIQHttJDXjqB+Jcr6QKzXHujAhZ73ydT4Ar2/Ec1yzYnNpGCdetA8uhoV
<br>
7QNpoww9SPdnf1oQOXzaw6XBoczZRc7MXZunFhwnrFVksNutt6eJyBeWId835oQ=
<br>
=mSFc
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>