Hi,

The manual of the squidGuard forwarder/redirector says:

 squidGuard can do runtime string substitutions in the redirectors.
 Therefor the character "%" has special meaning in the redirector
 URLs:

 ...snip...

 %a is replaced with IP address of the client.
 %n is replaced with the domainname of the client or "unknown" if 
   not available.
 %i is replaced with the user ID (RFC931) or "unknown" if not 
   available.

 ...snip...

However, when I call a cgi with this redirector command in
squidguard.conf:

 ...snip...
http://192.168.0.10/cgi-bin/squidGuard.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u
 ...snip...

what actually gets to the cgi on the above IP number is:

 ...snip...

192.168.0.110 - - [23/Dec/2002:10:33:42 -0500] "GET
/cgi-bin/squidGuard.cgi?clientaddr=192.168.0.101&clientname=&clientuser=&clientgroup=net-clients&targetgroup=adult&url=http://www.playboy.com/
 HTTP/1.0" 403 2469
  ...snip...

As you can see, the %i and %n have empty values.

Does this %i and %n info never make it to squidGuard because squid
removes it?  Is there a squid configuration option I should reset?  For
my testing purposes there are no other proxies chained together.
Otherwise, any input would be welcome.

TIA!

-- 
David S. Jackson                        [EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Being Ymor's right-hand man was like being gently
flogged to death with scented bootlaces.
   -- Terry Pratchett, "The Colour of Magic"

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to