Pagina 1 di 1

blocco dei siti

Inviato: ven 04 feb , 2011 12:39 am
da spidernet
salve a tutti ragazzi,
avrei bisogno del vostro aiuto.
ho installato un cisco 877 in un istituto scolastico e mi hanno chiesto giustamente il blocco dei siti vietati....

come posso procedere?
devo sapere per forza gli indirizzi di ogni singolo sito da bloccare o c'è qualche funzione che posso abilitare?

blocco dei siti

Inviato: ven 04 feb , 2011 11:32 pm
da crisalf76
Ciao

Io uso la seguente conf anche ampliabile :

ip name-server <Dns_Primario>
ip name-server <Dns_Secondario>
!
class-map match-any ADULT-URL
match protocol http url "*porn"
match protocol http url "porn*"
match protocol http url ".*xxx*."
match protocol http url ".xxx*."
match protocol http url ".*xxx."
match protocol http url "*facebook*"
match protocol http url "*youtube*"
match protocol http host "*youtube.com*|*video.google.com*"
match protocol http mime "video/flv|video/x-flv|video/mp4|video/x-m4v|audio/mp4"
match protocol http mime "video/3gpp|video/quicktime"
match protocol http url "*.flv|*.mp4|*.m4v|*.m4a|*.3gp|*.mov"
match protocol http host "*.facebook.*"
match protocol http host "*porn.*"
match protocol http host "*youtube*"
match protocol http host "*megavideo*"
!
!
policy-map FILTER-ADULT
class ADULT-URL
drop
!

Poi sotto l'interfaccia l'interfaccia lan :

service-policy input FILTER-ADULT

Saluti :wink:

Inviato: sab 05 feb , 2011 12:03 am
da zot
consiglio spassionato..... opendns o squid con un buon database

Inviato: sab 05 feb , 2011 12:03 am
da zot
consiglio spassionato..... opendns o squid con un buon database

Re: blocco dei siti

Inviato: dom 06 feb , 2011 1:23 pm
da spidernet
appena posso proverò...

grazie sei stato molto gentile
crisalf76 ha scritto:Ciao

Io uso la seguente conf anche ampliabile :

ip name-server <Dns_Primario>
ip name-server <Dns_Secondario>
!
class-map match-any ADULT-URL
match protocol http url "*porn"
match protocol http url "porn*"
match protocol http url ".*xxx*."
match protocol http url ".xxx*."
match protocol http url ".*xxx."
match protocol http url "*facebook*"
match protocol http url "*youtube*"
match protocol http host "*youtube.com*|*video.google.com*"
match protocol http mime "video/flv|video/x-flv|video/mp4|video/x-m4v|audio/mp4"
match protocol http mime "video/3gpp|video/quicktime"
match protocol http url "*.flv|*.mp4|*.m4v|*.m4a|*.3gp|*.mov"
match protocol http host "*.facebook.*"
match protocol http host "*porn.*"
match protocol http host "*youtube*"
match protocol http host "*megavideo*"
!
!
policy-map FILTER-ADULT
class ADULT-URL
drop
!

Poi sotto l'interfaccia l'interfaccia lan :

service-policy input FILTER-ADULT

Saluti :wink:

Re: blocco dei siti

Inviato: dom 06 feb , 2011 1:25 pm
da spidernet
appena posso proverò...

grazie sei stato molto gentile
crisalf76 ha scritto:Ciao

Io uso la seguente conf anche ampliabile :

ip name-server <Dns_Primario>
ip name-server <Dns_Secondario>
!
class-map match-any ADULT-URL
match protocol http url "*porn"
match protocol http url "porn*"
match protocol http url ".*xxx*."
match protocol http url ".xxx*."
match protocol http url ".*xxx."
match protocol http url "*facebook*"
match protocol http url "*youtube*"
match protocol http host "*youtube.com*|*video.google.com*"
match protocol http mime "video/flv|video/x-flv|video/mp4|video/x-m4v|audio/mp4"
match protocol http mime "video/3gpp|video/quicktime"
match protocol http url "*.flv|*.mp4|*.m4v|*.m4a|*.3gp|*.mov"
match protocol http host "*.facebook.*"
match protocol http host "*porn.*"
match protocol http host "*youtube*"
match protocol http host "*megavideo*"
!
!
policy-map FILTER-ADULT
class ADULT-URL
drop
!

Poi sotto l'interfaccia l'interfaccia lan :

service-policy input FILTER-ADULT

Saluti :wink: