Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 5f2c914905e5c98508dbd42ede0ed97e > files > 1

apache-mod_dnsbl-0.11-6mdv2010.1.src.rpm

<IfDefine HAVE_DNSBL>
    <IfModule !mod_dnsbl.c>
	LoadModule dnsbl_module	extramodules/mod_dnsbl.so
    </IfModule>
</IfDefine>

<IfModule mod_dnsbl.c>

    DnsblContact root@localhost
    DnsblSuffix	dnsbl.othello.ch
    #DnsblTemplate	/var/tmp/test.html

    # actions for all the IP addresses defined for the mapping of the squidguard
    # blacklist
    DnsblAction	127.0.0.1	block	Advertising
    DnsblAction	127.0.0.2	block	Aggressive
    DnsblAction	127.0.0.3	block	Audio-Video
    DnsblAction	127.0.0.4	block	Drugs
    DnsblAction	127.0.0.5	block	Gambling
    DnsblAction	127.0.0.6	block	Hacking
    DnsblAction	127.0.0.7	block	Proxy
    DnsblAction	127.0.0.8	block	Violence
    DnsblAction	127.0.0.9	block	"Illegal Software"
    DnsblAction	127.0.0.10	pass	Mail
    DnsblAction	127.0.0.11	block	Porn

    # actions for the adult lists from
    # http://cri.univ-tlse1.fr/documentations/cache/squidguard_en.html
    DnsblAction	127.0.0.12	block	Adult

    # allow accoss to these resources during lunch
    DnsblAction	127.1.0.1	pass/12:00-13:00,block	local-newspaper

    # allow access to the local government sites without authentication
    DnsblAction	127.1.0.2	pass,skipauth	local-government

</IfModule>