if (localhosts.includes(host) || host.match(local_cidrs)) || isInNet(host, '127.0.0.1', '255.0.0.0') { ...