LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   squid proxy error basic guideline needed (https://www.linuxquestions.org/questions/linux-server-73/squid-proxy-error-basic-guideline-needed-786352/)

salimshahzad 02-02-2010 12:51 AM

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

chrism01 02-02-2010 01:33 AM

Quote:

============================================
[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
============================================
means what it says.
If you are prepared to pay for support (or already have a subscription), then you can run

rhn_register

as root to get the system registered with RH.
If you don't/can't pay, replace with Centos (free equiv of RHEL, but no support).

salimshahzad 02-02-2010 01:49 AM

dear gurus highly appreciated, but advise us for rest of the part if u can

i am on hold due to squid trying things to fixed 1 by 1

regards
salim


All times are GMT -5. The time now is 05:24 AM.