Re: [squid-users] acl to block networks and hosts

From: Raman Sood <ramans@dont-contact.us>
Date: Sat, 28 Apr 2001 15:25:25 +0800

hi,

thanks for reply. actullay what I need is to allow or disallow hosts n
networks to use squid through flat file

Eric Krieger wrote:

> some thing like...
>
> acl allowed url_regex -i "/etc/squid/acl_list/allowed.txt"
> acl weball dst 0.0.0.0/0.0.0.
> http_access deny weball !allowed
>
> and in allowed.txt you can put either and ip range like...
>
> 123.234.234.
>
> this allowing all the subnet for 123.234.234.0
>
> or via domian or .whatever like..
>
> whatever.com
> .com
> .net
> slashdot.org
>
> whatever...
>
> eric
>
> ______________________________
> Eric Krieger
> Network/Security Administrator
> Davis Selected Advisers
>
> "we look to the find our destiny
> written in the stars but how best
> do we look to see...with old eyes
> ...or new."
> - Fox Mulder
>
> ----- Original Message -----
> From: "Raman Sood" <ramans@glide.net.in>
> To: <squid-users@squid-cache.org>
> Sent: Friday, April 27, 2001 12:49 AM
> Subject: [squid-users] acl to block networks and hosts
>
> > hi all,
> >
> > can anyone tell me if we can use a flat file to define
> > acl's(perticularly to allow and disallow access to some networks ) so
> > that whenever squid starts it parse that acl file and work according. I
> > need this so that my colleuges can access it through web based interface
> > which I am developing for them. I am asking this coz I have seen similar
> > thing with regex where we can use the flat file to add and remove
> > sites.
> >
> > thanks in advance
> >
> >
> >
> > --
> > ______________________________________________________________
> > Raman Sood
> > Internet Appliance Pte Ltd.
> > 31 Kaki Bukit Road 3
> > #06-05 TechLink
> > Singapore 417818
> > Ph-(0065)7436638 Extn :862
> > ______________________________________________________________
> >
> >
> >
> >

--
______________________________________________________________
                       Raman Sood
                       Internet Appliance Pte Ltd.
                       31 Kaki Bukit Road 3
                       #06-05 TechLink
                       Singapore 417818
                       Ph-(0065)7436638 Extn :862
______________________________________________________________
Received on Sat Apr 28 2001 - 02:11:19 MDT

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