Mise en place des blackliste diffrencies pour :
- upload - upload rpt - p2p - p2p rpt darcs-hash:20060307145443-72cb0-28c846de35d9f194beed5fa2731392fe01776c91.gz
This commit is contained in:
parent
c26c1c685c
commit
374978d5e1
2 changed files with 32 additions and 11 deletions
|
@ -55,6 +55,24 @@ class squid_upload(squid) :
|
|||
chaine = "upload"
|
||||
recherche_bl = 1
|
||||
|
||||
class squid_p2p(squid) :
|
||||
""" Genère le fichier blacklist-p2p pour squid """
|
||||
FICHIER = "/etc/squid/blacklist_p2p"
|
||||
chaine = "p2p"
|
||||
recherche_bl = 2
|
||||
|
||||
class squid_autodisc_upload(squid) :
|
||||
""" Genère le fichier blacklist-autodiscupload pour squid """
|
||||
FICHIER = "/etc/squid/blacklist_autodisc_upload"
|
||||
chaine = "autodisc_upload"
|
||||
recherche_bl = 1
|
||||
|
||||
class squid_autodisc_p2p(squid) :
|
||||
""" Genère le fichier blacklist-autodisc-p2p pour squid """
|
||||
FICHIER = "/etc/squid/blacklist_autodisc_p2p"
|
||||
chaine = "autodisc_p2p"
|
||||
recherche_bl = 2
|
||||
|
||||
class squid_virus(squid) :
|
||||
""" Genère le fichier blacklist-virus pour squid """
|
||||
FICHIER = "/etc/squid/blacklist_virus"
|
||||
|
@ -67,12 +85,6 @@ class squid_warez(squid) :
|
|||
chaine = "warez"
|
||||
recherche_bl = 2
|
||||
|
||||
class squid_p2p(squid) :
|
||||
""" Genère le fichier blacklist-p2p pour squid """
|
||||
FICHIER = "/etc/squid/blacklist_p2p"
|
||||
chaine = "p2p"
|
||||
recherche_bl = 2
|
||||
|
||||
class squid_carte(squid) :
|
||||
""" Genère le fichier blacklist-carte pour squid """
|
||||
FICHIER = "/etc/squid/blacklist_carte_et"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue