Hello. I have problem - URL's with %xx codes and squidGuard :-) I create simple config (used standard config file from squidGuard's distributive) and simple extensionlist for block music mp2 and mp3 files. File with extensionlist contain only 1 line - \.(mp2|mp3)($|\?) (it's from FAQ)
I run squidGuard in diagnostic mode for testing URL's - $ echo "http://lala/1.mp3 10.0.0.1/- - GET" | /usr/local/bin/squidGuard -c /home/sg/test/test.conf -d 2002-03-15 14:37:41 [9707] init expressionlist /home/sg/test/deny_ext 2002-03-15 14:37:41 [9707] squidGuard 1.2.0 started (1016192261.390) 2002-03-15 14:37:41 [9707] squidGuard ready for requests (1016192261.391) http://blocked.extension 10.0.0.1/- - GET 2002-03-15 14:37:41 [9707] squidGuard stopped (1016192261.391) YES!!! - it's URL is BLOCKED! :-) BUT!!!! $ echo "http://lala/1%2emp3 10.0.0.1/- - GET" | /usr/local/bin/squidGuard -c /home/sg/test/test.conf -d 2002-03-15 14:38:51 [9709] init expressionlist /home/sg/test/deny_ext 2002-03-15 14:38:51 [9709] squidGuard 1.2.0 started (1016192331.526) 2002-03-15 14:38:51 [9709] squidGuard ready for requests (1016192331.526) 2002-03-15 14:38:51 [9709] squidGuard stopped (1016192331.527) OOPS - it's URL is not BLOCKED!!! :-( My users use it's hole in squidGuard :-( and I can't block them :-( Alexander MY CONFIGS: ------------- begin test.conf -------- logdir /home/sg/test/test dbhome /home/sg/test src kids { ip 10.0.0.0/22 # range 10.0.0.0 - 10.0.3.255 } dest blacklist { expressionlist deny_ext } acl { kids { pass !blacklist all redirect http://blocked.extension } default { pass none redirect http://blocked.defaults } } ----------- end test.conf ------------ ------------- begin deny_ext -------- \.(mp2|mp3)($|\?) ------------- end deny_ext --------
