Nasty probing http traffic and how to block it!

Ubuntu CLI machine and pi

 

So I notice the ethernet light on my wee server popping away… I check out the logs and notice something attacking my server. Ah a rather stupid brut force hack attempt. Some automated piece of (Sh!T) digital pollution – Grrrrrrr!

There is nothing quite as satisfying as watching a log go quite after executing something like.

sudo iptables -A INPUT -s NASTYIPASSRESSHEAR -j DROP

ie

sudo iptables -A INPUT -s 10.0.0.0 -j DROP

Simple and effective!