forked from graysky2/adblock-by_haarp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
46 lines (40 loc) · 1.88 KB
/
config
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
PREFIX="/jffs/adblock/"
### Settings ###
## 0: disable pixelserv
## 1-254: last octet of IP to run pixelserv on (default=254)
PIXEL_IP="0"
## additional options for pixelserv
PIXEL_OPTS=""
## bridge interface for pixelserv (default=br0)
BRIDGE="br0"
## 1: keep blocklist in RAM (e.g. for small JFFS) (default=0)
RAMLIST="0"
## dnsmasq custom config (must be sourced by dnsmasq!)
## confused? then leave this be!
CONF="/etc/dnsmasq.custom"
### Sources (uncomment desired blocklists) [must be compatible to the hosts file format!] ###
## MVPS HOSTS (~600k) [default]:
SOURCES="$SOURCES http://winhelp2002.mvps.org/hosts.txt"
## pgl.yoyo.org (~70k) [default]:
SOURCES="$SOURCES http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext"
## Hosts File Project (~3M!):
#SOURCES="$SOURCES http://hostsfile.mine.nu/Hosts"
## The Cameleon Project (~600k):
SOURCES="$SOURCES http://sysctl.org/cameleon/hosts"
## AdAway mobile ads (~20k):
SOURCES="$SOURCES http://adaway.org/hosts.txt"
## hpHosts ad/tracking servers (~400k):
#SOURCES="$SOURCES http://hosts-file.net/ad_servers.asp"
## hpHosts ad/tracking/malicious servers (~6M! replaces hpHosts ad/tracking list):
#SOURCES="$SOURCES http://hosts-file.net/download/hosts.txt http://hosts-file.net/hphosts-partial.txt"
## MalwareDomainList.com (~40k):
SOURCES="$SOURCES http://www.malwaredomainlist.com/hostslist/hosts.txt"
### Blacklist additional sites ###
## (add hostnames inside the quotes, space-separated, without http://) ##
BLACKLIST=""
### Whitelist sites from blocking ###
## (add hostnames inside the quotes, space-separated, without http://) ##
WHITELIST="hostsfile.mine.nu hostingmanager.secureserver.net p3nlsccweb.secureserver.net"
### Blacklist and Whitelist files (optional) ###
## create the files "blacklist" and "whitelist" with your hosts, one per line ##
## useful if you have many hosts in these (they generate faster aswell!) ##