Ive got it...
external_acl_type dnsbl children=10 %DST %SRC %IDENT %METHOD
/usr/local/bin/dnsbl_redir2
acl policy external dnsbl
http_access allow rede10 policy
http_access allow rede200-1 policy
http_access allow rede200-2 policy
I dont want to use url_regex regarding performance issues. Im using a
DNS Black-List that is much faster.
Thanks
On 6/12/06, "Luís Fernando C. Talora" <talora-listas@talora.com.br> wrote:
> Instead of using redirectores, I use "deny_info" on squid.conf (much
> easier), as follows:
>
> ---------------------------------
> # Declaration of the ACL for Pornography
> acl porn url_regex -i "/etc/squid/lists/porn.url"
>
> # Redirection to 10.0.0.10
> deny_info http://10.0.0.10/proxy/?cat=porn&url=%s porn
>
> # Blocking access to porn (user will be redirected to the link above)
> http_access deny all porn
> ---------------------------------
>
> It rocks!
>
> Regards,
>
> Luis Talora
>
>
>
>
> Luiz Henrique Ozaki escreveu:
> > Hi,
> >
> > Im using a DNSBL redirector that denies some sites redirecting to a
> > warning page.
> > How can I make denied sites from the redirector to get logged in the
> > access.log as denied ??
> >
> > Im using dnsbl on redirect_program ( http://www.frws.com/squid_block/).
> >
> > Is it possible to use external_acl_type with this redirector with a
> > little modification making this 'redirector' like the squid ACLs ?
> > Like when got a denied, gets a squid denied message and get logged in
> > access.log.
> >
>
>
-- []'s Luiz Henrique OzakiReceived on Mon Jun 12 2006 - 14:04:11 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:01 MDT