• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use TorLib to avoid DNS leaks  RSS feed

 
Jack Bush
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I need some advice on how best to run Tor in Java when using TorLib to avoid DNS leaks. My difficulty is how to use the TorLib class in the code snippet below to connect to a webserver:

.....

Do I need to instantiate a new socket and how to use it to point to Tor?

Apologies for asking Tor question in a Java Forum since I could not find the right forum. It would be great if you could direct me to an active forum.

Any assistance would be appreciated.

Thanks,

Jack

 
Rob Spoor
Sheriff
Posts: 20904
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
TorLib is open source, so you can check out the source code of the TorLib class. Just remember to include its copyright notice as the header of that file suggests.
 
Jack Bush
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Rob for your suggestion.

Jack
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!