Commit Graph

8 Commits

Author SHA1 Message Date
bloved 15ec9f49ac - stats: if "SET" to zero, stat is removed 2021-01-14 00:20:23 +01:00
bloved 945709f24e - config:
- more sanity checks
  - added localresponder: if set use specified DNS server for local domains
  - ipaliases is now used in DNS responses (works same as /etc/hosts file)
- ForwardQuery(): accept param to avoid cache
2021-01-13 23:38:33 +01:00
bloved e86ead83b7 - config
- sanity checks
  - parsing of timetables
- removed unused global variables (moved at config level)
- added new stat: DNS request for each "CONFIG"
- implemented configuration from ip groups / timetables
2021-01-13 22:30:04 +01:00
bloved 5e94032cd0 - killfile stats: incremented only when adding a new domain in BL
- Malformed lines stats: stats are reset at refresh; ignoring blank/comment lines
2021-01-12 13:35:36 +01:00
bloved b6dfee64a6 - WIP:
- new json configuration: added multiple configs, ip groups/ip aliases and timetables
  - added multiple configurations:
    - each configuration has his own upstream, singlefilters, doublefilters, blackholeip hostsfile
    - cache DB is global to all configs
    - BL downloader and parser is optimized: each BL source is downloaded/parsed only once
- TODO:
  - implement configuration selection based on source IPs and timetables
  - unused code cleanup
2021-01-12 00:04:34 +01:00
LowEel 5c5e4e4417 first commit 2020-10-08 22:14:07 +02:00
LowEel 05afb0dace Delete 'README.md' 2020-10-08 20:13:27 +00:00
LowEel 4dde7cf2c1 Initial commit 2020-10-08 20:13:07 +00:00