Filter IPv4 and IPv6 addresses matching CIDR patterns
