Tony
Tony

Reputation: 3489

Tor command line to detect remote ip

is there a command to detect the actual ip that is using tor when connected to tor via telnet?

I mean like sending "getinfo circuit-status" or "signal newnym" commands

Thanks!

Upvotes: 2

Views: 2907

Answers (2)

Damian
Damian

Reputation: 2954

This is the second question I've seen about getting the IP of your present exit relays. It's an interesting question so I've added a FAQ entry for it - hope this helps!

Upvotes: 0

mike
mike

Reputation: 413

"getinfo address" will tell you what tor believes your current external IP address to be. It sounds like you might be interested in what the final hop of an arbitrary circuit is. You can figure this out from your "getinfo circuit-status" query by looking up the IP of the last router in the path.

So, if one of the circuits lists its path as $000000000000000000000000000,$111111111111111111111111111,$222222222222222222222222222 then you may issue another query "getinfo ns/id/222222222222222222222222222" to determine the IP of that last router.

Upvotes: 2

Related Questions