Commit 2487f2c3 authored by Elias Ojala's avatar Elias Ojala

show IPv6 exits as exits

parent 7d3e185f
Pipeline #76 passed with stage
in 4 minutes and 24 seconds
......@@ -101,7 +101,7 @@ router.get("/:ip", (req: Request, res: Response, next: NextFunction) => {
}
torRelay.isRelay = await dnsbl.lookup(ipAddress, 'tor.dan.me.uk', dnsblConfiguration);
torRelay.isExit = await dnsbl.lookup(ipAddress, 'dnsel.torproject.org', dnsblConfiguration);
torRelay.isExit = await dnsbl.lookup(ipAddress, 'torexit.dan.me.uk', dnsblConfiguration);
function getRelayFingerprints(ipAddress) {
return dnsbl.lookup(ipAddress, `dnsel.torproject.org`, dnsblConfigurationWithTxt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment