Improved security of my server

Today I noticed that fail2ban has blocked someone from trying passwords via SSH on my Gitlab server.

Since this has been the second time of someone trying I decided to increase my servers security by setting up two factor authentication via the SSH. I also have created a script that will notify me via email any time someone successfully manages to login via SSH.

I have updated my tutorial on How to secure a root server accordingly and added a tutorial on How to setup two factor authentication via SSH. You can find them here:

Improved the Java Plugin Framework

Recently, while working on a project I have found out that the Classloader of my plugin framework does not find resources contained in the plugin JAR file. I fixed this problem by overriding the getResourceAsStream method of the PluginClassLoader. Actually there are 2 or 3 related methods which also should be overriden by the PluginClassLoader, but currently I don’t need to use that other methods and it would cost me valuable time, so I decided to just fix the getResourceAsStream method and fix the related methods later when I maybe need them.

Server rebuild

In the last days I have rebuild my Gitlab and Gitlab Runner servers from scratch, because I was annoyed with them being really slow and while this opportunity I did upgrade both of my servers to Debian 11 („Bullseye“). I have set up the Gitlab on the new server without the Docker Layer and although it took me quite a few hours, now my new Gitlab runs smooth and the pipeline executes fast.