[ale] squidGuard %i and %n problem

David S. Jackson dsj at sylvester.dsj.net
Mon Dec 23 11:09:25 EST 2002


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...


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!

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I saw a subliminal advertising executive, but only
for a second.
		-- Steven Wright
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list