Linux

All things *nix.

It seems that ISPConfig3 checks for entropy availability to be below 200 and also 400 per the following file, /usr/local/ispconfig/server/bind_plugin.inc.php. Line 93 and line 210 check for entropy availability. Line 93, inside function soa_dnssec_create(): if (file_get_contents(‘/proc/sys/kernel/random/entropy_avail’) < 400) { $app->log(‘DNSSEC ERROR: We are low on entropy. Not generating new Keys for ‘.$domain.’. Please consider installing…

Read More ISPConfig3 – DNSSEC ERROR: We are low on entropy.

Took me a minute to figure this out but it works. Given the following string, I want to replace { and } with [ and ] keeping each number inside and only with a number inside the braces without space and without letters. data.txt: {1}: Today is tomorrow’s yesterday. {2}: This year is next year’s…

Read More sed replace braces with brackets keeping content inside

Input Validation Whitelist Protection Cacti Data Input methods that call a script can be exploited in ways that a non-administrator can perform damage to either files owned by the poller account, and in cases where someone runs the Cacti poller as root, can compromise the operating system allowing attackers to exploit your infrastructure. Therefore, several…

Read More Cacti Server

To test SMTP auth with StartTLS, I used the following method. Base64 encode the username and password. echo -ne “yourpassword” | base64 eW91cnBhc3N3b3Jk echo -ne “your@email.com” | base64 eW91ckBlbWFpbC5jb20= Connect to the SMTP server using the openssl client. openssl s_client -connect smtp.test.com:587 -starttls smtp -crlf Once connected to the mail server, identify myself with EHLO…

Read More Test SMTP Auth and StartTLS

I have an old Lenovo Yoga 2 (i5-5400u, 4GB RAM, 128GB SSD). This 2-in-1 system does not have an ethernet port and during Debian installation using the netinstall ISO, non-free firmware is needed for the Intel wireless controller. I went to Debian’s installer page for non-free firmware (for Bullseye) and downloaded the zip file: https://cdimage.debian.org/cdimage/unofficial/non-free/firmware/bullseye/11.3.0/…

Read More Installing Debian 11.3 on my Lenovo Yoga 2