Search squid archive

Re: Blocking an IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Ok. Looks to me that everything should be working nice...
>
> There should be the creation of the acl:
> acl bad_ips dst "/etc/squid/bad_ips.acl"
>
> And after that should exist the denial...
> http_access deny bad_ips
>
> Why does Squi return this:
> aclParseAclLine: IGNORING invalid ACL: acl bad_ips dst
> "/etc/squid/bad_ips.acl"
> squid.conf line 66: http_access deny bad_ips
> aclParseAccessLine: ACL name 'bad_ips' not found.
> squid.conf line 66: http_access deny bad_ips
> aclParseAccessLine: Access Line contains no ACL's, skipping
>

Can´t tell , because it looks right ; indeed.
Only some hints for the moment :

   - make sure that the file is readable for the user SQUID runs under.
   - make sure that the file only contains IP addresses ; without
     any syntax errors. For instance; have a test with one IP address only.

  M.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux