Commit Graph

20 Commits

Author SHA1 Message Date
DL6ER 3c39cb1fd2 Added Unix socket - it is listening!
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-31 22:44:08 +01:00
DL6ER dde29d12e8 Make path and file name of FTL's long-term database adjustable via the config file
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-11-29 19:14:55 +01:00
DL6ER 95f76ad0e4 Detect pihole blocking status and return this on API request
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-05 17:48:00 +02:00
DL6ER 692d69947e Add FTL SQLite3 implementation, we compile SQLite3 on-the-fly to become independent of installed libraries
Limit DB filesize, configureable via config file, if set to zero, the DB functionality is disabled altogether
Add ">dbstats" to the telnet interface
2017-06-09 09:47:13 +02:00
DL6ER 94bd92a067 Add audit log implementation in FTL (extension to already existing >top-domains and >top-ads commands, use ">top-ads for audit") 2017-04-22 01:05:11 +02:00
DL6ER 9fc5426e8b Increase verbosity of FTL's debug mode + add new memory access validation checker subroutine 2017-04-13 11:54:32 +02:00
DL6ER e8563acd77 Move memory allocation for woldcard domains into common memory_check() routine 2017-04-12 10:47:30 +02:00
DL6ER 6da22c1931 Resize structs one counter value earlier (just to not access the last portion of allocated memory) 2017-04-12 10:32:54 +02:00
DL6ER ba058c1372 Increase verbosity of log file 2017-04-03 10:33:08 +02:00
DL6ER 7b370f5fc3 It does not make sense fo free a NULL pointer 2017-03-17 18:44:10 +01:00
DL6ER 7d0c24e360 Improve handling of structs 2017-03-17 18:43:08 +01:00
DL6ER 478a83f4b4 Change size buffers to unsigned long int 2017-03-17 18:26:39 +01:00
DL6ER 7c9b1b4195 Add config file parser. First config arguments are
SOCKET_LISTENING=all|local
INCLUDE_YESTERDAY=true|false

If FTL we cannot find or interpret a config variable value, it will skip it and use the default value
2017-03-14 12:20:07 +01:00
DL6ER 3bb6f423dc FTL is now aware of how much memory it uses. Added ">memory" command. 2017-03-12 12:16:09 +01:00
DL6ER 4cb9b58d33 Also analyze pihole.log.1 and keep only data of the most recent 24 hours (reparse logs every hour) 2017-03-10 13:49:09 +01:00
DL6ER 85a7818e79 Remove any 24h limitation from the overTime graph 2017-02-27 15:42:17 +01:00
DL6ER dd44b4302b Added wildcard blocking domains list parser 2017-02-23 17:08:42 +01:00
DL6ER 75a3085acb Save files in new locations + added install target in Makefile 2017-02-06 12:36:02 +01:00
DL6ER 6533043968 Create struct that holds FTL related filenames 2017-02-03 23:51:44 +01:00
DL6ER 68984e354e Initial upload of the FTL engine 2017-02-02 12:44:45 +01:00