LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-04-2010, 02:10 PM   #1
viper3two
LQ Newbie
 
Registered: Feb 2010
Posts: 29

Rep: Reputation: 15
Squid+SARG Logging


I have successfully set up a squid proxy using DansGuardian content filter and also I have set up SARG reporting.
Squid and Dans both work fine, and the reporting in Dans works correctly. I can see all the IP's and url's ect. that is being accessed.
I am having a problem with SARG. SARG works fine, but it is accessing the squid access.log. When I look at the report, everything shows 127.0.0.1, not the user IP.
Any thoughts?
Thanks
 
Old 03-08-2010, 10:16 AM   #2
viper3two
LQ Newbie
 
Registered: Feb 2010
Posts: 29

Original Poster
Rep: Reputation: 15
Solved. Did some reasearch and found the following:
In Dansguardian.conf, changed forwardedfor=on, useXforwardedfor=on
In Squid.conf, acl_uses_indirect_client on, follow_x_forwarded_for allow all

Restarted Squid and Dans, now logging is working correct.
 
  


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 + Sarg ashwin_think Linux - Newbie 2 01-20-2009 02:06 AM
Help with SARG + Squid wegadnie Linux - General 0 01-08-2009 12:28 AM
Squid - Sarg saran_sai Linux - Newbie 2 11-18-2008 05:03 AM
squid and sarg tenzan Linux - Networking 4 02-11-2006 01:25 AM
squid + sarg JJX Linux - Software 4 06-22-2005 06:29 AM

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

All times are GMT -5. The time now is 12:59 PM.

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