Етикет FreeBSD

How To Secure HAProxy with Let’s Encrypt

Combine fullchain.pem and privkey.pem DOMAIN=’example.com’ ; sudo -E bash -c ‘cat > /usr/local/etc/haproxy/$DOMAIN.pem’ The first thing we want to add is a frontend to handle incoming HTTP connections, and send them to a default backend (which we’ll define…

Enable WDDX extension in PHP 7.4

This extension is DEPRECATED and REMOVED as of PHP 7.4. What is WDDX – WDDX (Web Distributed Data eXchange) is a programming language, platform and transport-neutral data interchange mechanism designed to pass data between different environments and different computers. #cd…

TCP Fast Open (TFO) on FreeBSD 12.0

TCP Fast Open (TFO) is an extension to speed up the opening of successive Transmission Control Protocol (TCP) connections between two endpoints. It works by using a TFO cookie (a TCP option), which is a cryptographic cookie stored on the client and set upon the initial connection…

PHP 7.3 Performance Benchmarks

Some fresh benchmarks over the past day on PHP 5.5.38, PHP 5.6.38, PHP 7.0.32, PHP 7.1.24, PHP 7.2.13, and the PHP 7.3.0 release. PHP 7.3 is just shy of 10% faster than PHP 7.2 in the popular PHPBench. PHP 7.3…

ZFS ARC memory size

On large zpools ZFS ARC memory occupies whole free ram on the machine and it starts swapping. It looks like that something is wrong and it needs some tuning.  Good results are archived after founding ZFS sysctl tunable vfs.zfs.arc_free_target to define how much…

Be careful with isc-bind 9.13.1

Removed Features named can no longer use the EDNS CLIENT-SUBNET option for view selection. In its existing form, the authoritative ECS feature was not fully RFC-compliant, and could not realistically have been deployed in production for an authoritative server; its…

How to grow zfs on FreeBSD running inside VMWare

Live ZFS resizing inside VMWare should be possible, but there are several steps: – First you should resize your virtual disk in VMWare configuration. Recomendation is all virtual disks to be similar size for best performance in VMWare.– Ideally VMWare…