squid proxy server

Giovanni Riganti admin.linux at eco.uninsubria.it
Mon Aug 30 09:32:31 UTC 2004


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

-- 
 11:18:03  up  3:19,  3 users,  load average: 0.25, 0.15, 0.06





More information about the fedora-list mailing list