Re: Missing something in this Squid ACL chain...

Grishnav <[email protected]>
Newsgroups gmane.org.user-groups.linux.pdxlug
Message-ID <[email protected]>
Dylan Reinhardt wrote:

>On Wed, 06 Oct 2004 20:59:19 -0700, Grishnav <[email protected]> wrote:
>  
>
>>Hosts in blocked should be blocked, but they aren't. What am I missing?
>>    
>>
>[snip]
>  
>
>>acl blocked src 102.168.0.13/255.255.255.255
>>    
>>
>
>102.168.* looks one easy typo away from 192.168.*
>

It is. I originally had 192.168... directly behind http_access line. I 
wasn't sure if that would work, so put it into the "blocked" acl and 
made the mistake. I corrected it, but haven't had a chance to test it yet.

>  Any chance of that
>being the problem?
>  
>

A good one, I'd say.

>If not, you mentioned "hosts" but blocked consists of only one IP. 
>Any chance here?
>  
>

Right now, it's only one IP. Eventually, it will be multiple ones...

Which brings me to another question, actually. In the current setup, 
what would I need to do to add another host? The revelant squid section 
is a bit unclear, but it looks as if just adding another

acl blocked 192.168.x.x/255....

should work?

>Aside from that, the file looks like it *should* work.  I'm assuming
>you reloaded squid after the most recent squid.conf change...
>  
>

But of course. More than once, even. ;)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.