Mini-library: SOCKSify all TCPSocket instances

S

Stephan Maka

--8w3uRX/HFJGApMzv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--8w3uRX/HFJGApMzv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGSiT6uKMfCHUX8x0RAvojAJoDkMVNV7Ahtmk2ROTRL5hCjcqSZACgsyOk
dFOmsze3WXlN8QcQoZBPbdA=
=91RI
-----END PGP SIGNATURE-----

--8w3uRX/HFJGApMzv--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Pure Ruby GIT repository reader 0
nil.to_s != "nil" 11
alarm? 4
Curess + SIGWINCH 0
[ANN] Services of ruby-lang.org will be stopped 1
IO#reopen bug in 1.8.4? 1
[ANN] XMPP4R-0.3.1 0
ruby 1.8.3 on windows 2

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top