Search squid archive

Re: Reverse DNS Lookup for client IPs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had to try overwriting the directives in the squid.conf since it was
the quickest and most obvious solution to me.
I can assure you, it works.

On 15.02.2016 10:59, Amos Jeffries wrote:
> On 15/02/2016 10:51 p.m., Stefan Hölzle wrote:
>> For a quick fix, I defined the two directives in my squid.conf as follows:Hello,
>>
>> I'm using the following request to retrieve the current traffic usage of our servers: http://developer.leaseweb.com/api-docs/#retrieve-datatraffic-usage
>>
>> The responsed values are refreshed once per day.
>> The exact time varies for each server between approximately 0 am and 7 am (UTC).
>>
>> Could you add the last refresh date (date + time + timezone) to the API's response ?
>> url_rewrite_extras "%>a %un %>rm myip=%la myport=%lp"
>> store_id_extras "%>a %un %>rm myip=%la myport=%lp"
>>
>> Basically, I removed the ">A" part, which is responsible for the PTR
>> lookup of client ips.
>> Afterwards, squid does no more PTR lookups of client ips :)
> That surprises me. The default values are parsed before squid.conf and
> get to set the log_fqdn flag internally before your manual ones.
>
> Amos
>
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux