What is it? SOCKSify Ruby redirects any TCP connection initiated by a Ruby script through a SOCKS5 proxy. It serves as a small drop-in alternative to tsocks, except that it handles Ruby programs only and doesn't leak DNS queries. How does it work? Modifications to class TCPSocket: Alias initialize as initialize_tcp The new initialize calls the old method to establish a TCP connection to the SOCKS