Question regarding Tor Network

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Firstly, I'm wondering if there's some simple way to retrieve a list of the active Tor routers, simple meaning something like just wget'ing some list off their servers or something.
Actually, I guess I could rephrase that, what I'm going to do is block out the Tor network from a bunch of servers, and I'd like to retrieve a list that will be easy to read into a table for OpenBSD's PF(which is to say, basically just a list of IP's).
So a list with some junk that awk can just sort out would be fine, some sort of XML or HTML junk would be less than desirable.
I did for example manage to retrieve a file from one of Tor's authoritative directories, but that definitely fell into the "full of way too much junk" category.

 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
I've found a couple of lists out there that looked like they might be easy-ish to pull the IPs out of it. But I didn't keep track fo the lists...

If I get a chance to google it later, I'll try to find it again.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Copy and paste the list from here into vim. Should create a tab delimited file. Pipe the file through cut to get -f 2.

I changed the tabs to spaces because I'm a dork like that. The list is 879 IPs long, so I didn't post it. :p