hi all,
i hav setup squid that controls 3 different classrooms. each class has a range of ip addresses.
i hav used the acl as per documentation & help that every1 has given me.
acl machine src 192.168.10.21-192.168.10.41/255.255.255.0
but when i restart squid it generates the following warnings.
aclParseipData; WARNING : Netmask masks away part of the speified IP in '192.168.10.21-192.168.10.41/255.255.255.0'
what is wrong??
thanxs a billion DBH
David,
David wrote:
hi all,
i hav setup squid that controls 3 different classrooms. each class has a range of ip addresses.
i hav used the acl as per documentation & help that every1 has given me.
acl machine src 192.168.10.21-192.168.10.41/255.255.255.0
but when i restart squid it generates the following warnings.
aclParseipData; WARNING : Netmask masks away part of the speified IP in '192.168.10.21-192.168.10.41/255.255.255.0'
what is wrong??
Just a best guess, so not sure if this really is where the problem lies...
With this netmask you would allow more than the 21 computers. Reduce the metmask so not more than your 21 computers are able to connect.
thanxs a billion DBH
Alex
On Mon, 30 Aug 2004, Alexander Apprich wrote:
David,
David wrote:
hi all,
i hav setup squid that controls 3 different classrooms. each class has a range of ip addresses.
i hav used the acl as per documentation & help that every1 has given me.
acl machine src 192.168.10.21-192.168.10.41/255.255.255.0
but when i restart squid it generates the following warnings.
aclParseipData; WARNING : Netmask masks away part of the speified IP in '192.168.10.21-192.168.10.41/255.255.255.0'
what is wrong??
Just a best guess, so not sure if this really is where the problem lies...
With this netmask you would allow more than the 21 computers. Reduce the metmask so not more than your 21 computers are able to connect.
Additionally, there is no netmask that would incorporate just this range of IPs.
Is the netmask actually required in the squid config?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday 30 August 2004 10:00, David wrote:
hi all,
i hav setup squid that controls 3 different classrooms. each class has a range of ip addresses.
i hav used the acl as per documentation & help that every1 has given me.
acl machine src 192.168.10.21-192.168.10.41/255.255.255.0
but when i restart squid it generates the following warnings.
aclParseipData; WARNING : Netmask masks away part of the speified IP in '192.168.10.21-192.168.10.41/255.255.255.0'
Just a guess... you either give an IP range or an IP with netmask... not both. The error looks like it is not correctly understanding what you have given, since both IPs are inside that netmask.
Google on --> squid acl "ip range"
http://www.squid-cache.org/mail-archive/squid-users/200209/0364.html
From: Henrik Nordstrom hno@dont-contact.us Date: Mon, 9 Sep 2002 20:37:27 +0200
shihaya@matavnet.hu wrote:
Hi!
A have 2 computer labs, one with static IP 192.168.10.30- 192.168.10.45, another 192.168.10.50-192.168.10.65.
I'd like forbid internet use in labor1 monday 10-12 AM.
I tried:
acl labor1 src 192.168.10.30-192.168.10.45/255.255.255.0
Here you want
acl labor1 src 192.168.10.30-192.168.10.45
or alternatively one of acl labor1 src 192.168.10.30-192.168.10.45/32 acl labor1 src 192.168.10.30-192.168.10.45/255.255.255.255
IP ranges and netmasks do not generally mix well.. only case where you can mix them is if you want to make a range of whole networks.
- -- Automatic actions for USB cameras, cardreaders, memory sticks, MP3 players http://warmcat.com/usbautocam
Alle 11:00, lunedì 30 agosto 2004, David ha scritto:
hi all,
i hav setup squid that controls 3 different classrooms. each class has a range of ip addresses.
i hav used the acl as per documentation & help that every1 has given me.
acl machine src 192.168.10.21-192.168.10.41/255.255.255.0
acl machine src... -> invalid string format you cannot use a ip range 192.168.10.21-192.168.10.41;
you must use acl like these:
acl group1 src 192.168.0.1/255.255.255.224 acl group2 src 192.168.0.32 192.168.0.33 192.168.0.34 192.168.0.35
you can also visit these pages: http://www.squid-cache.org/Doc/FAQ/FAQ.html
Gio
but when i restart squid it generates the following warnings.
aclParseipData; WARNING : Netmask masks away part of the speified IP in '192.168.10.21-192.168.10.41/255.255.255.0'
what is wrong??
thanxs a billion DBH