<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 23 January 2015 at 16:40, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</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"><span class="">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</span><div><div class="h5">On 24/01/2015 2:20 a.m., Odhiambo Washington wrote:<br>
> On 23 January 2015 at 16:07, Amos Jeffries <<a href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>><br>
> wrote:<br>
><br>
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1<br>
>><br>
>> On 24/01/2015 1:47 a.m., Yuri Voinov wrote:<br>
>>><br>
>>> Once more. You CANNOT have neither web-server nor other<br>
>>> service with listening port 80 on the same host as transparent<br>
>>> Squid proxy. This is one and only reason you have looping.<br>
>>><br>
>><br>
>> That is not correct. It can be done, but depends on how the<br>
>> firewall operates and what ruleset is used.<br>
>><br>
>> One has to intercept traffic transiting the machine, but ignore<br>
>> traffic destined *to* or *from* the local machines running<br>
>> processes.<br>
>><br>
>>> Look. On my transparent 3.4.11 (which was early 2.7) IPFilter<br>
>>> redirects 80 port to proxy. My web server on the same host<br>
>>> listens only 8080, 8088 and 8888 ports. No one service except<br>
>>> NAT is using 80 port.<br>
>>><br>
>>> And finally I have no looping 4 years.<br>
>>><br>
>>> Obvious, is it?<br>
>>><br>
>><br>
>> Maybe there was, maybe there wasn't.<br>
>><br>
>> Squid-2.7 ignored a lot of NAT related errors and even silently<br>
>> did some Very Bad Things(tm) - none of which Squid-3.2+ will<br>
>> allow to happen anymore.<br>
>><br>
>><br>
>> Odhiambo: I suspect it might be related to your use of "rdr"<br>
>> firewall rules. In OpenBSD PF at least rdr rules do not work<br>
>> properly and divert-to rules needs to be used instead (divert-to<br>
>> can be used for either TPROXY or NAT Squid listening ports on<br>
>> BSD).<br>
>><br>
><br>
><br>
> I am thinking Squid-3.2+ is evil :-)<br>
><br>
> Anyway, my PF rules are here : <a href="http://pastebin.com/pKv1jN2v" target="_blank">http://pastebin.com/pKv1jN2v</a> And my<br>
> IPFilter rules are here: <a href="http://pastebin.com/JQ77X01H" target="_blank">http://pastebin.com/JQ77X01H</a><br>
><br>
> I need to figure out why squid is DENYing all access ..<br>
><br>
<br>
</div></div>Can you update me on what the squid -v output is from the Squid build<br>
you are having issues with pleae?<br>
<span class=""><br>
Amos<br></span></blockquote><div><br></div><div><div>root@mail:/usr/src # /opt/squid35/sbin/squid -v</div><div>Squid Cache: Version 3.5.1-20150120-r13736</div><div>Service Name: squid</div><div>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</div></div><div><br></div></div><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>