<div dir="ltr"><br><div class="gmail_extra">Hi!<br></div><div class="gmail_extra"><br>[...]<br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
While there is some code that appears to handle these messages in the SSH daemon at the moment, it doesn't look like it's really functional for this kind of remote forwarding tunnel. The daemon looks like it will accept any tcpip-forward request, but it never opens a port or anything and there is no way to generate the forwarded-tcpip channel open requests going back to the client at the moment. I also can see no implementation of server-side handling of direct-tcpip -- I don't want to jump to conclusions, but it looks like maybe this was written in just to prevent crashes with these messages and nothing more -- you should probably take it as a blank slate, not as something to just be fixed up a little to get it going.<br>
<div class=""><div class="h5">
On 10 Jun 2014, at 5:51 pm, Tom van Neerijnen <<a href="mailto:tom@tomvn.com">tom@tomvn.com</a>> wrote:<br>
<br></div></div></blockquote><div><br></div><div>This code was part of the original ssh contribution, that was undocumented and had no testcases (there is a reason we have higher demands on contributions nowdays). We have spent a lot of time improving ssh and writing test cases and documentation for ssh, but there are still quite a few things to do to have full RFC support. It would surprise me a lot if the forwarded-tcpip code would work out of the box, there is a reason it is not documented and it is that we do not have any test for it and hence it probably does not work. It would be nice if it worked but as always a question of priorities. Maybe a good candidate for a user contribution!<br>
<br></div><div>Regards Ingela Erlang/OTP Team - Ericsson AB<br></div><div><br><br><br></div></div>[...]<br><br><br></div></div>