2

I am working online application and while working , some of my ip are banned . After that i came to know about Tor and i want to know how to add the tor services in java applications.

Please do needful on this.

Swangie
  • 994
  • 2
  • 8
  • 32
Eswar
  • 21
  • 1
  • 2

2 Answers2

3

You could try and use jtorctl which is a

A Java library for controlling a Tor instance via its control port. It is used in the Android app Orbot as well as others.

Orchid

Orchid is a Tor client implementation and library written in pure Java.

It was written from the Tor specification documents, which are available here.

Orchid runs on Java 5+ and the Android devices.

There are also other solutions written but it is written Python such as:

Stem

Stem is a Python controller library that you can use to interact with Tor. With it you can write scripts and applications with capabilities similar arm.

txtorcon

txtorcon is a Twisted-based Python asynchronous controller library for Tor, following control-spec. This would be of interest to anyone wishing to write event-based software in Python that talks to (and/or launches) a Tor program.

They seems to be more comprehensive than jtorctl. If the Java libraries doesn't work, maybe you can integrate these Python libraries into your Java project using Jython. Goodluck!

Source: https://tor.stackexchange.com/a/523/13768

m894v5n74v539nm8
  • 324
  • 2
  • 17
0

Tor - from the application point of view - is just a proxy and DNS server, so use SOCKS, transparent proxy and DNS as usually on Java

Alexey Vesnin
  • 6,385
  • 3
  • 15
  • 36