From: Dick Davies Date: 2004-07-07T17:41:04+09:00 Subject: Re: Net::SSH and port forwarding * Jamis Buck [0736 17:36]: > Set up port forwarding on port X. When a connection is recieved, parse > the request. If the request matches format A, forward the request to > boxA:portA. If the request matches format B, forward the request to > boxB:portB. Etc. All of this happens transparently to the client that > connected to the local port. > Would this be useful for anyone? It would save you having to open multiple tunnels, at least in theory, which would be very handy in a lot of circumstances. If you could daemonize that you'd have an stunnel killer... > ruby -ropenssl > -e'k="01234567";p((c,c.padding,c.iv,c.key=OpenSSL::Cipher::BF.new,false,k,k*2)[0].decrypt.update("1A81803C452C324619D319F980D5B84DBB45FC0FE2BAA045".scan(/../).map{|n|n.to_i(16).chr}.join))' > -- Life is like a simile. Rasputin :: Jack of All Trades - Master of Nuns