Fail2ban is a tool that can automatically ban malicious bots trying to get into your server. Provided you set up filters and the ip address is logged you can use fail2ban with any application. fail2ban is built with python2.7 Create a filter, using a regular expression: In /etc/fail2ban/filter.d/my-custom-filter.conf: [Definition] failregex = ^www.example.com -.* “POST \/user\/register […]
Category: GNU/Linux
How to install Ubuntu 16.04 and Automatically Install all my apps I’m assuming this gets searched quite a lot. It is one thing installing ubuntu, but another hugely time consuming gig installing all the old applications that you like. Couple that with your configurations of .bashrc, application configs, editor configs and logins for apps and […]
Don’t use Xfce, use KDE! Update 2021: I wrote this a long time ago. All desktop envs are different. Try them all. You are free to choose. I spoke harshly and the points I make are weak – but will keep the post as is for posterity. Why is Xfce junk? The style is very […]
Demystifying Unix File Permissions
Never really understood what was going on with Linux File Permissions and chmod? If you understand binary then this will be a piece of cake. Here is a simple blog post to demystify Unix File Permissions: Ever seen: -rwxr-xr– 1 dgerman staff 823 Dec 16 15:03 findPhoneNumbers.sh Operations: r – Read w – Write x – […]
Check open ports on Linux Server
How to check the open ports on your linux server netstat -lnp