2

I need to know the list of all entry nodes. Is it possible to do this? I found here https://www.dan.me.uk/tornodes a list of all nodes or only exit nodes but I only need entry nodes.

  • grep -B2 "^s.*Guard" /var/lib/tor/cached-microdesc-consensus | grep "^r" | awk '{print $6 ":" $7}' – cacahuatl May 2 '17 at 18:51
1

You already have them in that list, you only need to look at those with the "Guard" flag which specifies that they're entry nodes, for example:

4484.0298.4949.1082|ServerName|443|80|GFHRSDV|259492|Tor 0.2.9.10|

You'll only have to extract those with the G flag.

  • Thx man, But E flag = Exit node isnt it?. – user3688491 May 2 '17 at 10:51
  • According to the page it is: "NOTE: This is a FULL list including more than just exit nodes. If you only wish to block exit nodes you NEED to process the list to include only flags E and/or X!". It's probably the Gs (Guards) you want. – Peter Gerber May 2 '17 at 11:34
0

https://atlas.torproject.org/#search/flag:Guard Here you can see also all nodes with the flag "Guard".

0

As NewUser suggested, go to https://metrics.torproject.org/rs.html#search/flag:Guard, add your filters and with a quick network inspection, you will find out that there is a JSON endpoint listing all the entries and it has filters too.

For example, to get all the running Exit nodes, we have

https://onionoo.torproject.org/details?search=flag:Exit%20running:true

to get all the running Guard nodes, we have

https://onionoo.torproject.org/details?search=flag:Guard%20running:true

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.