こんなことをしてもきりがないんですけどねぇ。Crayon Syntax Highlighterのテストも兼ねています。
# cat myscripts/myiptables #!/bin/bash iptables -F iptables -F LOGDROP iptables -X LOGDROP iptables -N LOGDROP iptables -A LOGDROP -j LOG --log-level debug --log-prefix 'LOGDROP: ' iptables -A LOGDROP -j DROP iptables -A INPUT -s 24.0.0.0/8 -j LOGDROP iptables -A INPUT -s 27.152.0.0/13 -j LOGDROP iptables -A INPUT -s 31.184.241.0/24 -j LOGDROP iptables -A INPUT -s 37.187.0.0/16 -j LOGDROP iptables -A INPUT -s 58.22.0.0/15 -j LOGDROP iptables -A INPUT -s 61.52.0.0/15 -j LOGDROP iptables -A INPUT -s 65.49.0.0/17 -j LOGDROP iptables -A INPUT -s 67.142.0.0/15 -j LOGDROP iptables -A INPUT -s 69.197.128.0/17 -j LOGDROP iptables -A INPUT -s 82.192.91.0/24 -j LOGDROP iptables -A INPUT -s 91.231.0.0/16 -j LOGDROP iptables -A INPUT -s 112.0.0.0/8 -j LOGDROP iptables -A INPUT -s 116.0.0.0/8 -j LOGDROP iptables -A INPUT -s 117.24.0.0/11 -j LOGDROP iptables -A INPUT -s 120.0.0.0/8 -j LOGDROP iptables -A INPUT -s 137.175.0.0/16 -j LOGDROP iptables -A INPUT -s 142.54.0.0/16 -j LOGDROP iptables -A INPUT -s 173.192.0.0/15 -j LOGDROP iptables -A INPUT -s 175.42.0.0/15 -j LOGDROP iptables -A INPUT -s 175.44.0.0/16 -j LOGDROP iptables -A INPUT -s 176.8.0.0/17 -j LOGDROP iptables -A INPUT -s 183.0.0.0/10 -j LOGDROP iptables -A INPUT -s 186.88.0.0/13 -j LOGDROP iptables -A INPUT -s 188.92.75.0/24 -j LOGDROP iptables -A INPUT -s 188.143.232.0/24 -j LOGDROP iptables -A INPUT -s 189.90.48.0/20 -j LOGDROP iptables -A INPUT -s 190.78.0.0/15 -j LOGDROP iptables -A INPUT -s 192.99.0.0/16 -j LOGDROP iptables -A INPUT -s 192.119.150.0/23 -j LOGDROP iptables -A INPUT -s 193.105.210.0/24 -j LOGDROP iptables -A INPUT -s 198.2.192.0/18 -j LOGDROP iptables -A INPUT -s 198.27.64.0/18 -j LOGDROP iptables -A INPUT -s 198.100.144.0/20 -j LOGDROP iptables -A INPUT -s 198.245.48.0/20 -j LOGDROP iptables -A INPUT -s 198.27.64.0/18 -j LOGDROP iptables -A INPUT -s 205.164.0.0/18 -j LOGDROP iptables -A INPUT -s 216.244.64.0/19 -j LOGDROP iptables -A INPUT -s 222.76.0.0/14 -j LOGDROP iptables -A INPUT -s 222.136.0.0/13 -j LOGDROP