Wow, that was quick. Kudos!! Unfortunately I have no time at the moment for testing as well, since we had to implement plan b for the urgent case. But I will come back to it ASAP...
I am really impressed, cool! Cheers Bernd -----Ursprüngliche Nachricht----- Von: Guillaume Nodet [mailto:[email protected]] Gesendet: Dienstag, 20. Oktober 2009 14:34 An: [email protected] Betreff: Re: SSHD - Allow Port Forwarding I've attached a patch to the jira that tries to address both ways, but I haven't done much testing ... On Mon, Oct 19, 2009 at 09:24, Guillaume Nodet <[email protected]> wrote: > Np. > I've toook some time this week-end to start working on that. > I've attached a patch for my work in progress to > https://issues.apache.org/jira/browse/SSHD-40, but so far, I've only > implemented direct-tcpip channels, not forwarded-tcpip ones, so not > sure it suits your needs yet .... > > On Fri, Oct 16, 2009 at 15:48, Bernd Rücker <[email protected]> wrote: >> Hi Guillaume. >> >> Thanks for the quick response. Unfortunately I am not really the right guy >> for this job and we don't have free resources. Maybe I am lucky and find >> an external for that task... I try looking for somebody (if anybody on >> that list is in the mood for it, just contact me ;-)). >> >> Cheers >> Bernd >> >> -----Ursprüngliche Nachricht----- >> Von: Guillaume Nodet [mailto:[email protected]] >> Gesendet: Freitag, 16. Oktober 2009 14:39 >> An: [email protected] >> Betreff: Re: SSHD - Allow Port Forwarding >> >> Port forwarding has been mentioned several times already (same for >> sftp support btw), but afaik noone has started working on that. You'd >> be welcome to contribute that. I'd be willing to help, but I don't >> have much time in the coming weeks, but if you have any question, >> don't hesitate to ask. >> >> If you checkout the sshd trunk, port forwarding is described in >> section 7 of sshd-core/src/docs/rfc4254.txt document. >> This document says that port forwarding is initiated by a >> SSH_MSG_GLOBAL_REQUEST message to the server. >> This means the related code must be added in >> ServerSession#globalRequest() method. >> The two new channels need to be created, one for forwarded tcp and >> another one for direct tcp, which i suppose will be handled by two new >> classes inheriting from AbstractServerChannel. >> >> Having just had a first look at the spec, it does not seem too >> difficult, so I hope you'll take a peek at it. And again, i'd be >> happy to answer any question you may have. >> >> On Fri, Oct 16, 2009 at 14:22, Bernd Rücker <[email protected]> >> wrote: >>> Hey guys. >>> >>> >>> >>> I currently start to use the Apache Mina SSHD Server for a project, but >> we >>> need SSH Port forwarding. As far as I understood the mailinglist and >> JIRA >>> this is not yet implemented. Are there any plans to implement this? Is >>> there any timeline for this (since the jira issues are almost a year old >>> already)? Anybody maybe done this already? >>> >>> >>> >>> Or is there another easy solution? Client would be the MINA ssh client >> or >>> JSch (or maybe even something else), and I need just to build a tunnel >> for >>> a DB connection, but the server should be embedded in our Java program. >>> >>> >>> >>> Is there any possibility to accelerate that development by a donation >>> maybe? Since I am pretty lost in the network programming it would be >> much >>> better to have it handled by people knowing what they do ;-) >>> >>> >>> >>> Thanks a lot and cheers >>> >>> Bernd >>> >>> >> >> >> >> -- >> Cheers, >> Guillaume Nodet >> ------------------------ >> Blog: http://gnodet.blogspot.com/ >> ------------------------ >> Open Source SOA >> http://fusesource.com >> > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
