<div dir="ltr">Yuri,<div><br></div><div>You need a sane MuA.</div><div><br></div><div>What you have makes life quite difficult for me reading your responses. And I read from gmail web UI.</div><div><br></div><div>Just to answer you..</div><div><br></div><div><br></div><div class="gmail_extra"><div class="gmail_quote">On 20 January 2015 at 21:28, Yuri Voinov <span dir="ltr"><<a href="mailto:yvoinov@gmail.com" target="_blank">yvoinov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA1 <br>
<br>
<br></span>
20.01.2015 23:11, Odhiambo Washington пишет:<br>
<span style="white-space:pre-wrap">><br>
><br>
> On 20 January 2015 at 16:16, Odhiambo Washington
<<a href="mailto:odhiambo@gmail.com" target="_blank">odhiambo@gmail.com</a> <a href="mailto:odhiambo@gmail.com" target="_blank"><mailto:odhiambo@gmail.com></a>>
wrote:<span class=""><br>
><br>
><br>
><br>
> On 20 January 2015 at 15:17, Amos Jeffries
<<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a> <a href="mailto:squid3@treenet.co.nz" target="_blank"><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></span><br>
May be, It has another configuration? I.e - has not redirectors, or
web-server on another port, or another NAT settings?</div></blockquote><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div><div class="h5"><br>
<span style="white-space:pre-wrap">><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 href="mailto:root@mail:/home/wash/ILI/Squid/3.5/squid-3.5.1-20150120-r13736" target="_blank">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></div></div>
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.</div></blockquote><div><br></div><div>None of those. I read the HOWTO very well. I use Squid+IPFilter on several FreeBSD servers already. My configs are fine. I run squid on 13128 which is different than what I run web server on. No port conflict.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><span class=""><br>
<br>
<span style="white-space:pre-wrap">><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></span>
You have not IP Filter in FreeBSD. Just IPFW and PF. AFAIK today IP
Filter is absent in xBSD.</div></blockquote><div><br></div><div> I will check that. Anyway, I did not compile it eventually. I am working with PF and have configured it proerly (I believe) yet I still have this agony.</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><span class=""><br>
<span style="white-space:pre-wrap">><br>
><br>
><br>
>
<a href="mailto:root@mail:/home/wash/ILI/Squid/3.5/squid-3.5.1-20150120-r13736" target="_blank">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></span>
As I said above....<span style="white-space:pre-wrap"><span class=""></span></span></div></blockquote><div></div></div><div class="gmail_extra"><br></div>Sure.<br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254733744121/+254722743223<br>"I can't hear you -- I'm using the scrambler."<br></div>
</div></div>