-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathadblock.conf
252 lines (204 loc) · 13.3 KB
/
adblock.conf
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
##############################################
# Adblock config file
#
#
##############################################
# remove redundant subdomains from the file (0, 1):
#adb_tldcompression=1
# log messages into log file (0, 1):
#adb_log2file=1
# min diskspace required to run:
#adb_minspace=12000
#===========
adb_targets='dnsmasq file hosts'
#----------------
# target: dnsmasq
target_dnsmasq_enabled=1
target_dnsmasq_detect='which dnsmasq'
target_dnsmasq_format='{ print "local=/"$0"/" }'
target_dnsmasq_filename=adblock.conf
target_dnsmasq_dir=/etc/dnsmasq.d
target_dnsmasq_hidedir=/etc/dnsmasq.d/.adb_hidden/
target_dnsmasq_restart='service dnsmasq restart'
target_dnsmasq_pid='pidof dnsmasq'
#----------------
# target: file
target_file_enabled=1
target_file_detect=
target_file_format='{ print $0 }'
target_file_filename=blocklist.conf
target_file_dir=/tmp
target_file_hidedir=
target_file_restart=
target_file_pid=
#----------------
# target: hosts
target_hosts_enabled=1
target_hosts_detect=
target_hosts_format='{ print "0.0.0.0 " $0 " " }'
target_hosts_filename=hosts
target_hosts_dir=/tmp
target_hosts_hidedir=
target_hosts_restart=
target_hosts_pid=
#===========
adb_sources='adaway adguard blacklist disconnectad diconnectmal disconnectmalv disconnecttrack dshield easylist easylistcn easylistnl easylistpl easylistde easylistro easylistru fanboyenh feodo hphosts malware malwaredomains malwarelist openphish peterloweslist ransomware securemecca shalla spam404 spotifyads steveblack sysctl tyzbit whocares winspy winhelp youtubeads yoyo zeus'
enabled_youtubeads=1
adb_src_youtubeads='https://raw.githubusercontent.com/arthurgeron/blockYTAds/master/hosts.txt'
adb_src_rset_youtubeads='{sub(/\r$/,"")};$0 ~/^0\.0\.0\.0[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_youtubeads='Block youtube advertisement videos'
enabled_adaway=1
adb_src_adaway='https://adaway.org/hosts.txt'
adb_src_rset_adaway='{sub(/\r$/,"")};$0 ~/^127\.0\.0\.1[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_adaway='focus on mobile ads, infrequent updates, approx. 400 entries'
enabled_adguard=1
adb_src_adguard='https://raw.githubusercontent.com/AdguardTeam/AdguardDNS/master/Filters/filter.txt'
adb_src_rset_adguard='{FS="[|^]"} {sub(/\r$/,"")}; $0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower($3)}'
adb_src_desc_adguard='combined adguard dns filter list, approx. 12.000 entries'
enabled_blacklist=1
adb_src_blacklist="${adb_blacklist}"
adb_src_rset_blacklist='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_blacklist='Manual blocklist'
enabled_disconnectmalv=1
adb_src_disconnectmalv='https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt'
adb_src_rset_disconnectmalv='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_disconnectmalv='mozilla driven content blocklist, numerous updates on the same day, approx. 5000 entries'
enabled_disconnectad=1
adb_src_disconnectad='https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt'
adb_src_rset_disconnectad='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_disconnectad='mozilla driven content blocklist, numerous updates on the same day, approx. 2700 entries'
enabled_disconnectmal=1
adb_src_disconnectmal='https://s3.amazonaws.com/lists.disconnect.me/simple_malware.txt'
adb_src_rset_disconnectmal='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_disconnectmal='mozilla driven content blocklist, numerous updates on the same day, approx. 2000 entries'
enabled_disconnecttrack=1
adb_src_disconnecttrack='https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt'
adb_src_rset_disconnecttrack='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_disconnecttrack='mozilla driven content blocklist, numerous updates on the same day, approx. 30 entries'
enabled_dshield=1
adb_src_dshield='https://secure.dshield.org/feeds/suspiciousdomains_Low.txt'
adb_src_rset_dshield='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_dshield='broad blocklist for suspicious domains, daily updates, approx. 4.500 entries'
enabled_easylist=1
adb_src_easylist='https://easylist-downloads.adblockplus.org/easylist.txt'
adb_src_rset_easylist='{FS="[|^]"} {sub(/\r$/,"")}; $0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower($3)}'
adb_src_desc_easylist='adblock plus easylist'
enabled_easylistnl=1
adb_src_easylistnl='https://easylist-downloads.adblockplus.org/easylistdutch+easylist.txt'
adb_src_rset_easylistnl='{FS="[|^]"} {sub(/\r$/,"")};$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower($3)}'
adb_src_desc_easylistnl='adblock plus easylist for netherlands'
enabled_easylistde=1
adb_src_easylistde='https://easylist-downloads.adblockplus.org/easylistgermany+easylist.txt'
adb_src_rset_easylistde='{FS="[|^]"} {sub(/\r$/,"")};$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower($3)}'
adb_src_desc_easylistde='adblock plus easylist for germany'
enabled_easylistpl=1
adb_src_easylistpl='http://adblocklist.org/adblock-pxf-polish.txt'
adb_src_rset_easylistpl='{FS="[|^]"} {sub(/\r$/,"")};$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower($3)}'
adb_src_desc_easylistpl='adblock plus easylist for germany'
enabled_easylistro=1
adb_src_easylistro='https://easylist-downloads.adblockplus.org/rolist+easylist.txt'
adb_src_rset_easylistro='{FS="[|^]"} {sub(/\r$/,"")};$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower($3)}'
adb_src_desc_easylistro='adblock plus easylist for romania'
enabled_easylistru=1
adb_src_easylistru='https://easylist-downloads.adblockplus.org/ruadlist+easylist.txt'
adb_src_rset_easylistru='{FS="[|^]"} {sub(/\r$/,"")};$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower($3)}'
adb_src_desc_easylistru='adblock plus easylist for russia'
enabled_easylistcn=1
adb_src_easylistcn='https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt'
adb_src_rset_easylistcn='{FS="[|^]"} {sub(/\r$/,"")};$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower($3)}'
adb_src_desc_easylistcn='focus on chinese ads, daily updates, approx. 1.600 entries'
enabled_fanboyenh=1
adb_src_fanboyenh='https://easylist-downloads.adblockplus.org/ruadlist+easylist.txt'
adb_src_rset_fanboyenh='{FS="[|^]"} {sub(/\r$/,"")};$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower($3)}'
adb_src_desc_fanboyenh='Fanboys Enhanced Tracking List (http://www.fanboy.co.nz/)'
enabled_feodo=0
adb_src_feodo='https://feodotracker.abuse.ch/blocklist/?download=domainblocklist'
adb_src_rset_feodo='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_feodo='focus on feodo botnet domains, daily updates, approx. 0-10 entries'
enabled_hphosts=1
adb_src_hphosts='https://hosts-file.net/ad_servers.txt'
adb_src_rset_hphosts='{sub(/\r$/,"")};$0 ~/^127\.0\.0\.1[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_hphosts='broad blocklist, monthly updates, approx. 50.000 entries'
enabled_malware=1
adb_src_malware='https://mirror.cedia.org.ec/malwaredomains/justdomains'
adb_src_rset_malware='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_malware='broad blocklist for malware domains, daily updates, approx. 16.000 entries'
enabled_malwaredomains=1
adb_src_malwaredomains='https://easylist-downloads.adblockplus.org/malwaredomains_full.txt'
adb_src_rset_malwaredomains='{FS="[|^]"} {sub(/\r$/,"")};$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower($3)}'
adb_src_desc_malwaredomains='Malware Domains; adblock plus (http://www.malwaredomains.com/); approx. 23.000 entries'
enabled_malwarelist=1
adb_src_malwarelist='http://www.malwaredomainlist.com/hostslist/hosts.txt'
adb_src_rset_malwarelist='{sub(/\r$/,"")};$0 ~/^127\.0\.0\.1[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_malwarelist='generic blocklist for malware domains, daily updates, approx. 1.500 entries'
enabled_openphish=1
adb_src_openphish='https://openphish.com/feed.txt'
adb_src_rset_openphish='{FS="/"} {sub(/\r$/,"")};$3 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($3)}'
adb_src_desc_openphish='focus on phishing domains, numerous updates on the same day, approx. 1.800 entries'
enabled_palevo=0
adb_src_palevo='https://palevotracker.abuse.ch/blocklists.php?download=domainblocklist'
adb_src_rset_palevo='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_palevo='focus on palevo worm domains, daily updates, approx. 15 entries'
enabled_peterloweslist=1
adb_src_peterloweslist='http://pgl.yoyo.org/adservers/serverlist.php?hostformat=adblockplus&mimetype=plaintext'
adb_src_rset_peterloweslist='{FS="[|^]"} {sub(/\r$/,"")};$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower($3)}'
adb_src_desc_peterloweslist='Peter Lowes list; adblock plus (http://pgl.yoyo.org/adservers/); approx. 2.300 entries'
enabled_ransomware=1
adb_src_ransomware='https://ransomwaretracker.abuse.ch/downloads/RW_DOMBL.txt'
adb_src_rset_ransomware='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_ransomware='focus on ransomware domains, numerous updates on the same day, approx. 130 entries'
enabled_securemecca=1
adb_src_securemecca='http://securemecca.com/Downloads/hosts.txt'
adb_src_rset_securemecca='{sub(/\r$/,"")};$0 ~/^127\.0\.0\.1[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_securemecca='broad blocklist subdivided in different categories (adv, costtraps, spyware, tracker and warez enabled by default), daily updates, approx. 32.000 entries'
adb_src_securemecca_src='broad blocklist, infrequent updates, approx. 25.000 entries'
enabled_shalla=1
adb_src_shalla='http://www.shallalist.de/Downloads/shallalist.tar.gz'
adb_src_rset_shalla='{sub(/\r$/,"")};{FS="/"} $1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_shalla='broad blocklist subdivided in different categories (adv, costtraps, spyware, tracker and warez enabled by default), daily updates, approx. 32.000 entries'
adb_src_shalla_src='adv costtraps gamble spyware tracker warez'
enabled_spam404=1
adb_src_spam404='https://raw.githubusercontent.com/Dawsey21/Lists/master/main-blacklist.txt'
adb_src_rset_spam404='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_spam404='generic blocklist for suspicious domains, infrequent updates, approx. 5.000 entries'
enabled_spotifyads=1
adb_src_spotifyads='https://raw.githubusercontent.com/StevenBlack/hosts/master/data/SpotifyAds/hosts'
adb_src_rset_spotifyads='{sub(/\r$/,"")};$0 ~/^0\.0\.0\.0[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_spotifyads='Steven Black: Spotify Ads blocklist'
enabled_steveblack=1
adb_src_steveblack='https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts'
adb_src_rset_steveblack='{sub(/\r$/,"")};$0 ~/^127\.0\.0\.1[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_steveblack='Steven Balck personal blocklist'
enabled_sbgambling=1
adb_src_sbgambling='https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/gambling/hosts'
adb_src_rset_sbgambling='{sub(/\r$/,"")};$0 ~/^0\.0\.0\.0[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_sbgambling='Steven Balck Gambling extension blocklist'
enabled_sysctl=1
adb_src_sysctl='http://sysctl.org/cameleon/hosts'
adb_src_rset_sysctl='{sub(/\r$/,"")};$0 ~/^127\.0\.0\.1[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_sysctl='generic blocklist for ad related domains, weekly updates, approx. 21.000 entries'
enabled_tyzbit=0
adb_src_tyzbit='https://raw.githubusercontent.com/StevenBlack/hosts/master/data/tyzbit/hosts'
adb_src_rset_tyzbit='{sub(/\r$/,"")};$0 ~/^127\.0\.0\.1[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_tyzbit='tyzbit hosts (approx 40 hosts)'
enabled_whocares=1
adb_src_whocares='http://someonewhocares.org/hosts/hosts'
adb_src_rset_whocares='{sub(/\r$/,"")};$0 ~/^127\.0\.0\.1[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_whocares='broad blocklist for suspicious domains, weekly updates, approx. 12.000 entries'
enabled_winspy=1
adb_src_winspy='https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/win10/spy.txt'
adb_src_rset_winspy='{sub(/\r$/,"")};$0 ~/^0\.0\.0\.0[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_winspy='focus on windows spy & telemetry domains, infrequent updates, approx. 120 entries'
enabled_winhelp=1
adb_src_winhelp='http://winhelp2002.mvps.org/hosts.txt'
adb_src_rset_winhelp='{sub(/\r$/,"")};$0 ~/^0\.0\.0\.0[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($2)}'
adb_src_desc_winhelp='broad blocklist for suspicious domains, infrequent updates, approx. 15.000 entries'
enabled_yoyo=1
adb_src_yoyo='https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext'
adb_src_rset_yoyo='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_yoyo='focus on ad related domains, weekly updates, approx. 2.500 entries'
enabled_zeus=1
adb_src_zeus='https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist'
adb_src_rset_zeus='{sub(/\r$/,"")};$1 ~/^([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower($1)}'
adb_src_desc_zeus='focus on zeus botnet domains, daily updates, approx. 440 entries'
#===========