Commit Graph
16 Commits
Author SHA1 Message Date
DL6ER 15098dca97 Use local path for DB as well 2017-06-12 11:48:39 +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 380aee6689 Add test suite for FTL 2017-06-05 15:12:38 +02:00
DL6ER 4cef1a9f9c Add "no-daemon" resp. "-f" option to prevent FTL forking itself into background (#42) 2017-05-11 00:21:22 +02:00
DL6ER 78f615201a Some non-POSIX systems use different conventions for exit status values.
For greater portability, we now use the macros EXIT_SUCCESS and EXIT_FAILURE for the conventional status value for success and failure, respectively.
They are declared in stdlib.h
2017-03-29 14:00:51 +02:00
DL6ER aa46dfa584 Add "running" argument that tests if another FTL process is running 2017-03-22 17:19:04 +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 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 e70be89073 Remove moving time frame altogether 2017-03-14 10:38:16 +01:00
DL6ER f73ed48dbf Implement FTL garbage collector 2017-03-12 21:03:05 +01:00
DL6ER e303d9e670 New command line arguments: debugclients debugthreads
Also don't return clients or forwards with a count of 0
2017-03-10 14:12:10 +01:00
DL6ER 6ccfeea2da Guarantee FTL's thread safety 2017-03-08 11:47:58 +01:00
DL6ER e930b91b5e Add "tag" command line argument 2017-02-22 09:50:05 +01:00
DL6ER 676947230c Add "version" command line option (print GIT_VERSION and exit immediately) 2017-02-16 23:10:55 +01:00
DL6ER a83ba95b10 Add "test" argument that will let FTL load everything and then shut down immediately 2017-02-06 13:49:24 +01:00
DL6ER b01d6b6194 Interpret command line arguments (use pihole-FTL debug for debug mode) 2017-02-06 13:19:17 +01:00