CLI

Smartd Reports “Reallocated_Sector_Ct” erroneously

Problem: In syslog you find a line like this: But when you check with “smartctl -a” you find a reallocated sector count of zero: Discussion: The harddisk had actually no reallocated sectors, but Smartctrl (Smartmontools) reported a wrong error, because when it was started a different harddisk with errors was found as /dev/sda, but with

Smartd Reports “Reallocated_Sector_Ct” erroneously Read More »

MITMProxy and IOS 13

Problem: if you want to debug a IOS app with MITMProxy, the iPhone needs to trust the MITMProxy CA. This is done by going to http://mitm.it/ and clicking on the apple symbol. Then you have to accept the “profile” in Settings “downloaded profiles”. Then you have to trust this new CA cert in “Settings” “General”

MITMProxy and IOS 13 Read More »

Greenlock(-express) Letsencrypt Fails with ECONNRESET

Problem: after upgrading vom greenlock-express v2.0 to v2.5 and switching from acme-v1 to acme-v2 every attempt to register a new TLS cert with Letsencrypt fails with “ECONNRESET” Discussion: the new version of greenlock tries to validate the .well-known/acme-challenge file before asking letsencrypt for the certificate.If your webserver is behind a loadbalancer or firewall and the

Greenlock(-express) Letsencrypt Fails with ECONNRESET Read More »

Apache Start Hangs during Reboot of a KVM Virtual Server

Problem: Apache needs very long to start on a virtual server running on a KVM/QEMU virtual maschine. Solution: Apache needs a RNG (random number generator) for startup, probably because of TLS. A pure virtual maschine has no RNG device per default. If you add an RNG device to the virtual maschine configuration, apache startup is

Apache Start Hangs during Reboot of a KVM Virtual Server Read More »