squid proxy error basic guideline needed
dear gurus, i am begiiner to squid world
i have various queries i try to search the answer but cant find it
1) i install on rhel5 and when i try to update or isntall squid it give me this message,
/etc/init.d/squid restart
============================================
[root@proxy1 squid-3.0.STABLE22]# yum -y install squid
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Nothing to do
============================================
2) I define below rule in squid.conf file, but it give me error warning message, can some one advise what i am missing, i need ip by ip to give access control internet allow to users, they are not in series rather random basis, schedule and timings also there, there r 2 timings 1 work 5 days 1 week,and other work on holiday for some hours
acl 10_hours src 10.10.10.104/255.255.255.0
acl WORKING time SMTWA 08:00-18:00
acl HOLIDAY time H 09:00-14:00
http_access allow 10_hours WORKING
http_access allow 10_hours HOLIDAY
http_access deny 10_hours
can some one advise me on this, it give below error message
==========================================================
aclParseIpData: WARNING: Netmask masks away part of the specified IP in '10.10.10.104/255.255.255.0'
2010/02/02 06:34:50| WARNING: '10.10.10.0/255.255.255.0' is a subnetwork of '10.10.10.0/255.255.255.0'
2010/02/02 06:34:50| WARNING: because of this '10.10.10.0/255.255.255.0' is ignored to keep splay tree searching predictable
2010/02/02 06:34:50| WARNING: You should probably remove '10.10.10.0/255.255.255.0' from the ACL named '10_hours'
=========================================================
3) how to define 4 subnet, but i dont want allow all subnect to open internet for everyone...
regards,
salim
|