System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Squid - plz help me know the error in the acl

SOLVED
Go to solution
Maaz
Valued Contributor

Squid - plz help me know the error in the acl

in squid.conf

acl sales src 10.0.0.121-10.0.0.136/24
acl hr src 10.0.0.110-10.0.0.120/24

# /etc/init.d/squid -k reconfigure
2007/04/18 15:34:39| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '10.0.0.110-10.0.0.120/24'
2007/04/18 15:34:39| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '10.0.0.121-10.0.0.136/24'

why these warning... what I am doing wrong.. plz help

Regards
Maaz
2 REPLIES
Wouter Jagers
Honored Contributor
Solution

Re: Squid - plz help me know the error in the acl

For working with these specific IP ranges, I think you should use a netmask of 255.255.255.255 or /32.

After all, you're making an ACL for a number of fixed IPs and not for a whole network.

Let us know how it turns out ;-)

Cheers,
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
Maaz
Valued Contributor

Re: Squid - plz help me know the error in the acl

Nice help :).. it works

Thanks n Regards
Maaz