blokovanie urcitych adries

matej.kozub at nextra.sk matej.kozub at nextra.sk
Fri Jul 18 12:14:49 CEST 2003


super, dakujem za vsetky rady a inspiracie

Mato

----- Original Message ----- 
From: "Ivo Hazmuk" <ivo at vutbr.cz>
To: <users-l at freebsd.cz>
Sent: Friday, July 18, 2003 6:43 AM
Subject: Re: blokovanie urcitych adries


> > Mozes to prosim konkretizovat, lebo mne obmedzovanie akosi nefunguje? Co
> > konkretne treba vlozit do squid.conf, aky riadok?
>
> Treba:
> # regex matching on whole URL
> acl UTOK url_regex cmd.exe
>
> # dalsi access listy
> acl SMTP port 25
> acl GETPOST method GET POST
>
> # povol pouze pristup do adresaru /go - predelat na case insensitive
> acl DOMENA url_regex login.domena.cz/go
> acl DOMENA url_regex
[Ll][Oo][Gg][Ii][Nn].[Dd][Oo][Mm][Ee][Nn][Aa].[Cc][Zz]/[Gg][Oo]
> acl DOMENA url_regex 192.168.1.3/go
> acl DOMENA1 dstdomain .domena.cz
>
> redirector_access allow DOMENA
> redirector_access deny all
>
> http_access deny UTOK
> http_access deny SMTP
> http_access allow DOMENA GETPOST DOMENA1
> http_access deny all
>
> I.
>
>





More information about the Users-l mailing list