if dansguardian is your frontend to squid, [which is], it will really come from localhost (dansguardian).
what you need to do is to make squid as your frontend before going to dansguardian.
there is also a patch to squid for x-forwarded ip...
On 10/20/05, Marvin T. Pascual <[EMAIL PROTECTED]> wrote:
Hello all,
I have a running Squid proxy and cache with proxy-auth and Dansguardian
working perfectly. Now that I installed SARG and configured the way I
believe what is right, the USERIDs that appears in my SARG's report are
all from LOCALHOST which it should be the USERNAMEs of the people who
authenticated for the first time they launched their web browsers to
browse the Internet wherever he/she is within my LAN.
My Squid proxy and cache listens at port 3128 only to localhost while
Dansguardian listens at port 8080 only to LAN (192.168.1.0/24). The web
browsers within my LAN were configured to use the port 8080 for the
proxy settings.
The Squid's log is located at /var/log/squid/access.log while
Dansguardian's log is located at /var/log/dansguardian/access.log. My
current configuration for my /etc/sarg/sarg.conf's access_log is
pointing to /var/log/squid/access.log because if I'll point it
to /var/log/dansguardian/access.log, I always get a segmentation fault.
I also added the line below in my /etc/sarg/sarg.conf:
dansguardian_conf /etc/dansguardian/dansguardian.conf
Is there a way where I could make the USERNAMEs appear in the USERID
part of my SARG's report instead of LOCALHOST so that I could easily
identify the users' access to the Internet?
Thank you in advance.
---
MARVIN T. PASCUAL
E-mail: mpascual AT qsr DOT com DOT ph
Tel. No. +63 2 9287776
Mobile No. +63 918 4115188
Yahoo! Messenger ID: bintut
GNU/Linux User No. 247127
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph
--
Elmer Rivera
Linux User #379418
http://www.vizcayano.com
Stop Software Patents: http://noepatents.eu.org/
"In a world without fences or walls, there's no need for Gates or Windows."
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

