Hello irvin,
Change in netmask,
acl netok src 192.168.0.37- 192.168.0.100/255.255.255.255
http_access allow netok
Regards,
-Kanchana
squid@visolve.com
www.visolve.com
"squid" <squid-users@squid-cache.org>
Sent: Tuesday, December 04, 2001 10:19 PM
Subject: Re: [squid-users] allowing a only range of host in a network...
>
> Henrik Nordstrom wrote:
> >On Tuesday 04 December 2001 13.48, Irvin S Panes wrote:
> >
> >> acl netok src 192.168.0.37-192.168.0.100 ---> is this scheme supported
> >> coz the only way i know is
to
> >> list all the ips from 37-100 indivivually
> >
> >Using a range works fine..
> >
> >From squid.conf.default (the documentation for squid.conf):
> ># acl aclname src ip-address/netmask ... (clients IP address)
> ># acl aclname src addr1-addr2/netmask ... (range of addresses)
> >
> >
> >Note: netmask is used when specifying networks or ranges of networks, not
> >when specifying IP addresses or ranges of IP addresses.
>
> i inserted the lines...
>
> acl netok src 192.168.0.37-192.168.0.100/255.255.255.0
> http_access allow netok
>
>
> the problem was when i tested it with my other pc with a 192.168.0.2 ip,
> it can still connect. Is there something wrong with my acl-entry...
particularly
> the netmask 255.255.255.0. thanx!
>
>
> -irvin
>
>
>
>
>
>
> __________________________________
> www.edsamail.com
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on Tue Dec 04 2001 - 20:45:24 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:13 MST