Advertisement
Guest User

adblock.ini

a guest
May 12th, 2016
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.86 KB | None | 0 0
  1. # Frequency in seconds to refresh web page
  2. web_refreshtime=60
  3.  
  4. # Number of lines to show in web reports
  5. web_reportlines=200
  6.  
  7. # Add Adblock link to Tomato GUI  (1=add)
  8. tomatolink=1
  9.  
  10. # enable logging - a value of "1" will add "log-queries" to $CONF
  11. # and restart dnsmasq if necessary
  12. #
  13. # has no effect if logging is already enabled in dnsmasq.conf
  14. dnsmasq_logqueries="1"
  15.  
  16. # !**** CAUTION ****!
  17. # dnsmasq_custom - use at your own risk
  18. #
  19. # value will be appended to $CONF as entered
  20. #
  21. # example:
  22. # dnsmasq_custom='
  23. # log-facility=/tmp/mylogfile
  24. # log-dhcp
  25. # log-queries
  26. # local-ttl=600
  27. # '
  28. #
  29. # !! do not use unless you know what you are doing !!
  30. #
  31. # dnsmasq is very sensitive and will not start with invalid entries, entries
  32. # that conflict with directives in the primary config, and some duplicated
  33. # entries
  34. #
  35. # no validation of the content is performed by adblock
  36. #
  37. # !**** CAUTION ****!
  38. dnsmasq_custom="log-facility=/var/log/dnsmasq.log"
  39.  
  40. # additional options for wget
  41. wget_opts=""
  42.  
  43. # list mode, see changelog
  44. LISTMODE="OPTIMIZE"
  45.  
  46. # Where to setup pixelserv, default to using primary lan interface
  47. BRIDGE="$(nvram get lan_ifname)"
  48.  
  49. # default to strict firewall rules, see changelog
  50. FWRULES=STRICT
  51.  
  52. # default interface(s) for firewall rules, see changelog
  53. # supports multiple interfaces as well, ie: "br0 br1 br3"
  54. FWBRIDGE="br+ lo"
  55.  
  56. # 0: disable pixelserv, 1-254: last octet of IP to run pixelserv on
  57. PIXEL_IP=254
  58.  
  59. # additional options for pixelserv
  60. PIXEL_OPTS="-c 80"
  61.  
  62. # 1: keep blocklist in RAM (e.g. for small JFFS)
  63. RAMLIST=0
  64. ##
  65.  
  66. # The only required line in the config file
  67. SOURCES=""
  68.  
  69. ## Remove comments from below lists to enable them
  70. ## Sources (uncomment desired blocklists) [must be compatible to the hosts file format!]
  71. ## MVPS HOSTS (~600k) [default]:
  72. SOURCES="$SOURCES http://winhelp2002.mvps.org/hosts.txt"
  73. ## pgl.yoyo.org (~70k) [default]:
  74. SOURCES="$SOURCES http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext"
  75. ## AdAway mobile ads (~20k):
  76. #SOURCES="$SOURCES http://adaway.org/hosts.txt"
  77. ## hpHosts ad/tracking servers (~400k):
  78. SOURCES="$SOURCES http://hosts-file.net/ad_servers.txt "
  79. ## The Cameleon Project (~600k):
  80. #SOURCES="$SOURCES http://sysctl.org/cameleon/hosts"
  81. ## hpHosts ad/tracking/malicious servers (~6M! replaces hpHosts ad/tracking list):
  82. #SOURCES="$SOURCES http://hosts-file.net/download/hosts.txt http://hosts-file.net/hphosts-partial.txt"
  83. ## MalwareDomainList.com (~40k):
  84. SOURCES="$SOURCES http://www.malwaredomainlist.com/hostslist/hosts.txt "
  85. ## Hosts File Project (~3M!) beware this list:
  86. SOURCES="$SOURCES http://hostsfile.mine.nu/Hosts"
  87.  
  88. ## Blacklist additional sites
  89. ## (add hostnames inside the quotes, space-separated, without http://)
  90. BLACKLIST=""
  91.  
  92. ## Whitelist sites from blocking
  93. ## (add hostnames inside the quotes, space-separated, without http://)"
  94. WHITELIST=""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement