[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squidguard
Subject:    Re: test
From:       "Jonathan Schott" <jonathan () schottweb ! de>
Date:       2000-09-05 19:57:08
[Download RAW message or body]

> I get this answer while testing squidguard:
>
> [root@linux squidGuard]# cat ../squidGuard/test.pass
> http://www.hotfreefun.com/freesex/index.html 204.177.92.181/- - GET
> st.eltele.no fdgh GET
> [root@linux squidGuard]# /usr/local/squid/bin/squidGuard -c
> ../squidGuard/squidGuard.conf <../squidGuard/test.pass
> http://linux.mps.com.mx 204.177.92.181/- - GET
> [root@linux squidGuard]#
>
>
> Is it correct what I'm receiving?
>
Yes, it's fully correct. Squidguard is working!!!

>
> This is my squidGuard.conf:
>
> ---------
> logdir /usr/local/squid/squidGuard/log
> src kids {
>         ip 200.4.49.0/32
> }
> dest blacklist {
>         domainlist /usr/local/squid/squidGuard/blacklist/domains
>         urllist /usr/local/squid/squidGuard/blacklist/urls
>         expressionlist /usr/local/squid/squidGuard/blacklist/expressions
> }
> acl {
>     kids {
>         pass !blacklist all
>     }
>     default {
>         pass none
>         redirect http://www.mps.com.mx
>     }
> }
> ------------
>
>
> Is it correct that with this rule anyone accessing from 200.4.49.* will be
> redirected to http://www.mps.com.mx?
>
>
No, all clients from 200.4.49.0/24 will pass (except what's in 'blacklist').

Your request is made from 204.177.92.181, so it's matches the default target
and gets redirected.

-Jonathan

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic