use stdin/stdout/stderr; accept CIDR entries