Re: [squid-users] blocking all destination domain except "www.bloomberg.com" and "www.bloomberg.de" .

From: Prabu Subroto <prabusubroto@dont-contact.us>
Date: Mon, 3 Feb 2003 03:58:16 -0800 (PST)

Thank you my friend,

but why does it not block the access ? The "sales"
still can visit other sites not only "bloomberg.com"
and "bloomberg.de".

I got this messages if I shutdown my squid server :
"
transistor:~ # rcsquid stop
Shutting down WWW-proxy squid 2003/02/03 12:59:29|
aclParseIpData: WARNING: Netm
                             ask masks away part of
the specified IP in
'192.168.23.240-192.168.23.254/255.25
                                     5.255.0'
2003/02/03 12:59:29| squid.conf line 1465: http_access
allow sales AllowedDomain
2003/02/03 12:59:29| aclParseAccessLine: ACL name
'sales' not found.
2003/02/03 12:59:29| squid.conf line 1466: http_access
deny sales AllDomain
2003/02/03 12:59:29| aclParseAccessLine: ACL name
'sales' not found.
                                                      
              done
"

Did I do a mistake while I was defining the IP of the
"sales" ?

--- Ilker Gokhan <ilker.gokhan@linux.org.tr> wrote:
> Prabu Subroto wrote:
> > Dear my friends,
> >
> > I am using SuSE 8.1 and Squid as a proxy server.
> >
> > I want to block/deny all destination for sales
> except
> > "www.bloomberg.com" and "www.bloomberg.de" .
> >
> > I have defined the group of my sales with this
> line :
> > "
> > acl sales src
> > 192.168.23.240-192.168.23.254/255.255.255.0
> > "
>
> Try:
>
> acl ALLDOMAIN dst 0.0.0.0/0.0.0.0
> acl AllowedDomain dstdomain .bloombwerg.com
> .bloomberg.de
>
> http_access allow sales AllowedDomain
> http_access deny sales ALLDOMAIN
>
> Regards,
> Ilker G.
> ---------
> "Peace at home,peace at the world." K.Ataturk
>

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Received on Mon Feb 03 2003 - 04:58:20 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:13 MST