Re: [squid-users] Blocking an IP

From: Mark Elsen <mark.elsen@dont-contact.us>
Date: Wed, 21 Dec 2005 06:47:02 +0100

> 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.
Received on Tue Dec 20 2005 - 22:47:03 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:03 MST