Re: [squid-users] Reverse DNS Lookup for client IPs

2017-06-27 Thread Eliezer Croitoru
, 2017 22:44 To: Eliezer Croitoru ; 'Ralf Hildebrandt' ; squid-us...@squid-cache.org Subject: Re: [squid-users] Reverse DNS Lookup for client IPs On 06/27/2017 08:19 AM, Eliezer Croitoru wrote: > Can you put a link to the thread here? The best relevant link is probably bug #

Re: [squid-users] Reverse DNS Lookup for client IPs

2017-06-27 Thread Alex Rousskov
> > > -Original Message- > From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On > Behalf Of Ralf Hildebrandt > Sent: Tuesday, June 20, 2017 14:35 > To: squid-us...@squid-cache.org > Subject: [squid-users] Reverse DNS Lookup for client IPs > &

Re: [squid-users] Reverse DNS Lookup for client IPs

2017-06-27 Thread Eliezer Croitoru
] Reverse DNS Lookup for client IPs I have to chime in on the "Reverse DNS Lookup for client IPs" thread back in Feb 2016. I tried redefining the logging format for url_rewrite_extras and store_id_extras in the config, but that wouldn't work. I had to change the file src/cf.data.pre

[squid-users] Reverse DNS Lookup for client IPs

2017-06-20 Thread Ralf Hildebrandt
I have to chime in on the "Reverse DNS Lookup for client IPs" thread back in Feb 2016. I tried redefining the logging format for url_rewrite_extras and store_id_extras in the config, but that wouldn't work. I had to change the file src/cf.data.pre and recompiled, after that the number of reverse l

Re: [squid-users] Reverse DNS Lookup for client IPs

2016-02-16 Thread Stefan Hölzle
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.c

Re: [squid-users] Reverse DNS Lookup for client IPs

2016-02-15 Thread Amos Jeffries
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: > 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

Re: [squid-users] Reverse DNS Lookup for client IPs

2016-02-15 Thread Stefan Hölzle
For a quick fix, I defined the two directives in my squid.conf as follows: 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 m

Re: [squid-users] Reverse DNS Lookup for client IPs

2016-02-12 Thread Amos Jeffries
On 13/02/2016 10:15 a.m., Stefan Hölzle wrote: > I have some new insight: > The following line triggers the unwanted client ip ptr lookup: > > ./src/client_side.cc:3590: > fqdncache_gethostbyaddr(clientConnection->remote, FQDN_LOOKUP_IF_MISS); > Source package: > http://www.squid-cache.org/Version

Re: [squid-users] Reverse DNS Lookup for client IPs

2016-02-12 Thread Stefan Hölzle
I have some new insight: The following line triggers the unwanted client ip ptr lookup: ./src/client_side.cc:3590: fqdncache_gethostbyaddr(clientConnection->remote, FQDN_LOOKUP_IF_MISS); Source package: http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.10.tar.gz This line should only be called

Re: [squid-users] Reverse DNS Lookup for client IPs

2016-02-12 Thread Stefan Hölzle
Here's the requested "squid -v" output: Squid Cache: Version 3.5.10 Service Name: squid configure options: '--host=x86_64-suse-linux-gnu' '--build=x86_64-suse-linux-gnu' '--program-prefix=' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/incl

Re: [squid-users] Reverse DNS Lookup for client IPs

2016-02-11 Thread Amos Jeffries
On 12/02/2016 3:31 a.m., Stefan Hölzle wrote: > Maybe my squid.conf will help to solve this. Even more helpful would be your "squid -v" output. > I checked this configuration with "squid -k check". > > squid.conf (external_ip, /opt/some_program and /etc/squid/file.list must > be corrected): >

Re: [squid-users] Reverse DNS Lookup for client IPs

2016-02-04 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 # TAG: client_dbon|off #If you want to disable collecting per-client statistics, #turn off client_db here. #Default: # client_db on Feel free to read squid.conf.documented before. 04.02.16 21:06, Stefan Hölzle пишет: > On 04.02.2016

Re: [squid-users] Reverse DNS Lookup for client IPs

2016-02-04 Thread Amos Jeffries
On 5/02/2016 12:41 a.m., Stefan Hölzle wrote: > Hello, > > I'm using a squid configured as proxy. > According to the cache log, squid is doing a reverse dns lookup for > client ips: > > 78,3| dns_internal.cc(1794) idnsPTRLookup: idnsPTRLookup: buf is 42 > bytes for SOME_SOURCE_IP > > I'm only us

[squid-users] Reverse DNS Lookup for client IPs

2016-02-04 Thread Stefan Hölzle
Hello, I'm using a squid configured as proxy. According to the cache log, squid is doing a reverse dns lookup for client ips: 78,3| dns_internal.cc(1794) idnsPTRLookup: idnsPTRLookup: buf is 42 bytes for SOME_SOURCE_IP I'm only using the following configuration parameters that might be relevant