hi guys:
I have a centOS 5.0 server,with squid service.i was defined acl rule in squid.conf file.
Code:
# --user define--
acl badip src "/home/squid/blist"
http_access deny badip
but i trying to apply this rule,the squid show follow messege.
Code:
[root@Proxy squid]# service squid restart
Stopping squid:2008/12/04 13:38:10| strtokFile: /home/squid/blist not found
2008/12/04 13:38:14| aclParseAclLine: IGNORING invalid ACL: acl test dstdomain "/home/squid/blist"
Stopping squid:2008/12/04 13:38:14| Failed to acquire SSL certificate '(null)': error:0200100E:system library:fopen:Bad address
................ [ok]
Start squid:. [ok]
[root@Proxy squid]#
but i cp blist file to /usr/local directory ,and modify ACL,
Code:
# --user define--
acl badip src "/usr/local/blist"
http_access deny badip
the squid is working.. why squid can't find in /home/squid/blist file? following is file policy.by the wany SSL certificate '(null)',what's wrong?
Code:
drwxr-xr-x 2 root root 4096 2007-03-30 bin
-rw-r--r-- 1 root root 183 12-04 14:43 blist
drwxr-xr-x 2 root root 4096 2007-03-30 etc
drwxr-xr-x 2 root root 4096 2007-03-30 games
drwxr-xr-x 2 root root 4096 2007-03-30 include
drwxr-xr-x 2 root root 4096 2007-03-30 lib
drwxr-xr-x 2 root root 4096 2007-03-30 libexec
drwxr-xr-x 2 root root 4096 2007-03-30 sbin
drwxr-xr-x 4 root root 4096 11-03 17:31 share
drwxr-xr-x 2 root root 4096 2007-03-30 src
Code:
[root@Proxy local]# ls /home -l
总计 24
drwx------ 3 zcudxz1 lcadmin 4096 11-03 17:53 lc
drwxr-xr-x 2 root root 4096 12-04 11:54 squid
drwxr-xr-x 3 zcudxz1 lcadmin 4096 11-28 17:29 zcudxz1
Code:
[root@Proxy local]# ls /home/squid/ -l
总计 8
-rw-r--r-- 1 root root 26 12-04 11:49 blist
[root@Proxy local]#