DL6ER
86d370e46a
Return special version if compiled on a branch != master
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-11-03 18:31:04 +01:00
DL6ER
01dc64cea4
Refactor DB thread to run exclusively either saving queries into the DB *or* deleting old queries (i.e. every hour at minute 59 no queries will be saved to the DB, but instead, two minutes of data will be saved at the full hour)
2017-06-22 23:14:13 +02:00
DL6ER
94c7f39d6c
Merge branch 'development' into new/db
...
Conflicts:
Makefile
2017-06-12 12:07:04 +02:00
Mcat12
a7ca42ab12
Remove need for empty obj directory in repo
2017-06-11 19:21:25 -04:00
DL6ER
838585e254
Add optimization flags for SQLite3's building process
2017-06-09 14:11:50 +02:00
DL6ER
d6dde2d09b
Don't recompile the sqlite object file when switching branches
2017-06-09 12:02:10 +02:00
DL6ER
a51501e56c
Compile SQLite3 w/o debugging options
2017-06-09 10:53:07 +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
97f285a1a3
Remove necessity to use libmath routines
2017-04-14 18:59:39 +02:00
DL6ER
40823c9989
Add fno-omit-frame-pointer which may or not improve future stacktraces
2017-04-12 15:00:31 +02:00
DL6ER
a33dba3194
Add -Wextra which enables some extra warning flags that are not enabled by -Wall
2017-04-09 20:48:59 +02:00
DL6ER
371b7a0f32
Use stat() and don't keep pihole.log open forever. Fixes #16
2017-04-09 20:41:25 +02:00
DL6ER
28caa6c2fe
Remove flag that is not needed according to gcc's man page
2017-04-03 00:06:58 +02:00
DL6ER
384384bb9e
Remove non-standard flag from makefile
2017-03-31 19:46:00 +02:00
DL6ER
7f9229ae5a
Add application self-debugging. Also, don't silently get killed on SIGSEGV. Furthermore, try to automatically attach to the debugger on crashing (only if running in debug mode)
2017-03-31 13:18:47 +02:00
DL6ER
d8a17cdc7a
Enhance debugging compiler flag to -g3 (maximum debug information), includes extra information such as macro definitions
2017-03-25 17:25:55 +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
3bb6f423dc
FTL is now aware of how much memory it uses. Added ">memory" command.
2017-03-12 12:16:09 +01:00
DL6ER
e83cacf6d5
Return 1 when FTL gets killed
2017-03-08 17:26:42 +01:00
DL6ER
2b4188a092
Add multi-threading: Pi-hole log processing now happening independently of the rest of the daemon
2017-03-08 10:02:31 +01:00
DL6ER
a435a440ac
Move flush handling routine into own file
2017-02-27 13:26:26 +01:00
DL6ER
fd17ff5ddc
Update README.md with new instructions on how to download and test FTL
2017-02-23 20:44:46 +01:00
DL6ER
e930b91b5e
Add "tag" command line argument
2017-02-22 09:50:05 +01:00
DL6ER
eea6fb9b95
Avoid having our CFLAGS overwritten by Travis
2017-02-20 14:01:07 +01:00
DL6ER
d958ac4fb9
Added ASLR protection
2017-02-08 14:14:50 +01:00
DL6ER
ab7d26ea60
Improved hardening flags
2017-02-08 13:45:32 +01:00
DL6ER
fb0392b38c
Hardening of the generated binaries against some possible attacks
2017-02-08 12:52:33 +01:00
DL6ER
ae7ee5b3fa
Remove static, add debug output at linking
2017-02-07 22:32:02 +01:00
DL6ER
d29024fcda
Compile ARM binaries using -marm
2017-02-07 22:14:09 +01:00
DL6ER
7b016dd410
A different aproach to static linking
2017-02-07 21:59:50 +01:00
DL6ER
1d81fef7b1
Statically link libgcc
2017-02-07 21:19:41 +01:00
DL6ER
b01d6b6194
Interpret command line arguments (use pihole-FTL debug for debug mode)
2017-02-06 13:19:17 +01:00
DL6ER
75a3085acb
Save files in new locations + added install target in Makefile
2017-02-06 12:36:02 +01:00
DL6ER
68984e354e
Initial upload of the FTL engine
2017-02-02 12:44:45 +01:00