Pi-hole Core/Web v5.2 and FTL v5.3 released!

Originally published at: https://pi-hole.net/2020/11/28/pi-hole-core-web-v5-2-and-ftl-v5-3-released/

As always, please read through the changelog before updating with pihole -up. If you have any issues with the web interface after updating.

Highlights

  • Upgrade RegEx engine #815
    Adding approximate matching (catch URL typos), back-references, more character classes for bracket expressions, type-specific filtering (e.g. regex only for type AAAA queries), and more. See this Discourse discussion for further details.
  • Analyze EDNS(0) records #851
    We highlight the Client Subnet (ECS) feature to obtain client IPs even when they are hidden behind a NAT or a deputy DNS server. See this Discourse discussion for further technical details. This feature can be used to unveil the real IP addresses of clients even when there used to be the router’s IP address for all clients (if supported by the router).
  • Allow defining clients by their MAC address #762 (FTL) / #1285(Web)
    This allows you to use MAC addresses to automatically identify clients immediately connected you the Pi-hole. This will make the configuration for clients changing their addresses frequently (non-deterministic DHCP server, IPv6 privacy extension, non-constant ISP IPv6 prefixes, etc.) easier than before.
  • Add dhcp-discover feature #883
    A new feature to actively scan all interfaces for available DHCP servers
    It can be invoked using sudo pihole-FTL dhcp-discover
  • Add additional pre-compiled ARMv4, ARMv5 and ARMv8 binaries #903
  • Add new query retried status (12 and 13) #901
  • Differentiate upstream servers by address and port #923
    This allows the statistics to tell apart servers on the same IP address running on different ports.
  • Add API callback to remove DHCP leases without the need for a restart #932
    This removes an active lease from the server. Note, however, that the clients also actively need to ask for a new lease (reconnection, restart) as it may otherwise continue to use its old (even if now invalid) configuration until the lease time expires. Unfortunately, Pi-hole cannot do anything about this.
  • Added support for CNAME records add/remove on the web interface #1278 (@marank)
  • Add cache busting variable to Pi-hole js/css #1550 (@tjeffree)
    You should no longer have to clear your browser cache when updating to a new version of Pi-hole!
  • Simplify query log filter to make it more user friendly #1602(@PromoFaux)
    Good news mobile users – you no longer need to hold down a modifier key to use the query log filter! Desktop users, you do not need to either. Simply click to add/remove from the filter. Modifier keys can be held down to copy a domain

Other notes:

This is likely the last version of the web interface to officially support Internet Explorer 11.

Complete Changelog:

Core

Web

  • Added support for CNAME records add/remove #1278 (@marank)
  • Remove duplicate DNSSEC explanation #1494 (@vmstan)
  • Show date and time FTL started in settings page #1501 (@yubiuser)
  • Remove duplicated sidebar entry for Local DNS Records #1500 (@yubiuser)
  • Fix sidebar animation angle for Local DNS entry #1507 (@yubiuser)
  • fix(settings): typo in conditional forwarding #1522 (@Epoxide)
  • Add “ALL” to list selector in Local DNS Records and CNAME Records #1532 (@yubiuser)
  • Change timePicker to 24h format in dateragepicker #1529 (@yubiuser)
  • Fixes formatting of unknown host in DHCP leases table #1509 (@yubiuser)
  • Fix a few UI issues #1541 (@DL6ER)
  • Fix typo in DNS Settings #1565 (@MatthewBooth)
  • Remove degree symbol from Kelvin #1566 (@yubiuser)
  • Make login form button more mobile friendly #1564 (@Ninjaclasher)
  • Allow defining clients by their MAC address #1285 (@DL6ER)
  • Add cache busting variable to Pi-hole js/css #1550 (@tjeffree)
  • Fix bug with secs/mins buttons on disable menu caused by addition of theming. #1588 (@PromoFaux)
  • Show last update time of an adlist #1579 (@DL6ER)
  • Fix symbol for devices that do not use Pi-hole #1601 (@DL6ER)
  • Simplify query log filter to make it more user friendly #1602 (@PromoFaux)
  • Show detailed upstream destination in Query Log(s) #1627 (@PromoFaux)
  • Fix HTML validation errors in header.php #1489 (@XhmikosR)
  • Be more explicit about flushing logs #1604 (@yubiuser)
  • Use two different divs for mobile and desktop instead of a JS solution #1284 (@Th3M3)
  • Fix initial visibility of group selector on simplified black- and whitelist pages #1393 (@DL6ER)
  • Remember last used sort column/direction on Local DNS Records table and CNAME table #1563 (@yubiuser)
  • Fix UI Remaining Disabled in Groups & Adlists Pages #1600 (@rickbau5)
  • Add new query status 12 and 13 (retried queries) #1610 (@DL6ER)
  • Fix html escaping showing up in input fields. (#1584) #1603 (@thislooksfun)
  • Added check for NULL value in PHP internal error handling #1618 (@JonFStr)
  • Print fatal dnsmasq errors #1630 (@DL6ER)
  • Show detailed upstream destination in Query Log(s) #1627 (@DL6ER)
  • Ensure empty clients/groups/adlists/audits cannot be added #1626 (@DL6ER)
  • Summarize the names of DNS servers which support DNSSEC #1635 (@yubiuser)
  • Make it clearer that the option DHCP rapid commit only applies to IPv4 #1636 (@yubiuser)
  • Add new replace_domain action to allow adding domain(s) exclusively to a specific list #1625 (@DL6ER)
  • Add button to remove dynamic DHCP leases #1634 (@DL6ER)

FTL

  • Upgrade RegEx engine #815
  • Add support for install-time DESTDIR and delay expansion of CMAKE_INSTALL_PREFIX #844 (@DDoSolitary)
  • Analyze EDNS(0) records #851
  • Explicitly cast time_t #865
  • Add ability to show only blocked queries for a specific client #856
  • Show also IPv6 nameservers in DEBUG_RESOLVER #866
  • Allow defining clients by their MAC address #762
  • Fix error displaying if the upstream server failed #875
  • Add dhcp-discover feature #883
  • Request a lease with validity of 1 second in the DHCPDISCOVER packet #885
  • Only resolve active clients #872
  • Fix GCC9 regression for printing the same buffer into itself #884
  • Extend domain filtering to also check the CNAME domain #878
  • Try to obtain host names from another address of the same device when nothing else is available #879
  • Add event queue for signal handling #881
  • Do not block shared memory when inactive clients are skipped #889
  • Clean network addresses #871
  • Do not block shared memory when inactive upstreams are skipped #893
  • Log disk usage in /dev/shm #894
  • Always update database hostnames #874
  • Upload FTL log to tricorder.pi-hole.net #890
  • Add more verbose version output (./pihole-FTL -vv) #892
  • Allocate shared memory instead of only reserving it #898
  • Add pre-compiled ARMv4, ARMv5 and ARMv8 binaries to CI workflow #903
  • Make timer output at termination of FTL human readable #907
  • Keep FTL database open #896
  • Mark database as being available when creating a new database #908
  • Fix for the shm_per_client_regex shmem object #873
  • Add new query retried status #901
  • ECS: Ignore distant loopback address #909
  • Verify CI-generated binaries after uploading #910
  • Add DEBUG_HELPER #914
  • CMake install: update setcap #916 (@AlaricSenat)
  • Log process owner details #922
  • Differentiate upstream servers by address AND port #923
  • Log dnsmasq config errors to pihole-FTL.log #926
  • Keep upper case characters in host names #935
  • Add API callback to remove DHCP leases without the need for a restart #932
  • Skip clients with no active counts at all (may be old IPv6 addresses) #934
  • Implement special handling for “pihole-FTL — –help dhcp” and “pihole-FTL — –help dhcp6” #938
  • Analyze all DHCP options dnsmasq is aware of #937
13 Likes

Just tried upgrading and ran into a problem with FTL complaining that my libc version is too old so I had to revert FTL to v5.2. Is the new libc really a necessity?

pihole-FTL: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by pihole-FTL)

1 Like

Looks like we may have accidentally dropped support for Debain/Raspbian stretch. Sorry folks!

We're working to fix the issue now.

You should see no problems on Buster, so if you are able to , please feel free to upgrade your distribution. For anyone that can't we should have a fix coming very soon™ for Stretch.. watch this space!

(this is the error that manifests as "version `GLIBC_2.28' not found (required by pihole-FTL)")

Edit: Also Ubuntu 16 and 18 / Centos 7

Edit: fixed

2 Likes

I can confirm that :stuck_out_tongue_winking_eye:

My unit on Stretch lost internet, so there may need to be a workaround built for that issue @PromoFaux

At the moment it is either to wait (hopefully shouldn't be to long) or to do a distribution upgrade to buster

The workaround for now is, after you run the upgrade, to run:

pihole checkout ftl v5.2

while we will be waiting for a patched version of v5.3

Please update now to FTL v5.3.1 using pihole -up. Those who have used pihole checkout may need to pihole checkout master, first.

2 Likes

Wow that was fast. Thank you! Indeed, I just installed it.

4 posts were merged into an existing topic: Gravity Sync, an easy way to keep multiple Pi-hole In-sync

just ran pihole -v with nothing indicating any change, so then then ran pihole -up and it saw the changes and updated fine.
Raspberry pi (original hardware release B i think.) running raspian buster. All services enabled and loaded and running fine and dandy.
thanks for the good works guys.

2 posts were split to a new topic: Why is a DHCP suffix enforced from v5.2 on?

3 posts were split to a new topic: Since v.5.2 Pi-hole shows two entries for the same internal DNS server

3 posts were merged into an existing topic: Why is a DHCP suffix enforced from v5.2 on?

A post was split to a new topic: Private host names not sent to upstream since v5.3.2

A post was split to a new topic: IGNORE_LOCALHOST is ignored

pihole -up works fine for me. Update was successfully.
New Versions:

  • Pi-hole [v5.2]
  • Web Interface [v5.2]
  • FTL [v5.3.1]