Monday, September 28, 2015

fail2ban recipes

Here are some fail2ban recipes. I will update this post as I find some more.

- Add an IP/range in the recidive chaik

      fail2ban-client -vvv set recidive banip ip_address

      ip_address can be a single IP or a range (like

Integer to it's binary string representation in C

My oldest son is studying mathematics and programming in college and wrote me asking for a way to convert an integer to it's binary repr...