Commit Graph
30 Commits
Author SHA1 Message Date
DL6ER 79fb026278 Improve blocking regex implementation (block both A and AAAA requests, not only A)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-05-19 16:32:52 +02:00
DL6ER f6e4ec4230 Add blocked domains counter for individual clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-05-10 14:22:58 +02:00
DL6ER e2d0529993 Implement name resolving power back for FTLDNS. This re-implements lots of already extensively tested code that was present in pre-FTLDNS for over a year. This implementation is only slightly different by ensuring that name resolution is done in a specific non-blocking way.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-04-11 18:20:06 +02:00
DL6ER 3f92f3a543 Re-implement improved exception for queried CNAME requiring forwarding of A/AAAA record. Slighly improve GC subroutine
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-04-08 22:52:24 +02:00
DL6ER dfc32a6204 Move reply type and dnssec status to per-query (not per-domain) for more accurate data at negligible additional costs
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-04-06 23:32:32 +02:00
DL6ER ea3309e7b1 Initial commit for FTLDNS
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-22 20:21:06 +01:00
DL6ER bfd3f1405d Add "MAXLOGAGE" config option
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-01-21 15:13:50 +01:00
DL6ER 3346a84d1b Add global counters for types of replies (and properly GC them)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-28 20:43:47 +01:00
DL6ER 4f1cfe1264 Add reresolveHostnames() routine
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-06 16:59:35 +02:00
DL6ER 73734596eb Interpret black.list (status 5) 2017-06-17 14:08:45 +02:00
DL6ER 2f0f68e4d5 Rework thread locks (since we don't need different kinds anymore) 2017-06-03 19:08:24 +02:00
DL6ER 18202cb843 Bugfix: Correct overTime data during GC runs if chached queries have been found 2017-04-20 15:32:43 +02:00
DL6ER 451bd5faf3 Do initial GC as if it would be running at the scheduled time 2017-04-18 17:35:19 +02:00
DL6ER 89d44ffbbb Add magic byte to each struct entry that is checked before accessing the variable - if the check fails, print a warning to the log file 2017-04-13 12:38:29 +02:00
DL6ER 49323866ba Implemented access validator in GC algorithms 2017-04-13 12:14:13 +02:00
DL6ER 992f16ba56 Don't compute log of zero 2017-04-10 22:17:45 +02:00
DL6ER aa1696060b Prevent comparison between signed and unsigned variables 2017-04-09 20:48:33 +02:00
DL6ER 16a788429b Removed logg_str 2017-04-08 18:34:37 +02:00
DL6ER ece9f18c1b Removed logg_int 2017-04-08 18:27:56 +02:00
DL6ER cabc6800d6 Add Query Types over Time data structure 2017-03-28 14:45:16 +02:00
DL6ER b426ced9f2 GC: type not equal to 1 or 2 is no error (queries like SRV or PTR create type == 0) 2017-03-27 11:50:25 +02:00
DL6ER 349222f6de GC counter should be of type unsigned long 2017-03-26 16:35:43 +02:00
DL6ER de41afeef4 Fix GC collector bug 2017-03-23 17:25:14 +01:00
DL6ER 779b18755c Extend summary output 2017-03-16 10:18:12 +01:00
DL6ER 681061e236 Improve GC error message 2017-03-16 09:05:09 +01:00
DL6ER cc7ccc5921 Improve documentation of thread locks. Allow concurrently active clients accessing the data struction in read-only mode 2017-03-16 01:18:09 +01:00
DL6ER a8a55a3857 Implement rolling 24h as standard behavior of FTL. Can be set to static views of up to 24h (analyzing pihole.log) and up to 48h (analyzing pihole.log.1 in addition) 2017-03-14 18:46:17 +01:00
DL6ER e70be89073 Remove moving time frame altogether 2017-03-14 10:38:16 +01:00
DL6ER 40375ab18e Garbage collect query types (speed enhancements, PTR, SRV) 2017-03-13 11:01:09 +01:00
DL6ER f73ed48dbf Implement FTL garbage collector 2017-03-12 21:03:05 +01:00