mån 2003-08-04 klockan 18.28 skrev ads squid:
> I am trying to block STOP (92.168.0.42 ) between
> WORK(09:30-17:35) to access SITE. But these two lines
> acl localnet src 192.168.0.0/255.255.255.0
> acl localhost src 127.0.0.1/255.255.255.255
>
> http_access allow localnet
> http_access allow localhost
> allow access to all IP's.
> Can you tell me how I can achieve this by correct acl
> code.
Like you have done already.
There was no lines in your access.log which should have been blocked by
your access rules as far as I could see. Your access rules blocks
www.yahoo.com, but there was only accesses to other yahoo servers.
If your intention is to block access to all yahoo services then use
.yahoo.com, not www.yahoo.com.
Regards
Henrik
-- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org Please consult the Squid FAQ and other available documentation before asking Squid questions, and use the squid-users mailing-list when no answer can be found. Private support questions is only answered for a fee or as part of a commercial Squid support contract. If you need commercial Squid support or cost effective Squid and firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, info@marasystems.comReceived on Mon Aug 04 2003 - 10:48:35 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:34 MST