LinuxQuestions.org
Visit Jeremy's Blog.
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, 03: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, 11: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

All times are GMT -5. The time now is 03:04 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