Squid Logs

Posted on 2007-11-29
Last Modified: 2013-11-15
I currently have squid running on Ubuntu 6.06 with 2 nics in bridge mode. I'm using iptables to redirect port 80 to Squid. This works great, but it currently logs IP addresses and I would like it log usernames instead. I don't necessarily want authentication, I just want this for logging. Can it be done?
Question by:Tharo_Systems
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 43

Accepted Solution

ravenpl earned 250 total points
ID: 20375570
There's no such thing like user when no authentication (against squid) is performed.
You could try using ident for remote user identification, but novadays, nobody runs the server anyway.

Expert Comment

ID: 20422544
Right, it can be done but not without authentication.

Author Comment

ID: 20423009
I don't care if there's authentication or not, I just don't want to have to configure each PC with proxy information.

Expert Comment

ID: 20457879
put the squid box outside of the default gateway and make sure all the web traffic is forced through it.
Group policy also lets you set a proxy if you are in an AD environment, and that way you don't have to go to each machine at least.

Author Comment

ID: 20458170
That wouldn't give me any more information in my logs than I have now. Plus I have 2 gateways.

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
This article was originally published on Monitis Blog, you can check it  here . If you have responsibility for software in production, I bet you’d like to know more about it. I don’t mean that you’d like an extra peek into the bowels of the sour…
Viewers will learn how to use the Hootsuite Dashboard.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question