semjonov.de blog

rss feed ›

Truncated IPMI Passwords

tl;dr: webui truncates new passwords to 19 chars

read on »

Local PXE Boot Server

1. motivation Today I set out to setup a local CentOS mirror for quicker PXE installations of my virtual machines. In the long run this will probably be superseded by a Spacewalk machine and until now netboot.xyz has served me well. For the time being I just wanted a faster alternative. The kpxe file for netboot.xyz is tiny and can easily be used with the builtin TFTP server of OpenWRT / LEDE project or any other TFTP server. read on »

Signed Npm Version Bumps

package.json For a while now I’ve been using Visual Studio Code for a few JavaScript / TypeScript projects. Most of these projects come with a package.json file, which documents various aspects of the project. A tiny example of such a file: { "name": "foo", "version": "1.2.3", "description": "A packaged foo fooer for fooing foos", "main": "foo.js" } npm version There’s that interesting property version. In conjunction with the npm version command it allows for very easy version bumping with automatic tagging. read on »

On-Demand Socket Forwarding with Systemd

Sooner or later when setting up a server you’ll want to create some MySQL databses and users. If you’re not proficient in writing SQL queries or just wanted to use a nice GUI tool for the task, you’d need to connect remotely to your databse host. But of course you do not want to expose your MySQL port to the internet … Or suppose you want to debug some remote service, which is only accessible locally on the remote machine …

read on »

Transforming an encrypted array from RAID 1 to RAID 6

1 Introduction Some context I have a NAS at home which runs on Debian Jessie. A NAS wouldn’t be a NAS without some storage, so I put in two disks with 4 TB each when I built it. Those two disks have actually been used in a setup with OpenMediaVault before that and already had a software-RAID on them. When migrating the disks (to Ubuntu at first) I learned about mdadm and that OpenMediaVault uses it. read on »