Forum: Ruby Mini-library: SOCKSify all TCPSocket instances

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Stephan M. (Guest)
on 2007-05-16 00:23
(Received via mailing list)
Hello

I wanted to tunnel all TCP connections of a Ruby program through the Tor
anonymizing proxy. Instead of using tsocks (which is OS depending and
leaks DNS) I modified TCPSocket directly. Example usage can be seen in
the lame & only test case.

Get the code with:
  git-clone http://cthulhu.c3d2.de/~astro/git/socksify-ruby.git


Stephan
This topic is locked and can not be replied to.