White hat hacker contacted me

Today I was contacted by a person claiming to be a white hat hacker, reporting a vulnerability and hoping for the bounty for his ethical Disclosure. I am not a business owner (at least not yet) to be able to pay a bounty from the revenue and the vulnerability reported looks like …

Nlbwmon: per-client bandwidth monitor for OpenWRT

A quick update about my OpenWRT router. I have installed luci-app-nlbwmon into it. It neatly helps keep track of who consumed which chunk of bandwidth when using metered connection. This happens usually when traveling in pair. Sometimes friends pay a visit too. Here's how it look…

Comprehensive guide to pkgfile

Let's consider some examples of how to get the package file names and paths on Arch based system. Let's start with the command that is a bread-and-butter, pacman package manager. Determine which package(s) own a file To find out which package owns a file, two very similar approac…

Wildcard certificate with acme.sh

This post is a sequel to my previous post. The post demonstrated how to setup HTTPS for Nginx by obtaining a certificate via 3rd party client called acme.sh. There is also some basic underlying theory about these terms. Consider reading it if feeling uncertain. Start by creating …

Nginx with acme.sh on Arch

Modern Internet is full of encryption. In many ways, using encryption is still optional, although non-encrypted communication of any form is getting rarer every day. There are factors that contribute to this trend. As a specific example, some top-level domains, like .app or .dev,…

Keep Git fork in sync

Steps below explain to keep the forked version up to date with the upstream branch of a forked repository. I know this was already documented many times, but I was struggling with it for some time, until I have found the workflow that suits me the best, so I documented it. Create…

Nginx on Arch using Ansible

Since Arch, Nginx and Ansible are already all pretty mature tools by themselves, I though that installing Nginx on Arch system using Ansible playbook would be a matter of seconds. But judging from an actual experience, it is a little bit harder. The official ansible nginx role do…