Re: [SQU] Re : Couple Of Questions

From: Masataka_Tanaka <mtanaka@dont-contact.us>
Date: Wed, 23 Aug 2000 15:45:43 +0900

Hi,there !

Vince Crismer C. Villena:
> Greetings,
>
> Hi there. I just want to ask a couple of questions regarding squid. Pls.
> help me.

Please refer to below.

Vince> 1. How will I block an IP address to use squid?

< For specific IP address range >

acl net1 src x.x.x.0-x.x.x.255/255.255.255.0

http_access allow net1
icp_access allow net1
miss_access allow net1

or

< For specific host >

acl user1 src x.x.x.x/255.255.255.255

http_access allow user1
icp_access allow user1
miss_access allow user1

> 2. How will I block a web site? I already tried the acl... thing

acl url1 url_regex ^http://www.gohip.com/freevideo/

http_access deny url
cache_peer_access FQDN_1 deny url1
cache_peer_access FQDN_2 deny url1

where FQDN: proxy server's FQDN

Bye for now.

> Thanks. Pls. help me.
>
> - Vince Villena
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html

-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
 Best wishes,
 Sony Systems Design Corp
 Customer Service Dept
 Masataka Tanaka
 mail to: mtanaka@ssd.sony.co.jp
 tel : +81-3-5479-6629 (TOKYO,Japan)

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Aug 23 2000 - 00:50:25 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:03 MST