You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
4.1 KiB

  1. # adblock configuration, for further information
  2. # please read /etc/adblock/samples/adblock.conf.sample
  3. # and /etc/adblock/README.md
  4. #
  5. # generic options (always required)
  6. #
  7. config adblock "global"
  8. # ip address of the local adblock interface/uhttpd instance,
  9. # needs to be a different subnet from the normal LAN
  10. option adb_ip "192.168.2.1"
  11. # name of an "always accessible" domain,
  12. # this domain will be used for the final nslookup check
  13. option adb_domain "heise.de"
  14. # full path to static domain blacklist file (one domain per line)
  15. # wildcards or regex expressions are not allowed
  16. option adb_blacklist "/etc/adblock/adblock.blacklist"
  17. # full path to static domain whitelist file (one domain per line)
  18. # wildcards or regex expressions are not allowed
  19. option adb_whitelist "/etc/adblock/adblock.whitelist"
  20. # list of wan devices that are allowed for adblock updates (check /sys/class/net/<dev>),
  21. # if no one found the last adlist backup will be restored,
  22. # useful only for (mobile) multiwan setups
  23. # disabled by default
  24. config service "wancheck"
  25. option enabled "0"
  26. list adb_wanlist "wan"
  27. # check that ntp has adjusted the system time on this device,
  28. # will be used for logfile writing and logfile housekeeping
  29. # disabled by default
  30. config service "ntpcheck"
  31. option enabled "0"
  32. # full path to backup directory for adlist backups
  33. # disabled by default
  34. config service "backup"
  35. option enabled "0"
  36. option adb_backupdir "/tmp"
  37. # full path to debug logfile
  38. # by default adblock logs to syslog and stdout only
  39. # disabled by default
  40. config service "debuglog"
  41. option enabled "0"
  42. option adb_logfile "/tmp/adb_debug.log"
  43. # full path to domain query logfile
  44. # a background task will trace every dns request to file, to easily identify free and already blocked domains,
  45. # for this to work, you've to enable the dnsmasq option "logqueries" too.
  46. # the "queryhistory" option deletes query logfiles older than n days (req. busybox find with mtime support)
  47. # disabled by default
  48. config service "querylog"
  49. option enabled "0"
  50. option adb_queryfile "/tmp/adb_query.log"
  51. option adb_queryhistory "1"
  52. # different adblock list sources
  53. # please do not change the urls listed below,
  54. # enable/disable sources as needed
  55. # for shallalist you can also enable/disable different ad categories
  56. config source "adaway"
  57. option enabled "0"
  58. option adb_src_adaway "https://adaway.org/hosts.txt&ruleset=rset_adaway"
  59. config source "disconnect"
  60. option enabled "0"
  61. option adb_src_disconnect "https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt&ruleset=rset_disconnect"
  62. config source "dshield"
  63. option enabled "0"
  64. option adb_src_dshield "http://www.dshield.org/feeds/suspiciousdomains_Low.txt&ruleset=rset_dshield"
  65. config source "feodo"
  66. option enabled "0"
  67. option adb_src_feodo "https://feodotracker.abuse.ch/blocklist/?download=domainblocklist&ruleset=rset_feodo"
  68. config source "malware"
  69. option enabled "0"
  70. option adb_src_malware "http://mirror1.malwaredomains.com/files/justdomains&ruleset=rset_malware"
  71. config source "palevo"
  72. option enabled "0"
  73. option adb_src_palevo "https://palevotracker.abuse.ch/blocklists.php?download=domainblocklist&ruleset=rset_palevo"
  74. config source "shalla"
  75. option enabled "0"
  76. option adb_arc_shalla "http://www.shallalist.de/Downloads/shallalist.tar.gz"
  77. list adb_catlist "adv"
  78. list adb_catlist "costtraps"
  79. list adb_catlist "spyware"
  80. list adb_catlist "tracker"
  81. list adb_catlist "warez"
  82. config source "spam404"
  83. option enabled "0"
  84. option adb_src_spam404 "http://spam404bl.com/spam404scamlist.txt&ruleset=rset_spam404"
  85. config source "whocares"
  86. option enabled "0"
  87. option adb_src_whocares "http://someonewhocares.org/hosts/hosts&ruleset=rset_whocares"
  88. config source "winhelp"
  89. option enabled "0"
  90. option adb_src_winhelp "http://winhelp2002.mvps.org/hosts.txt&ruleset=rset_winhelp"
  91. config source "yoyo"
  92. option enabled "1"
  93. option adb_src_yoyo "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=one-line&showintro=0&mimetype=plaintext&ruleset=rset_yoyo"
  94. config source "zeus"
  95. option enabled "0"
  96. option adb_src_zeus "https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist&ruleset=rset_zeus"