Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Mini-library: SOCKSify all TCPSocket instances

Reply
Thread Tools

Mini-library: SOCKSify all TCPSocket instances

 
 
Stephan Maka
Guest
Posts: n/a
 
      05-15-2007
--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)

iD8DBQFGSiT6uKMfCHUX8x0RAvojAJoDkMVNV7Ahtmk2ROTRL5 hCjcqSZACgsyOk
dFOmsze3WXlN8QcQoZBPbdA=
=91RI
-----END PGP SIGNATURE-----

--8w3uRX/HFJGApMzv--

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dicts,instances,containers, slotted instances, et cetera. ocschwar@gmail.com Python 8 01-29-2009 09:52 AM
list of class instances within a list of a class instances John Wohlbier Python 2 02-22-2004 08:41 AM
TCPSocket and rescue Mark Probert Ruby 2 09-05-2003 02:10 PM
BUG: Incorrect error numbers being reported with TCPSocket Alan Davies Ruby 0 08-05-2003 12:20 PM
TCPSocket & $SAFE=1 Jesper Olsen Ruby 2 08-01-2003 05:50 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57