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.

102 lines
3.5 KiB

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