[squid-users] acl problem

From: Raman Sood <ramans@dont-contact.us>
Date: Tue, 03 Jul 2001 14:35:35 +0800

hi all,

can anyone tell me how can i allow one host to access proxy and deny
all.
coz in my case I am providing web interface to allow users to add and
delete the networks. I am attaching my squid.conf. which is using two
other txt files from which it picks up allowed and disallowd networks.
If u see the text files u will come to know what exactly my problem is

kindly suggest me

thanks in advance

_____________________________________________________________
                       Raman Sood
                       Internet Appliance Pte Ltd.
                       31 Kaki Bukit Road 3
                       #06-05 TechLink
                       Singapore 417818
                       Ph-(0065)7436638 Extn :862
______________________________________________________________

10.65.1.50/255.255.255.255

0.0.0.0/0.0.0.0

http_port 8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir null /tmp
cache_access_log /dev/null
cache_log /dev/null
cache_store_log /dev/null
cache_peer 203.124.2.28 parent 8080 0 no-query default
acl access src "/etc/CON/proxy_access.txt"
acl access_not src "/etc/CON/proxy_deny.txt"
acl all src 0.0.0.0/0.0.0.0
#acl block url_regex '/etc/CON/URL_BLOCK.txt'
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
never_direct allow access
#http_access deny block
http_access allow access
http_access deny access_not
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
icp_access allow all
cache_effective_user nobody
cache_effective_group nogroup
coredump_dir /tmp
Received on Tue Jul 03 2001 - 00:35:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:58 MST