From: Stephan Maka Date: 2007-05-16T05:23:06+09:00 Subject: Mini-library: SOCKSify all TCPSocket instances --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--