Debian 12 Bookworm - Install PHP 7.4

Debian Bookworm ships PHP version 8.2. Unfortunately there is still software which requires PHP 7.4. One prominent example would be Owncloud. If you need to install PHP 7.4 on Debian 12 there is a pretty easy way to do so. Use the official package maintainers repository for PHP. Using the repository of him directly allows ... Weiterlesen

Python Multithreading ThreadPool with arguments

In Python3 it is actually very easy to create a fix number of worker threads and fetch a result as soon as it's available. The thread target in this case is a function which takes one argument. According to the multiprocessing documentation, the developers recommend to use the concurrent.futures module because of it's compatibility. I ... Weiterlesen

Debian 11 - DNS test DoT and DoH with dig

If you maintain a DNS resolver, you need to test different protocols these days. DoT (TLS), DoH (HTTPS) and regular DNS via UDP and TCP are all subjects of a modern resolver. Unfortunately unbound and dig on Debian Bullseye both come without DoH support. Either the version is too old or the necessary compile flags ... Weiterlesen