Portscan with netcat

Recently I had to discover custom SSH port on the server so I needed to come up with a somewhat quick way to check for open ports on the server. To do that simplest and prettiest solution I’ve found was using netcat utility. As you can see by looking at syntax I prefer OpenBSD one.

February 7, 2017 · 1 min · Ivan Tomica

FreeBSD – Assign IPv6 address to a jail

In previous article I’ve explained how to add IPv6 to your server, now it’s time to show you how to assign IPv6 address to Jail running on your IPv6 host. I’m using ezjail at this moment to manage my Jails. If you’re like me you can use following command to assign already configured IPv6 address to your Jail at creation time: ezjail-admin create JAILNAME "em0|IPV4ADDRESS,em0|2a01:4f8:140:54c7::2" If you already have Jail created and wish to add address to it afterwards you can edit jail configuration file which should be located in /usr/local/etc/ezjail/JAILNAME....

February 7, 2017 · 1 min · Ivan Tomica

Configuring IPv6 on FreeBSD on Hetzner

This article will be one of the few to come in the near future. I’m in the process of switching my VPS servers from various VPS providers to dedicate box I’ve leased at Hetzner. Up until now I’ve mostly used CentOS on my server systems but it is time to switch to FreeBSD now, various reasons but that’s a topic for another article. I figured out how to better start “mini series” than with basics, that is, with network configuration....

February 7, 2017 · 2 min · Ivan Tomica

How to set up ZFS on CentOS 7

Recently I have started thinking about backups on my personal web server (on which this blog is hosted on). Simplest solution I have come up with is to just mount additional drive to the server, format it as ZFS, sync stuff to it and then just snapshot that drive. This way I don’t use much space for storing backups and I can keep more frequent backups. Sure, I could just move website to that ZFS drive, and I will probably do so in future, but for now it is how it is....

December 12, 2016 · 2 min · Ivan Tomica

Owncloud client on Fedora 25

If you were fast on a trigger and upgraded to Fedora 25 as soon as it was available and you use Owncloud client for your syncing needs you may found yourself that Owncloud client doesn’t start. You may have also noticed an that it causes an error while trying to perform an upgrade to newest release. Error that I got while wanting to start up client was: owncloud: error while loading shared libraries: libqt5keychain....

November 25, 2016 · 1 min · Ivan Tomica

updown.io – simple monitoring service

Are you in search for an simple monitoring service that will provide you with status updates for your service and don’t want to pay in gold for it? You also don’t want to maintain your own server with services like Icinga or Nagios? Search no more, here’s updown.io, simple, easy to use yet powerful, tiny monitoring service. Although updown.io can’t be compared to Nagios, Icinga or similar services feature wise it is pretty powerful on its own and provides you with benefits such as transaction times, checks from multiple locations etc....

November 21, 2016 · 3 min · Ivan Tomica

Change Ctrl + Q to Ctrl + Shift + Q in Firefox

If you are, like me, using keyboard for your tab manipulation needs inside Firefox you may find yourself in a same situation where I was. There is serious design flaw with Firefox’s default shortcut for closing the browser. By default Firefox uses key combination Ctrl + q to close the window which is TOO CLOSE to Ctrl + w combination which is used for closing a single tab. Since I’ve been using Firefox I have this issue with closing Firefox coincidentally when in fact trying to close only one tab and that happens few times a day....

November 1, 2016 · 1 min · Ivan Tomica

SSH agent service in Fedora

It is wise to protect your private SSH keys with a strong password so in case somebody manages to get your private key somehow he will still need password for it to be able to use it and that should hopefully give you enough time to change your keys. When you have password protected private key you need to enter your password every time you use it which can be problematic, especially when you use your key a lot....

October 2, 2016 · 2 min · Ivan Tomica

Self hosted email

There are many reasons why would somebody want to host their own email server. There are many advantages for doing this but there are also many drawbacks. Setting up your own mail server can certainly be a great learning experience filled with discoveries about different set of technologies, protocols and how stuff works in general. Hosting your own email server can also be a huge pain in the ass, especially if you start to have problems with spamming but I won’t go too deep into pros or the cons since, if you’re already here, you probably read a thing or two and decided for yourself if you want to host your own email server or not....

September 26, 2016 · 13 min · Ivan Tomica

How to include custom man pages in Linux?

Have you ever wondered where man pages are located and can you include some other folder with man pages? Well since I compile Mutt email client from source I have decided to place it in /opt directory so it won’t interfere with system packages and packages from official repositories. When Mutt is configured with --prefix=/opt compile time option it also installs its man pages to /opt/share/man directory. If you type in man muttrc into your terminal you may find that man won’t find those man pages....

September 15, 2016 · 1 min · Ivan Tomica