Re: [squid-users] Defined ACL is not working

From: devendra <devendra@dont-contact.us>
Date: Sun, 05 Sep 2004 08:12:29 +0300

Hello,

192.0.0.200,192.0.0.201 is client ip address which i want to block
msnmessenger all at all time except 12-14.

so i have define the ACL as like

acl client_acl src 192.0.0.200, 192.0.0.201
acl time_acl time 12:00-14:00
http_access deny msnmessenger !time_acl client_acl

The above acl is not working.

Thanking you
Devendra

At 11:43 PM 04/09/2004, Henrik Nordstrom wrote:

>On Sat, 4 Sep 2004, devendra wrote:
>
>>acl client_acl src 192.0.0.200,192.0.0.200
>
>This is not correct syntax. Why the ,192.0.0.200?
>
>>acl time_acl time 12:00-14:00
>
>Ok.
>
>>acl msnmessenger url_regex -i gateway.dll
>>http_access deny msnmessenger !time_acl client_acl
>
>This should block msnmessenger all at all time except 12-14.
>
>Regards
>Henrik
Received on Sat Sep 04 2004 - 23:11:59 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:02 MDT