Learning the terminal. Found this nice android app: "Linux Command Library"

It lists a number of man pages and examples.

I found this one:

block known dirty hosts from accessing your machine

wget -qO - http://infiltrated.net/blacklisted|awk '!/#|[a-z]/&&/./{print "iptables -A INPUT -s "$1" -j DROP"}'

I figured that domain was a list of spam sites and such.

Googled it. Found nothing mentioning it. Went to the domain and it was blocked by my ad blocker.

Anyone know of it?

  • allywilson@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I think an ever growing list isn't the best either. Probably makes more sense to utilise fail2ban which will manage your firewall rules appropriately.