这是什么问题????有关SQUID的,高手过来看看

由 冷雪 在 08-12-2003 23:19 发表:

这是什么问题????有关SQUID的,高手过来看看

/etc/rc.d/init.d/squid restart

停止 squid:2003/08/12 23:23:22| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.0.1-192.168.0.254/24'

.[ 确定 ]

启动 squid:.[ 确定 ]


由 slackware 在 08-12-2003 23:37 发表:


acl有问题!你贴出conf来!


由 冷雪 在 08-13-2003 22:53 发表:


这是我的squid.conf 文件,其他为系统默认值

http_port 192.168.0.8:3128

acl QUERY urlpath_regex cgi-bin ?

no_cache deny QUERY

cache_mem 128 MB

cache_swap_low 90

cache_swap_high 95

maximum_object_size 4096 KB

cache_dir ufs /var/spool/squid 1024 16 256

cache_access_log /var/log/squid/access.log

cache_log /var/log/squid/cache.log

cache_store_log /var/log/squid/store.log

pid_filename /var/run/squid.pid

acl manager proto cache_object

acl localhost src 127.0.0.1/255.255.255.255

acl to_localhost dst 127.0.0.0/8

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

acl good src 192.168.0.1-192.168.0

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus