Re: [squid-users] Blocking an IP

From: Palula Brasil <palula@dont-contact.us>
Date: Wed, 21 Dec 2005 03:03:13 -0200

Thats it!
The only thing that was missing were IP adresses. When I putted the first,
everything worked fine. :-)

----- Original Message -----
From: "Mark Elsen" <mark.elsen@gmail.com>
To: "Palula Brasil" <palula@uol.com.br>
Cc: <squid-users@squid-cache.org>
Sent: Wednesday, December 21, 2005 3:47 AM
Subject: Re: [squid-users] Blocking an IP

> 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 - 23:02:29 MST

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