Mini-library: SOCKSify all TCPSocket instances


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:


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs