Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/05/2009, à 11:14

zartan

[Résolu]squidGuard

bonjour smile
je poste mon squidGuard.conf :

#
# CONFIG FILE FOR SQUIDGUARD
#
dbhome /sjt/db/blacklists
logdir /sjt/log

src admin {
	ip		192.168.1.3
#	user		root foo bar
#	within 		workhours
}

dest adult 
{
	domainlist	adult/domains
	urllist		adult/urls
	expressionlist	adult/expressions
	redirect http://192.168.1.21/index.html
}

destination agressif 
{
        urllist         agressif/urls
        domainlist      agressif/domains
}

destination audio-video 
{
        urllist         audio-video/urls
        domainlist      audio-video/domains
}
destination blog 
{
        urllist         blog/urls
        domainlist      blog/domains
}

destination cleaning 
{
        urllist         cleaning/urls
        domainlist      cleaning/domains
}

destination dangerous_material	 
{
        urllist         dangerous_material/urls
        domainlist      dangerous_material/domains
}

destination drogues 
{
        urllist         drogue/urls
        domainlist      drogue/domains
}

destination financial 
{
#        urllist         financial/urls
        domainlist      financial/domains
}

destination forums 
{
        urllist         forums/urls
        domainlist      forums/domains
}
destination gambling 
{
        urllist         gambling/urls
        domainlist      gambling/domains
}
destination hacking 
{
        urllist         hacking/urls
        domainlist      hacking/domains
}
destination mobile-phone 
{
        urllist         mobile-phone/urls
        domainlist      mobile-phone/domains
}

destination phishing 
{
        urllist         phishing/urls
        domainlist      phishing/domains
}

destination publicite 
{
        urllist         publicite/urls
        domainlist      publicite/domains
}
destination radio 
{
        urllist         radio/urls
        domainlist      radio/domains
}

destination redirector 
{
        urllist         redirector/urls
        domainlist      redirector/domains
}

destination strict_redirector 
{
        urllist         strict_redirector/urls
        domainlist      strict_redirector/domains
}
destination strong_redirector 
{
        urllist         strong_redirector/urls
        domainlist      strong_redirector/domains
}

destination tricheur 
{
        urllist         tricheur/urls
        domainlist      tricheur/domains
}

destination warez {
        urllist         warez/urls
        domainlist      warez/domains
}

destination webmail
{
        urllist         webmail/urls
        domainlist      webmail/domains
}

destination games
{
        urllist         games/urls
        domainlist      games/domains
}

destination mixed_adult
{
        urllist         mixed_adult/urls
        domainlist      mixed_adult/domains
}

destination filehosting
{
        urllist         filehosting/urls
        domainlist      filehosting/domains
}

destination reaffected
{
        urllist         reaffected/urls
        domainlist      reaffected/domains
}

destination sexual_education
{
        urllist         sexual_education/urls
        domainlist      sexual_education/domains
}

destination shopping
{
        urllist         shopping/urls
        domainlist      shopping/domains
}

destination dating
{
        urllist         dating/urls
        domainlist      dating/domains
}

destination marketingware
{
        urllist         marketingware/urls
        domainlist      marketingware/domains
}
destination astrology
{
        urllist         astrology/urls
        domainlist      astrology/domains
}
destination sect
{
        urllist         sect/urls
        domainlist      sect/domains
}

destination celebrity
{
        urllist         celebrity/urls
        domainlist      celebrity/domains
}

destination manga
{
        urllist         manga/urls
        domainlist      manga/domains
}

destination child
{
        urllist         child/urls
        domainlist      child/domains
}

destination malware
{
        urllist         malware/urls
        domainlist      malware/domains
}

destination press
{
#        urllist         press/urls
        domainlist      press/domains
}

acl {
	admin { 
		pass !adult !agressif !audio-video !blog !cleaning !dangerous_material !drogue !financial !forums !gambling !hacking !mobile_phone !phishing !publicite !radio !redirector !string_redirector !strong_redirector !tricheur !warez !webmail !games !mixed_adult !filehosting !reaffected !sexual_education !shopping !dating !marketingware !astrology !sect !celebrity !manga !child !malware !press all
#		redirect http://192.168.1.21/squidGuard.cgi?clientaddr=%a&srcclass=%s&targetclass=%t&url=%u	
		redirect http://192.168.1.21/index.html
#	}
	default {
		pass !adult !agressif !audio-video !blog !cleaning !dangerous_material !drogue !financial !forums !gambling !hacking !mobile_phone !phishing !publicite !radio !redirector !string_redirector !strong_redirector !tricheur !warez !webmail !games !mixed_adult !filehosting !reaffected !sexual_education !shopping !dating !marketingware !astrology !sect !celebrity !manga !child !malware !press all

#		pass	 local none
#		rewrite	 dmz
#		redirect http://admin.foo.bar.de/cgi/blocked?clientaddr=%a+clientname=%n+clientuser=%i+clientgroup=%s+targetgroup=%t+url=%u
		redirect http://192.168.1.21/index.html
#		redirect http://192.168.1.21/squidGuard.cgi?clientaddr=%a&srcclass=%s&targetclass=%t&url=%u
	}
}

mon pb : tout passe à travers mon filtrage
je dois louper qqch mais je ne vois pas où  mad

un regard neud et un petit coup de main ? cool

Dernière modification par zartan (Le 21/05/2009, à 09:07)

Hors ligne

#2 Le 20/05/2009, à 11:44

zartan

Re : [Résolu]squidGuard

j'ai trouvé roll

Hors ligne