<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 15, 2018 at 7:26 PM, flipchan <span dir="ltr"><<a href="mailto:flipchan@riseup.net" target="_blank">flipchan@riseup.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey,<br>
Im trying to write an ip checker script for a mail server/firewall and i want to be able check if the ip is a tor relay, is their a api for looking up ips on <a href="http://atlas.torproject.org" target="_blank">atlas.torproject.org</a> ? <br></blockquote><div><br></div><div><br></div><div> I found querying <a href="https://onionite.now.sh">https://onionite.now.sh</a> and grepping the result was an easy way to determine if an IP address is a relay or not.</div><div><br></div><div><br></div></div><br></div></div>