validate ip/cidr/port extracted to iputil