Search squid archive

Re: Log proxy hostname along with HTTP access URI

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

 





Am 24.02.2015 um 15:39 schrieb Ron Wheeler <rwheeler@xxxxxxxxxxxxxxxxxxxxx>:

On 24/02/2015 9:04 AM, Peter Oruba wrote:
Hello everybody,

I’d like to distinguish multiple clients that are behind NAT from Squid’s perspective. Proxy authentication or sessions are not an option for different reasons and the idea that came up was to assign each client a unique hostname through which Squid would be addressed (e.g. UUID1.proxy.example.com and UUID2.proxy.example.com) A DNS wildcard entry *.proxy.example.com would make sure each proxy referral points to the same machine. Question: Is there a way to let Squid log the DNS name through which a client referred to it? I was not able to find any example in this regard and I assume that the proxy hostname is „lost“ after the client's DNS lookup and that the client-proxy connection is established.

Thanks,
Peter



_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
Not a direct answer but...
Is it possible to get this info from the log kept by the service(http) that is getting the request?

-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@xxxxxxxxxxxxxxxxxxxxx
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
Virtual hosts on web servers?  Yes, the same principle, but on Squid.
_______________________________________________
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