LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 760|回复: 4

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

[复制链接]
发表于 2003-8-12 23:19:45 | 显示全部楼层 |阅读模式
/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:.[  确定  ]
发表于 2003-8-12 23:37:11 | 显示全部楼层
acl有问题!你贴出conf来!
 楼主| 发表于 2003-8-13 22:53:33 | 显示全部楼层
这是我的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.254/24
acl all  src 0.0.0.0/0
http_access allow good
http_access deny all
cache_mgr cool@cool.com
 楼主| 发表于 2003-8-16 10:47:36 | 显示全部楼层
怎么没人理我????
请帮帮忙!!!!
郁闷中............
发表于 2003-8-16 13:39:04 | 显示全部楼层
acl good src 192.168.0.1-192.168.0.254/24
这行应该这么写,
acl good src 192.168.0.0/24
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表