Commit Graph
194 Commits
Author SHA1 Message Date
DL6ER 0176f652a5 Send whether a domain is blocked due to a wildcard rule when asked for audit data 2017-04-22 16:15:35 +02:00
DL6ER e8592b397f Be able to output top-domans and top-ads lists sorted in descending order (use ">top-ads desc" or ">top-ads desc for audit", etc.) 2017-04-22 01:09:44 +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 b724c8f0a6 Add local forward destination in forward destination data output 2017-04-18 17:34:51 +02:00
DL6ER 459039f222 Correct computation of blocked percentage 2017-04-14 14:14:40 +02:00
DL6ER be5fa2dc91 Display number of not shown clients in debugclients mode 2017-04-14 14:11:04 +02:00
DL6ER 3319d17739 Display number of not shown domains in debugclients mode 2017-04-14 14:10:18 +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 f84574c5e8 Implemented access validator for requests 2017-04-13 12:23:09 +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 099d4ba028 Implement QUERY_DISPLAY option 2017-04-07 15:14:26 +02:00
DL6ER a8d9b228cd Reorganize request.c 2017-04-07 14:37:29 +02:00
DL6ER cabc6800d6 Add Query Types over Time data structure 2017-03-28 14:45:16 +02:00
DL6ER 1bc5462851 Sum of two unsigned long ints should not be stored in a (potentially shorter) int variable 2017-03-26 13:25:01 +02:00
DL6ER 34f3d2c19b Fix %li -> %lu in format string because the argument type is 'unsigned long' (">memory") 2017-03-26 13:23:51 +02:00
DL6ER ae78ca1165 Add ">version" command 2017-03-26 13:21:05 +02:00
DL6ER f3bcf9f0a5 Fix "undefined" in Forward Destinations over Time graph 2017-03-23 17:26:18 +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 779b18755c Extend summary output 2017-03-16 10:18:12 +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 c69a915e69 Added new API call ">ForwardedoverTime" 2017-03-13 11:23:48 +01:00
DL6ER 40375ab18e Garbage collect query types (speed enhancements, PTR, SRV) 2017-03-13 11:01:09 +01:00
DL6ER a859abcf60 Generate over time structure for forwarded data and discard old forwarded data on initial log parsing 2017-03-13 10:37:01 +01:00
DL6ER f73ed48dbf Implement FTL garbage collector 2017-03-12 21:03:05 +01:00
DL6ER 1bea9abfd2 Add ">clientID" 2017-03-12 19:55:03 +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 bba85f3302 Improve return message on ">quit" and ">kill" 2017-03-12 10:55:06 +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 fa99b5b88d [MAJOR change] FTL is now multi-threaded. There will be one core process (which catches signals handles them), one log processing thread (waiting for log changes), one listening thread (waiting for incoming connections) and one thread for each client that is connected (waiting for requests to be answered by FTL) 2017-03-08 11:32:25 +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 f116c572b7 Return hostname in getallqueries if available (strlen of hostname > 0) 2017-02-23 15:57:47 +01:00
DL6ER 72db8d5246 Use everywhere (X) argument for custom number of requests 2017-02-19 19:53:49 +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 0df312646b Reduce scope of variables + comment temporarily unused code 2017-02-06 11:18:11 +01:00
DL6ER 779ab0746c Improve getallqueries filtering 2017-02-06 11:03:36 +01:00
DL6ER 1e84b6f1b8 Be able to pass number to recentBlocked like ">recentBlocked 5" 2017-02-05 17:32:08 +01:00
DL6ER b04eee35ca Add limit for "getallqueries" like ">getallqueries (5)" to show only 5 entries 2017-02-05 17:25:41 +01:00
DL6ER 68984e354e Initial upload of the FTL engine 2017-02-02 12:44:45 +01:00