Skip to content

Releases: pi-hole/FTL

FTL v1.10

03 Apr 08:43
92ff3bc
Compare
Choose a tag to compare
  • Increase verbosity of FTL's logging to ease debugging.

  • Allow starting pihole-FTL only via service / systemctl as user pihole to prevent messing with the file permissions. This can be overwritten when running FTL with debug flag set.

FTL v1.9

02 Apr 22:11
28caa6c
Compare
Choose a tag to compare

New features

  • Don't get silently killed on crashes by SIGSEGV. Instead, try to provide some self-debugging details and aks the user to file a bug report on our GitHub repository
  • Catch and handle SIGINT (Ctrl + C)
  • Detect name of user that is running pihole-FTL and include it in some warning and error messages
  • Re-parse logs when receiving SIGUSR1

Bugfixes

  • Some bug fixes for log files that are > 4 GB in size (corresponding to >~ 100 million queries)

Tweaks

  • Use the macros EXIT_SUCCESS and EXIT_FAILURE for the conventional status value for success and failure, respectively, for greater portability
  • Debug mode: Print at which time query had to be enlarged (kind of log parsing process display for humongous logs)

FTL v1.8

29 Mar 09:33
f506c28
Compare
Choose a tag to compare

Optimizations for high-density environments (several million queries a day):

  • Return early from log parsing if log flushing is detected half-way through
  • Initialize sockets only after initial log parsing (which might take some minutes if there are millions of queries to be analyzed)

Other changes:

  • Add Query Types over Time data structure (see pi-hole/web#462)
  • Show number of queries in memory before flushing data structure
  • GC: type not equal to 1 or 2 is no error (queries like SRV or PTR lead to type != [1,2])

FTL v1.7

26 Mar 11:27
1bc5462
Compare
Choose a tag to compare
  • Handle DST correctly (according to ISO/IEC 9899:TC3)

  • Enhance debugging compiler flag to -g3 (maximum debug information) to be able to display the version of the currently running pihole-FTL process inside gdb:

(gdb) list version.h:1
1       #define GIT_VERSION "v1.6-2-g106498d-dirty"
2       #define GIT_DATE "2017-03-26 13:10:43 +0200"
3       #define GIT_BRANCH "master"
4       #define GIT_TAG "v1.6"
  • Add >version command to query version via telnet and possibly also the API:
pi@raspberrypi:/home/pi/FTL# telnet 127.0.0.1 4711
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
>version
version v1.6-3-g106498d-dirty
tag v1.6
branch master
date 2017-03-26 13:10:43 +0200
  • Change wording of displayed notice when there is no config file

  • Minor code style optimizations

FTL v1.6

23 Mar 16:28
f3bcf9f
Compare
Choose a tag to compare
  • Add "running" argument that tests if another FTL process is running
  • Fix GC collector bug
  • Fix spurious "undefined" in Forward Destinations over Time graph

FTL v1.5.2

17 Mar 18:01
2829970
Compare
Choose a tag to compare

Increase FTL's memory efficiency

FTL v1.5.1

15 Mar 13:14
722b062
Compare
Choose a tag to compare

Actually go through the options and initialize them if the config file cannot be found/read.

FTL v1.5

14 Mar 18:15
a8a55a3
Compare
Choose a tag to compare

Changes to the config file:

SOCKET_LISTENING

  • local = listen only to local connections (default)
  • all = listen to all incoming connections

TIMEFRAME

  • 24h = show queries and statistics within the most recent 24 hours (default)
  • TODAY = show data since last log flushing (most likely this means since midnight, static view)
  • YESTERDAY = try to show more than 24h (up to 48h) of data (static view)

FTL v1.4

14 Mar 15:43
b90f4a5
Compare
Choose a tag to compare

Add a configuration file for FTL.

If a file /etc/pihole/pihole-FTL.conf is found, it will be scanned for

  • SOCKET_LISTENING=all|local (defaulting to local) which lets FTL either listen only to local connections or to connections from any destination
  • INCLUDE_YESTERDAY=true|false (defaulting to false) also parse pihole.log.1 to show > 24 hours of consecutive data

If FTL we cannot find or open the log file, or if it cannot find or interpret one of the config variable value, it will skip it and use the default value.

FTL v1.3.2

13 Mar 15:12
440e23a
Compare
Choose a tag to compare

Add unsorted list of forward directions to be used for the labels of the new forward destinations over time graph on the dashboard.