I have been using SilverTunnel-NG library to access TOR network.
And I was wondering if there is any built-in functionality to get the exit
node IP address? Currently I am using websites like ifconfig.me to get the
exit node IP.
Also, TorNetAddressNameService.getAddressesByName() returns only the first
A record. Could you please guide me on how to make it return all the
records. I guess, the resolver sends A query by default, I want it to send
ANY query.
I'm back from my vacation so I can start working on such issues again.
As far as I remember the implementation currently returns only one entry even if there are more.
I will open a Ticket for it and try to find some time to work on it.
Maybe I will have some time on Tuesday.
regards,
Tobi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SilverTunnel is now returning all received IP addresses, but if the Tor-Network is only sending one in the reply there is no way on overcoming this issue.
Tor currently doesnt support UDP so it is not possible to send an own DNS packet.
The only possible way to resolve ip addresses in the Tor Network is with the help of RELAY_RESOLVE cells (check tor specs on chapter 6.4 for more information)
regards Tobi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have been using SilverTunnel-NG library to access TOR network.
And I was wondering if there is any built-in functionality to get the exit
node IP address? Currently I am using websites like ifconfig.me to get the
exit node IP.
Also, TorNetAddressNameService.getAddressesByName() returns only the first
A record. Could you please guide me on how to make it return all the
records. I guess, the resolver sends A query by default, I want it to send
ANY query.
Thanks,
Tsolmon.O.Suvargachin
Well, I found the solution to get the exit node ip address from the circuit. But no idea for the NameService problem.
Hi,
I'm back from my vacation so I can start working on such issues again.
As far as I remember the implementation currently returns only one entry even if there are more.
I will open a Ticket for it and try to find some time to work on it.
Maybe I will have some time on Tuesday.
regards,
Tobi
Hi,
SilverTunnel is now returning all received IP addresses, but if the Tor-Network is only sending one in the reply there is no way on overcoming this issue.
Tor currently doesnt support UDP so it is not possible to send an own DNS packet.
The only possible way to resolve ip addresses in the Tor Network is with the help of RELAY_RESOLVE cells (check tor specs on chapter 6.4 for more information)
regards Tobi