LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Client ip in squid access log (https://www.linuxquestions.org/questions/linux-networking-3/client-ip-in-squid-access-log-494021/)

pavangogineni 10-19-2006 11:54 PM

Client ip in squid access log
 
Hi all,

I configured squid proxy (transperent).
It's working fine. But in the access.log it is showing that all the requests are coming from my gateway(firewall).
I want to trace the client ip addresses from which those requests are coming from.

How can I achieve that???

Can anyone help me....

tobiasw 10-20-2006 05:31 PM

Hi, I am also experiencing with squid proxy. How do you connect with the client to the proxy? Maybe you could try to enable logging of User Agents and log by session?

pavangogineni 10-23-2006 12:05 AM

Quote:

Originally Posted by tobiasw
Hi, I am also experiencing with squid proxy. How do you connect with the client to the proxy? Maybe you could try to enable logging of User Agents and log by session?


I can't understand what u want to say...

tobiasw 10-23-2006 01:02 PM

I mean you could log by user, instead of ip addresses.

andrewdodsworth 10-24-2006 04:52 AM

Quote:

Originally Posted by pavangogineni
Hi all,

I configured squid proxy (transperent).
It's working fine. But in the access.log it is showing that all the requests are coming from my gateway(firewall).
I want to trace the client ip addresses from which those requests are coming from.

How can I achieve that???

Can anyone help me....

Unfortunately transparent proxying rewrites all requests from clients to the squid port on the proxy server. Therefore all access is from the gateway! The only way to identify traffic by client is to not use transparent proxying and manually set up proxying on the clients.

Unfortunately like me you probably need transparent proxying to force users to use the proxy.


All times are GMT -5. The time now is 05:30 AM.