<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks for the hint.<br>
<br>
I switched client_db off. As expected, I don't get any report for
client_list in the cachemanager anymore.<br>
<br>
However squid still does PTR lookups.<br>
<br>
On 04.02.2016 16:09, Yuri Voinov wrote:<br>
<span style="white-space: pre;">></span><br>
<blockquote type="cite"># TAG: client_db on|off<br>
# If you want to disable collecting per-client statistics,<br>
# turn off client_db here.<br>
#Default:<br>
# client_db on<br>
<br>
Feel free to read squid.conf.documented before.<br>
<br>
04.02.16 21:06, Stefan Hölzle пишет:<br>
> On 04.02.2016 14:22, Amos<br>
Jeffries wrote:<br>
<br>
>> On 5/02/2016 12:41 a.m., Stefan Hölzle wrote:<br>
<br>
>>> Hello,<br>
<br>
>>><br>
<br>
>>> I'm using a squid configured as proxy.<br>
<br>
>>> According to the cache log, squid is doing a
reverse<br>
dns lookup for<br>
<br>
>>> client ips:<br>
<br>
>>><br>
<br>
>>> 78,3| dns_internal.cc(1794) idnsPTRLookup:<br>
idnsPTRLookup: buf is 42<br>
<br>
>>> bytes for SOME_SOURCE_IP<br>
<br>
>>><br>
<br>
>>> I'm only using the following configuration
parameters<br>
that might be<br>
<br>
>>> relevant for this issue.<br>
<br>
>>> external_acl_type<br>
<br>
>>> acl aclname src<br>
<br>
>>> acl aclname dst<br>
<br>
>>> acl aclname dstdom_regex<br>
<br>
>>> acl aclname port<br>
<br>
>>> acl aclname proxy_auth<br>
<br>
>>> acl aclname external<br>
<br>
>>> acl aclname url_regex<br>
<br>
>>><br>
<br>
>>> Any ideas why squid is doing PTR lookups anyway
?<br>
<br>
>> Because that list is incomplete.<br>
<br>
>><br>
<br>
>> The format parameters for external_acl_type, any
*_extras<br>
rules for<br>
<br>
>> helper formats, and logformat rules also may make
use of<br>
the client<br>
<br>
>> hostname (if any).<br>
<br>
>><br>
<br>
>> Also, anyone viewing the cachemanager clientdb
report<br>
will trigger some<br>
<br>
>> as the report is generated.<br>
<br>
>><br>
<br>
>> Amos<br>
<br>
>><br>
<br>
>> _______________________________________________<br>
<br>
>> squid-users mailing list<br>
<br>
>> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<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><br>
<br>
> Thanks for the quick reply Amos.<br>
<br>
<br>
<br>
> * Used formats for external_acl_type are: %LOGIN, %SRC<br>
<br>
> * There are no *_extras rules defined (store_id_extras<br>
<br>
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.squid-cache.org/Doc/config/store_id_extras/"><http://www.squid-cache.org/Doc/config/store_id_extras/></a>,<br>
<br>
> url_rewrite_extras<br>
<br>
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.squid-cache.org/Doc/config/url_rewrite_extras/"><http://www.squid-cache.org/Doc/config/url_rewrite_extras/></a>)<br>
<br>
> * logformat defaults are used (there should be nothing
in<br>
there<br>
<br>
> responsible for a ptr lookup)<br>
<br>
<br>
<br>
> I guess its the cachemanager then.<br>
<br>
> There are actually PTR results listed in the
client_list of<br>
the<br>
<br>
> cachemanager.<br>
<br>
<br>
<br>
> I tried blocking access to the cachemanager by adding
the<br>
folling rule:<br>
<br>
> http_access deny manager<br>
<br>
<br>
<br>
> However, squid still does PTR lookups.<br>
<br>
> How can I prevent the clientdb reports to be generated
?<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
> _______________________________________________<br>
<br>
> squid-users mailing list<br>
<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<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><br>
<br>
</blockquote>
<span style="white-space: pre;">>
>
>
> _______________________________________________
> squid-users mailing list
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
> <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>
<br>
</body>
</html>