summaryrefslogtreecommitdiffstats
path: root/net/adblock/files/samples/adblock.conf.sample
blob: 7f7a1d7543dc2fa2a918b6af6404e5e360751106 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# adblock configuration, for further information
# please read /etc/adblock/samples/adblock.conf.sample
# and /etc/adblock/README.md
#

# generic options (always required)
#
config adblock "global"
	# ip address of the local adblock interface/uhttpd instance,
	# needs to be a different subnet from the normal LAN
	option adb_ip "192.168.2.1"

	# name of an "always accessible" domain,
	# this domain will be used for the final nslookup check
	option adb_domain "heise.de"

	# full path to static domain blacklist file (one domain per line)
	# wildcards or regex expressions are not allowed
	option adb_blacklist "/etc/adblock/adblock.blacklist"

	# full path to static domain whitelist file (one domain per line)
	# wildcards or regex expressions are not allowed
	option adb_whitelist "/etc/adblock/adblock.whitelist"

# list of wan devices that are allowed for adblock updates (check /sys/class/net/<dev>),
# if no one found the last adlist backup will be restored,
# useful only for (mobile) multiwan setups
# disabled by default
config service "wancheck"
	option enabled "0"
	list adb_wanlist "wan"

# check that ntp has adjusted the system time on this device,
# will be used for logfile writing and logfile housekeeping
# disabled by default
config service "ntpcheck"
	option enabled "0"

# full path to backup directory for adlist backups
# disabled by default
config service "backup"
	option enabled "0"
	option adb_backupdir "/tmp"

# full path to debug logfile
# by default adblock logs to syslog and stdout only
# disabled by default
config service "debuglog"
	option enabled "0"
	option adb_logfile "/tmp/adb_debug.log"

# full path to domain query logfile
# a background task will trace every dns request to file, to easily identify free and already blocked domains,
# for this to work, you've to enable the dnsmasq option "logqueries" too.
# the "queryhistory" option deletes query logfiles older than n days (req. busybox find with mtime support)
# disabled by default
config service "querylog"
	option enabled "0"
	option adb_queryfile "/tmp/adb_query.log"
	option adb_queryhistory "1"

# different adblock list sources
# please do not change the urls listed below, 
# enable/disable sources as needed
# for shallalist you can also enable/disable different ad categories
config source "adaway"
	option enabled "0"
	option adb_src_adaway "https://adaway.org/hosts.txt&ruleset=rset_adaway"

config source "disconnect"
	option enabled "0"
	option adb_src_disconnect "https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt&ruleset=rset_disconnect"

config source "dshield"
	option enabled "0"
	option adb_src_dshield "http://www.dshield.org/feeds/suspiciousdomains_Low.txt&ruleset=rset_dshield"

config source "feodo"
	option enabled "0"
	option adb_src_feodo "https://feodotracker.abuse.ch/blocklist/?download=domainblocklist&ruleset=rset_feodo"

config source "malware"
	option enabled "0"
	option adb_src_malware "http://mirror1.malwaredomains.com/files/justdomains&ruleset=rset_malware"

config source "palevo"
	option enabled "0"
	option adb_src_palevo "https://palevotracker.abuse.ch/blocklists.php?download=domainblocklist&ruleset=rset_palevo"

config source "shalla"
	option enabled "0"
	option adb_arc_shalla "http://www.shallalist.de/Downloads/shallalist.tar.gz"
	list adb_catlist "adv"
	list adb_catlist "costtraps"
	list adb_catlist "spyware"
	list adb_catlist "tracker"
	list adb_catlist "warez"

config source "spam404"
	option enabled "0"
	option adb_src_spam404 "http://spam404bl.com/spam404scamlist.txt&ruleset=rset_spam404"

config source "whocares"
	option enabled "0"
	option adb_src_whocares "http://someonewhocares.org/hosts/hosts&ruleset=rset_whocares"

config source "winhelp"
	option enabled "0"
	option adb_src_winhelp "http://winhelp2002.mvps.org/hosts.txt&ruleset=rset_winhelp"

config source "yoyo"
	option enabled "1"
	option adb_src_yoyo "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=one-line&showintro=0&mimetype=plaintext&ruleset=rset_yoyo"

config source "zeus"
	option enabled "0"
	option adb_src_zeus "https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist&ruleset=rset_zeus"