javaprogram using tor
coderman
coderman at gmail.com
Sun Dec 2 23:18:03 UTC 2007
On Oct 28, 2007 12:36 PM, Juliusz Chroboczek <jch at pps.jussieu.fr> wrote:
> [ configuring SOCKS in java ]
you can also use the system and/or user level deployment properties
file to set the SOCKS proxy settings:
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html
> Note however that Java most probably implements SOCKS with IP
> addresses, and unless you take special precautions, you will suffer
> from DNS leaks. Which may or may not be a problem for your application.
this is correct. the only way to do this securely is via transparent Tor proxy.
(it may be possible to implement your own lookups through Tor via JNDI
naming service hooks, but this would require a significant effort and
still leave you vulnerable to third party jars and such...)
best regards,
More information about the tor-talk
mailing list