[squid-users] ACL By IP not working

From: Yuan Yudistira <sabukhitam@dont-contact.us>
Date: Fri, 18 May 2007 22:44:40 +0700

Hi

I have the following ACL on squidGuard.conf

# Destination lists
# Addresses are relative to the db directory
dest porn
{
        domainlist blacklists/porn/domains
        urllist blacklists/porn/urls
}

dest music
{
        domainlist blacklists/music/domains
        urllist blacklists/music/urls
}

dest movies
{
        domainlist blacklists/movies/domains
        urllist blacklists/movies/urls
}

dest spyware
{
        domainlist blacklists/spyware/domains
        urllist blacklists/spyware/urls
}

dest warez
{
        domainlist blacklists/warez/domains
        urllist blacklists/warez/urls
}

dest redirector
{
        domainlist blacklists/redirector/domains
        urllist blacklists/redirector/urls
}

dest adv
{
        domainlist blacklists/adv/domains
        urllist blacklists/adv/urls
}

dest drugs
{
        domainlist blacklists/drugs/domains
        urllist blacklists/drugs/urls
}

src ipWartawanHiburan {
 ip 172.20.21.102 172.20.21.76
}

src IT {
 ip 172.20.21.186
}

# Access Control
acl
{
        # During Business hours
        # Stop the embarassing stuff and speed up the connecti

        ipWartawanHiburan {
             pass movies !porn music !spyware !warez !redirector !adv !drugs any
         }

         IT {
              pass movies porn!music spyware warez redirector !adv !drugs any
         }
                 
        default {
             pass !porn !music !movies !spyware !warez !redirector
!adv !drugs all
             redirect http://172.20.21.231/blokir/
        }
}

I want to set access to a certain IP
ipWartawanHiburan can access movies,

the above acl is not working.
Please help

Thanks

YUAN

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Limitless undying love
which shines around me like a million suns
It calls me on and on across the universe...."
Accross The Universe   - The Beatles -
--------------------------------------------
Visit :
http://www.sabukhitam.com/
======================
Received on Fri May 18 2007 - 09:44:43 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:05 MDT