Re: FW: [squid-users] ACL Control , http access

From: Joel Jaeggli <joelja@dont-contact.us>
Date: Mon, 31 Mar 2003 07:36:25 -0800 (PST)

On Mon, 31 Mar 2003, Saif Ali Khan wrote:

> I am also having a message whenever I restart my squid
>
> 2003/03/31 20:11:31| aclParseIpData: WARNING: Netmask masks away part of
> the specified IP in 192.168.0.1/255.255.255.0

it should be 192.168.0.0/255.255.255.0 if it's a /24

joelja

 
> Kindly help me out. Problem is further stated below
>
> Saif Ali Khan
> Programmer
> Feditec (Pvt.) Ltd.
> 78-C, 13th Commercial St.DHA
> Phase II Extension, Karachi.
> Tel: (92-21) 111-511-511
> Fax: (92-21) 589-0459
> www.feditec.com
>
>
> -----Original Message-----
> From: Saif Ali Khan [mailto:saif@feditec.com]
> Sent: Monday,31 March, 2003 7:49 PM
> To: squid-users@squid-cache.org
> Subject: [squid-users] ACL Control , http access
>
>
> I have created an acl list
>
> acl privilege_ip src 192.168.0.1/255.255.255.0
> acl all 192.168.0.0/255.255.255.0
>
> http_access allow privilege_ip
> htpp_access deny all
>
> Squid allows all the ip's on the network to browse it has to be allow
> only the ip 192.168.0.1 but it doesn't. and it doesn't read the next
> line, it is having a match at first line
>
> It is interpreting the first line like
> allow all ip addresses.
>
> Can anybody help me on the same how can I resolve this problem. I only
> want to allow specific ip's to browse and others should not. Help is
> needed on urgent basis.
>
> Thanks & Regards,
>
> Saif Ali Khan
> Feditec (Pvt.) Ltd.
>
>
>
>

-- 
-------------------------------------------------------------------------- 
Joel Jaeggli	      Academic User Services   joelja@darkwing.uoregon.edu    
--    PGP Key Fingerprint: 1DE9 8FCA 51FB 4195 B42A 9C32 A30D 121E      --
  In Dr. Johnson's famous dictionary patriotism is defined as the last
  resort of the scoundrel.  With all due respect to an enlightened but
  inferior lexicographer I beg to submit that it is the first.
	   	            -- Ambrose Bierce, "The Devil's Dictionary"
Received on Mon Mar 31 2003 - 08:36:37 MST

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