You're getting old if you consider sleeping until 0900 'sleeping in'.
When configuring a firewall with IPTables you have to specify the protocol before the port number(s) in each command. Do this:
iptables -A INPUT -s 220.127.116.11 -p tcp --dport 22 -j ACCEPT
and not this
iptables -A INPUT -s 18.104.22.168 --dport 22 -p tcp -j ACCEPT
If you don't, you'll see error messages to the effect of "Unknown arg '--dport'"
When writing Snort rules, there are a few things to keep in mind. First of all, rules come in two parts: the …