Subject: | New Feature Request: SOCKS Proxy-ing |
I have the need to use Net::SSH::Perl to setup an SSH connection to a
far-end target, via another machine running SOCKS.
Here is a description of how I solved the problem:
http://www.perlmonks.com/?node_id=713727
I would like to see this functionality incorporated into a new release
of Net::SSH::Perl, but I'm not convinced that my solution is the best.
One alternative method that occurs to me is to simply allow the user
to pass in an already opened socket. This way I could setup the SOCKS
socket (or any other type of socket I might need to use) outside of
Net::SSH::Perl and simply pass it in. This may be a more generic
solution, but it also has it's problems. I suspect that some design
discussion needs to take place here.
On a side note, while I was messing with this solution, I was trying
to implement things so that the Net::SSH::W32Perl module functionality
could also be integrated into Net::SSH::Perl, as this makes sense to
me. However, I didn't have time to follow through on this. It would be
nice for this to happen as well.
-Craig