Simon Zolin
|
e7727e9f63
|
+ dnsforward: match CNAME with filtering rules
+ GET /control/querylog: add "cname_match" field
* querylog: Add() now receives an object with parameters
|
2019-12-03 17:01:26 +03:00 |
Simon Zolin
|
7e45c2fc24
|
+ new setting "dns.querylog_memsize"
* set 1000 entries by default (not 5000)
|
2019-12-02 15:46:03 +03:00 |
Simon Zolin
|
a31116635e
|
* querylog: delete code for time counter
|
2019-11-25 15:20:56 +03:00 |
Simon Zolin
|
305df63054
|
- querylog: remove time counter (fix zero div exception)
|
2019-11-25 13:40:27 +03:00 |
Simon Zolin
|
81e8bbe63c
|
* /control/querylog_config: support optional parameters
|
2019-11-20 20:12:46 +03:00 |
Simon Zolin
|
a7742a3665
|
- querylog: fix linter issue
|
2019-11-19 17:13:12 +03:00 |
Simon Zolin
|
12f4ebc6a5
|
+ querylog: preserve searching compatibility with the previous version
|
2019-11-19 17:09:54 +03:00 |
Simon Zolin
|
68cd7976b7
|
* querylog: add more tests
|
2019-11-19 15:09:53 +03:00 |
Simon Zolin
|
0cd6781a9a
|
* QueryLog.Add() now receives net.IP, not net.Addr
|
2019-11-19 15:09:53 +03:00 |
Simon Zolin
|
2f5d6593f2
|
* querylog: major refactor: change on-disk format and API
speed up decoding
speed up search
compatible with previous format (when not searching)
|
2019-11-19 15:08:51 +03:00 |
Simon Zolin
|
0d4e95b36d
|
* querylog: don't return entries without Question data
|
2019-11-12 18:14:33 +03:00 |
Simon Zolin
|
8323c0c4b6
|
Merge: * querylog: skip decoding errors
Close #753
* commit 'c74ae0d0e7ca03a592663025dc644397c1e31d57':
* querylog: skip decoding errors
|
2019-10-24 16:00:07 +03:00 |
Simon Zolin
|
c047053646
|
- querylog: writing to a file could stop randomly
|
2019-10-24 14:28:24 +03:00 |
Simon Zolin
|
c74ae0d0e7
|
* querylog: skip decoding errors
We read line from file and pass it to a JSON decoder.
JSON decoder is now a local object.
|
2019-10-22 19:16:04 +03:00 |
Simon Zolin
|
e2c26ec554
|
* API changes
* filtering_info -> filtering/status
* filtering_config -> filtering/config
|
2019-10-14 15:55:58 +03:00 |
Simon Zolin
|
90db91b0fd
|
* querylog: refactor: move HTTP handlers to querylog/
|
2019-10-09 19:38:58 +03:00 |
Simon Zolin
|
c9b4a0742f
|
* querylog, stats: don't print unnecessary log messages
|
2019-10-07 12:03:56 +03:00 |
Andrey Meshkov
|
b835baf013
|
*(global): CI scripts
|
2019-10-02 15:41:14 +03:00 |
Simon Zolin
|
81828c87c1
|
* querylog: POST /control/querylog
|
2019-09-26 18:27:31 +03:00 |
Simon Zolin
|
adb422fedf
|
filtering: refactor; change API; add "filters_update_interval" setting
+ config: "filters_update_interval"
* add /control/filtering_info
* remove /control/filtering/enable
* remove /control/filtering/disable
* add /control/filtering_config
* remove /control/filtering/status
* add /control/filtering/set_url
* remove /control/filtering/enable_url
* remove /control/filtering/disable_url
|
2019-09-12 18:38:13 +03:00 |
Simon Zolin
|
8104c902ee
|
* querylog: move code to a separate package
+ config: "querylog_interval" setting
/control/querylog_config, /control/querylog_info
+ POST /control/querylog_clear
|
2019-09-12 18:35:13 +03:00 |