Add new_ipv4 constructor that build NetAddr::IP object Prevent read of /etc/resolv.conf by gethostbyname in each NetAddr::IP->new call Only ban the ip on specified port and protocol Ban full ip on protocol with more than 5 port tried Compare length as numeric to have intended proper output Cleanup