Re: [squid-users] Squidguard.cgi problem

From: Abu Khaled <khaled.abu@dont-contact.us>
Date: Sat, 20 Aug 2005 03:56:06 +0300

On 8/19/05, Oleksii Krykun <okg@ua.fm> wrote:
> I use squidguard to filter some sites for my users.
> I use following redirect statement for denied sites:
>
> redirect
> http://10.200.1.1:8080/cgi-bin/squidGuard.cgi?clientaddress=%a&clientname=%ns&clientident=%i&clientgroup=%s
> &targetgroup=%t&url=%u
>

Just a few typos:
1. use clientaddr not clientaddress
2. use clientname=%n not clientname=%ns
3. I did not find any clientident decleration in squidGuard.cgi so try
to use clientuser=%i

> where squidGuard.cgi is from squidguard distribution kits.
>
> All works fine. I'm redirected. But supplied additional information is
> invalid. I see:
>
> Additional information:
> Client address =
> Client name = s
> Client user =
> Client group = my
> URL = http://www.playboy.com/
> Target group = porn
>
> There is no client address information. And what does it mean "client name =
> s"?
>
> Apache log says:
>
> 10.200.1.1 - - [19/Aug/2005:13:54:16 +0300] "GET
> /cgi-bin/squidGuard.cgi?clientaddress=10.200.1.2&clientname=s&clientident=&clientgroup=my&targetgroup=porn&url=http://www.playboy.com/favicon.ico
> HTTP/1.0" 403 2489 "-" "Mozilla/5.0 (X11; U; FreeBSD i386; uk-UA; rv:1.7.6)
> Gecko/20050415 Firefox/1.0.2"
> ----
> Лучший сайт знакомств в Украине. Все анкеты с фото!
> http://love.optima.ua/
>

-- 
Regards.
Abu Khaled
Received on Fri Aug 19 2005 - 18:56:08 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:02 MDT