I've attached a new patch to SSHD-40 which addresses the stability
issues.   I've done a bit of testing and haven't found any problems
but those were not real load tests ...  Please have a look, i'm eager
for feedback on that one.

On Fri, Oct 23, 2009 at 22:23, Guillaume Nodet <[email protected]> wrote:
>
>
> On Fri, Oct 23, 2009 at 10:23, Lukas Nießen <[email protected]>
> wrote:
>>
>> Guillaume Nodet
>> Tue, 20 Oct 2009 05:34:25 -0700
>>>
>>> I've attached a patch to the jira that tries to address both ways, but
>>> I haven't done much testing ...
>>
>> Hi Guillaume,
>>
>> I just tried out Apache SSHD since I hope I can need it for my
>> application. I want to use the SSH protocol only for multiplexing. So I
>> need port forwarding and I was really rejoicing when stumbling upon this
>> posting ;-)
>>
>> However, there still seems to be a problem with the implementation. I
>> think it's appropriate not to file it in as bug since, as you said, this
>> implementation is still experimental. What I did was the following: I set
>> up a standard SSH server based on the SshServer-class from SSHD. I then used
>> the OpenSSH-Client* with option -L to create a Forward-channel. As
>> destination port I chose a port where there is an instance of squid
>> listening. Now I set the port where the SSH Client is listening as proxy in
>> Firefox. I expect now to be able to access web pages via the SSH forward
>> tunnel and squid. In principle, this works, but when I open a page
>> containing a lot of objects (pictures etc.), it loads some elements of the
>> page, but not all. So I guess the server is running into some kind of
>> deadlock here.
>
> Yeah, I've done some very basic testing using openssh client too.  It kinda
> work but is very unstable as you have seen.  I haven't had any time to
> investigate what happen.  It may be an ssh window that is full, thus the
> client does not send any more data ... Not really sure.
>
>>
>> I used the OpenSSH Server as well to check if SSH is appropriate to handle
>> several parallel requests at all (I think firefox executes 6 parallel
>> requests in standard setup), and there it seems to work. However, I want to
>> integrate the multiplexing into my (java) application, so it would be nice
>> to be able to use SSHD libs...
>>
>> Let me know if you need a more detailled description or any traces etc.
>>
>
> Well, you'd be welcome if you want to dig into thoses issues.  If you have
> any exceptions, that could be interesting, but afaik, it just stops
> transfering data ...  :-(
>
>>
>> * I was not able to figure out how to use SSHD's client classes to
>> establish port forwarding -- could you give me a short hook what to do? As
>> far as I understood your remarks about the patch, it should be implemented
>> on both client and server side...
>
> I guess my comment is a bit misleading.  The client part has not been
> implemented really. What has been implemented is port forwarding from the
> server or from the client (i.e. -R and -L options in open ssh), but not port
> forwarding on the ssh client.   Patches welcome if you're fancy doing that
> :-)
>
>>
>> Best regards & thank you
>> Lukas Niessen
>
>
>
> --
> 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

Reply via email to