missing variable definitions
hexified ip needs to be upper case else it wont match
if opening the file fails, the rest of hte block should not be run
match_all_ips neededs to support ipv6 as well
some variable name mismatches