LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-19-2006, 11:54 PM   #1
pavangogineni
LQ Newbie
 
Registered: Aug 2006
Posts: 17

Rep: Reputation: 0
Arrow 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....
 
Old 10-20-2006, 05:31 PM   #2
tobiasw
Member
 
Registered: Oct 2006
Distribution: Fedora Core
Posts: 60

Rep: Reputation: 15
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?
 
Old 10-23-2006, 12:05 AM   #3
pavangogineni
LQ Newbie
 
Registered: Aug 2006
Posts: 17

Original Poster
Rep: Reputation: 0
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...
 
Old 10-23-2006, 01:02 PM   #4
tobiasw
Member
 
Registered: Oct 2006
Distribution: Fedora Core
Posts: 60

Rep: Reputation: 15
I mean you could log by user, instead of ip addresses.
 
Old 10-24-2006, 04:52 AM   #5
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid: not to log access by a particular host retiem Linux - Software 2 06-15-2012 05:44 PM
so many tcp_denied in Squid access log dev_dks Linux - Networking 2 09-17-2008 05:19 AM
Variables for Squid Access Log mephitic Linux - Software 2 07-29-2004 05:16 PM
My squid won't fill /var/log/squid/access.log linuxlah Linux - General 5 10-06-2003 10:51 PM
Squid access.log files davebarnes Linux - Networking 1 10-27-2002 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration