logparser.py is a utility for parsing (usually log) files looking for IP addresses that can then be chosen for appropriate firewall treatment.