# ============================================================ # SquidGuard configuration file # This file generated automaticly with SquidGuard configurator # (C)2006 Serg Dvoriancev # email: dv_serg@mail.ru # ============================================================ logdir /var/squidGuard/log dbhome /var/db/squidGuard x cn=x,dc=x,dc=x ldapbindpass x ldapcachetime 300 ldapprotover 3 # src Test { ip x.x.x.0/24 ip y.y.y.0/24 log block.log } # dest blk_blacklists_adult { domainlist blk_blacklists_adult/domains expressionlist blk_blacklists_adult/expressions urllist blk_blacklists_adult/urls log block.log } # dest blk_blacklists_agressif { domainlist blk_blacklists_agressif/domains expressionlist blk_blacklists_agressif/expressions urllist blk_blacklists_agressif/urls log block.log } # dest blk_blacklists_arjel { domainlist blk_blacklists_arjel/domains log block.log } # dest blk_blacklists_associations_religieuses { domainlist blk_blacklists_associations_religieuses/domains log block.log } # dest blk_blacklists_astrology { domainlist blk_blacklists_astrology/domains urllist blk_blacklists_astrology/urls log block.log } # dest blk_blacklists_audio-video { domainlist blk_blacklists_audio-video/domains urllist blk_blacklists_audio-video/urls log block.log } # dest blk_blacklists_bank { domainlist blk_blacklists_bank/domains log block.log } # dest blk_blacklists_bitcoin { domainlist blk_blacklists_bitcoin/domains urllist blk_blacklists_bitcoin/urls log block.log } # dest blk_blacklists_blog { domainlist blk_blacklists_blog/domains urllist blk_blacklists_blog/urls log block.log } # dest blk_blacklists_celebrity { domainlist blk_blacklists_celebrity/domains urllist blk_blacklists_celebrity/urls log block.log } # dest blk_blacklists_chat { domainlist blk_blacklists_chat/domains urllist blk_blacklists_chat/urls log block.log } # dest blk_blacklists_child { domainlist blk_blacklists_child/domains urllist blk_blacklists_child/urls log block.log } # dest blk_blacklists_cleaning { domainlist blk_blacklists_cleaning/domains urllist blk_blacklists_cleaning/urls log block.log } # dest blk_blacklists_cooking { domainlist blk_blacklists_cooking/domains log block.log } # dest blk_blacklists_cryptojacking { domainlist blk_blacklists_cryptojacking/domains urllist blk_blacklists_cryptojacking/urls log block.log } # dest blk_blacklists_dangerous_material { domainlist blk_blacklists_dangerous_material/domains urllist blk_blacklists_dangerous_material/urls log block.log } # dest blk_blacklists_dating { domainlist blk_blacklists_dating/domains urllist blk_blacklists_dating/urls log block.log } # dest blk_blacklists_ddos { domainlist blk_blacklists_ddos/domains log block.log } # dest blk_blacklists_dialer { domainlist blk_blacklists_dialer/domains log block.log } # dest blk_blacklists_doh { domainlist blk_blacklists_doh/domains urllist blk_blacklists_doh/urls log block.log } # dest blk_blacklists_download { domainlist blk_blacklists_download/domains urllist blk_blacklists_download/urls log block.log } # dest blk_blacklists_drogue { domainlist blk_blacklists_drogue/domains urllist blk_blacklists_drogue/urls log block.log } # dest blk_blacklists_educational_games { domainlist blk_blacklists_educational_games/domains urllist blk_blacklists_educational_games/urls log block.log } # dest blk_blacklists_examen_pix { domainlist blk_blacklists_examen_pix/domains urllist blk_blacklists_examen_pix/urls log block.log } # dest blk_blacklists_exceptions_liste_bu { domainlist blk_blacklists_exceptions_liste_bu/domains log block.log } # dest blk_blacklists_filehosting { domainlist blk_blacklists_filehosting/domains urllist blk_blacklists_filehosting/urls log block.log } # dest blk_blacklists_financial { domainlist blk_blacklists_financial/domains urllist blk_blacklists_financial/urls log block.log } # dest blk_blacklists_forums { domainlist blk_blacklists_forums/domains expressionlist blk_blacklists_forums/expressions urllist blk_blacklists_forums/urls log block.log } # dest blk_blacklists_gambling { domainlist blk_blacklists_gambling/domains urllist blk_blacklists_gambling/urls log block.log } # dest blk_blacklists_games { domainlist blk_blacklists_games/domains urllist blk_blacklists_games/urls log block.log } # dest blk_blacklists_hacking { domainlist blk_blacklists_hacking/domains urllist blk_blacklists_hacking/urls log block.log } # dest blk_blacklists_jobsearch { domainlist blk_blacklists_jobsearch/domains log block.log } # dest blk_blacklists_lingerie { domainlist blk_blacklists_lingerie/domains urllist blk_blacklists_lingerie/urls log block.log } # dest blk_blacklists_liste_blanche { domainlist blk_blacklists_liste_blanche/domains urllist blk_blacklists_liste_blanche/urls log block.log } # dest blk_blacklists_liste_bu { domainlist blk_blacklists_liste_bu/domains urllist blk_blacklists_liste_bu/urls log block.log } # dest blk_blacklists_malware { domainlist blk_blacklists_malware/domains expressionlist blk_blacklists_malware/expressions urllist blk_blacklists_malware/urls log block.log } # dest blk_blacklists_manga { domainlist blk_blacklists_manga/domains urllist blk_blacklists_manga/urls log block.log } # dest blk_blacklists_marketingware { domainlist blk_blacklists_marketingware/domains urllist blk_blacklists_marketingware/urls log block.log } # dest blk_blacklists_mixed_adult { domainlist blk_blacklists_mixed_adult/domains urllist blk_blacklists_mixed_adult/urls log block.log } # dest blk_blacklists_mobile-phone { domainlist blk_blacklists_mobile-phone/domains urllist blk_blacklists_mobile-phone/urls log block.log } # dest blk_blacklists_phishing { domainlist blk_blacklists_phishing/domains urllist blk_blacklists_phishing/urls log block.log } # dest blk_blacklists_press { domainlist blk_blacklists_press/domains urllist blk_blacklists_press/urls log block.log } # dest blk_blacklists_publicite { domainlist blk_blacklists_publicite/domains expressionlist blk_blacklists_publicite/expressions urllist blk_blacklists_publicite/urls log block.log } # dest blk_blacklists_radio { domainlist blk_blacklists_radio/domains urllist blk_blacklists_radio/urls log block.log } # dest blk_blacklists_reaffected { domainlist blk_blacklists_reaffected/domains urllist blk_blacklists_reaffected/urls log block.log } # dest blk_blacklists_redirector { domainlist blk_blacklists_redirector/domains expressionlist blk_blacklists_redirector/expressions urllist blk_blacklists_redirector/urls log block.log } # dest blk_blacklists_remote-control { domainlist blk_blacklists_remote-control/domains urllist blk_blacklists_remote-control/urls log block.log } # dest blk_blacklists_sect { domainlist blk_blacklists_sect/domains urllist blk_blacklists_sect/urls log block.log } # dest blk_blacklists_sexual_education { domainlist blk_blacklists_sexual_education/domains urllist blk_blacklists_sexual_education/urls log block.log } # dest blk_blacklists_shopping { domainlist blk_blacklists_shopping/domains urllist blk_blacklists_shopping/urls log block.log } # dest blk_blacklists_shortener { domainlist blk_blacklists_shortener/domains urllist blk_blacklists_shortener/urls log block.log } # dest blk_blacklists_social_networks { domainlist blk_blacklists_social_networks/domains urllist blk_blacklists_social_networks/urls log block.log } # dest blk_blacklists_special { domainlist blk_blacklists_special/domains expressionlist blk_blacklists_special/expressions urllist blk_blacklists_special/urls log block.log } # dest blk_blacklists_sports { domainlist blk_blacklists_sports/domains urllist blk_blacklists_sports/urls log block.log } # dest blk_blacklists_stalkerware { domainlist blk_blacklists_stalkerware/domains log block.log } # dest blk_blacklists_strict_redirector { domainlist blk_blacklists_strict_redirector/domains expressionlist blk_blacklists_strict_redirector/expressions urllist blk_blacklists_strict_redirector/urls log block.log } # dest blk_blacklists_strong_redirector { domainlist blk_blacklists_strong_redirector/domains expressionlist blk_blacklists_strong_redirector/expressions urllist blk_blacklists_strong_redirector/urls log block.log } # dest blk_blacklists_translation { domainlist blk_blacklists_translation/domains urllist blk_blacklists_translation/urls log block.log } # dest blk_blacklists_tricheur { domainlist blk_blacklists_tricheur/domains urllist blk_blacklists_tricheur/urls log block.log } # dest blk_blacklists_update { domainlist blk_blacklists_update/domains log block.log } # dest blk_blacklists_vpn { domainlist blk_blacklists_vpn/domains log block.log } # dest blk_blacklists_warez { domainlist blk_blacklists_warez/domains expressionlist blk_blacklists_warez/expressions urllist blk_blacklists_warez/urls log block.log } # dest blk_blacklists_webmail { domainlist blk_blacklists_webmail/domains urllist blk_blacklists_webmail/urls log block.log } # dest WhiteListPers { domainlist WhiteListPers/domains urllist WhiteListPers/urls redirect www.google.it log block.log } # dest BlackListPers { domainlist BlackListPers/domains redirect www.google.it log block.log } # rew safesearch { s@(google..*/search?.*q=.*)@&safe=active@i s@(google..*/images.*q=.*)@&safe=active@i s@(google..*/groups.*q=.*)@&safe=active@i s@(google..*/news.*q=.*)@&safe=active@i s@(yandex..*/yandsearch?.*text=.*)@&fyandex=1@i s@(search.yahoo..*/search.*p=.*)@&vm=r&v=1@i s@(search.live..*/.*q=.*)@&adlt=strict@i s@(search.msn..*/.*q=.*)@&adlt=strict@i s@(.bing..*/.*q=.*)@&adlt=strict@i s@(duckduckgo..*/?.*q=.*)@&kp=1@i s@(rambler..*/?.*query=.*)@&adult=family@i s@(qwant..*/?.*q=.*)@&s=2@i s@(ecosia..*/search.*q=.*)@&safesearch=2@i s@(onesearch..*/yhs/search.*)@&vm=r@i log block.log } # acl { # Test { pass !in-addr !BlackListPers !blk_blacklists_adult !blk_blacklists_chat !blk_blacklists_cryptojacking !blk_blacklists_dangerous_material !blk_blacklists_dating !blk_blacklists_ddos !blk_blacklists_drogue !blk_blacklists_gambling !blk_blacklists_games !blk_blacklists_hacking !blk_blacklists_lingerie !blk_blacklists_malware !blk_blacklists_mixed_adult !blk_blacklists_sexual_education !blk_blacklists_social_networks !blk_blacklists_update !blk_blacklists_warez WhiteListPers all redirect www.google.it rewrite safesearch log block.log } # default { pass !in-addr none redirect www.google.it rewrite safesearch log block.log } }