[Retroshare-devel] Help needed debugging my plugin that enables RS to act as a SSH tunnel

2016-07-25 Thread jeetu.gol...@gmail.com
Hi everyone, First, let me thank all of you for giving us Retroshare. Works beautifully :) Thanks. I am one of the developers of the open source project eBrainPool (http://ebrain.in) and for this project I have been toying with a RS plugin that will allow me to tunnel SSH traffic between RS users

Re: [Retroshare-devel] Help needed debugging my plugin that enables RS to act as a SSH tunnel

2016-07-28 Thread jeetu.gol...@gmail.com
Hello Cyril, To report back, I tried out the latest RS master codebase from github with my plugin as per your suggestion. Unfortunately the issue is still the same. While I said earlier most of the times (say 90%) the failure occurs when there are many small bytes of approx 172 bytes following by

Re: [Retroshare-devel] Help needed debugging my plugin that enables RS to act as a SSH tunnel

2016-07-28 Thread Cyril Soler
I suggest that you use your SSH tunnel manually: send clear packets with some ID in them (packet number, whatever you prefer) and make sure that you get them all on the other end of the tunnel, without major delay. Normally this should work, but if it does not, and if you're able to create a work

Re: [Retroshare-devel] Help needed debugging my plugin that enables RS to act as a SSH tunnel

2016-07-30 Thread jeetu.gol...@gmail.com
Hi Cyril, Thanks for the reply. Yes this sounds like a good strategy. I will try to go ahead and build a python based program that will stress tests this tunnel with packets of varying sizes in a bi-directional fashion. Hopefully I will be able to reproduce this error and we can come closer to un

Re: [Retroshare-devel] Help needed debugging my plugin that enables RS to act as a SSH tunnel

2016-10-17 Thread jeetu.gol...@gmail.com
Hi Cyril, *Warning - a really really long read below, am truly sorry for that* >I suggest that you use your SSH tunnel manually: send clear packets with some >ID in them (packet >number, whatever you prefer) >and make sure that you get them all on the other end of the tunnel, without >major del

Re: [Retroshare-devel] Help needed debugging my plugin that enables RS to act as a SSH tunnel

2016-10-24 Thread jeetu.gol...@gmail.com
Hi, As stated in my last mail, when I run retroshare-nogui, it rejects my plugin with the following message : RsPluginManager::loadList(): Reference executable hash: 2bf0bcb5ace17e7dfad6681b051ff083cee1e531 Accepted hash: 89dc2a00adae7a2b4e7bce01d287b6457b3d8eea (WW) Executable hashes do no

Re: [Retroshare-devel] Help needed debugging my plugin that enables RS to act as a SSH tunnel

2016-10-24 Thread Cave
Dear Jeetu, it looks like the hash check for plugins. I guess you have to allow/approve the new hash once in the gui. And then it should also pass the nogui-client check(which seems to miss the functionality to ask for approval). ?Anyway have you received my mail which was sent directly to

Re: [Retroshare-devel] Help needed debugging my plugin that enables RS to act as a SSH tunnel

2016-10-24 Thread jeetu.gol...@gmail.com
Hi guys, >?Anyway have you received my mail which was sent directly to you(instead to >the mailing list?) . Afaik also Gio wrote to you. Cave, am sorry I didn't get the mail you sent to me. I did get the mail Gio sent, and I replied back to it. It's so nice to get in touch with people I met at C

Re: [Retroshare-devel] Help needed debugging my plugin that enables RS to act as a SSH tunnel

2016-10-24 Thread Cyril Soler
There's actually a trick to get rid of this problem: - go to PluginsPage.cpp, and comment out line 158: "ui.enableAll->setEnabled(false);" - restart RS. In the GUI you can now allow to *not check* for plugin hash. Check it and Quit. - now RS-nogui should load your plugin without checking the has

Re: [Retroshare-devel] Help needed debugging my plugin that enables RS to act as a SSH tunnel

2016-10-24 Thread Cyril Soler
you might also want to send additional data through your ssh tunnel, just to keep it running. It looks like if you don't SSH needs some kind of "flush", which we have never cared to implement since RS links are always busy. I assume you're running a very recent version of the software? Otherwise,

Re: [Retroshare-devel] Help needed debugging my plugin that enables RS to act as a SSH tunnel

2016-10-24 Thread jeetu.gol...@gmail.com
Hi Cyril, >you might also want to send additional data through your ssh tunnel, just to >keep it running. It looks like if you don't SSH >needs some kind of >"flush", which we have never cared to implement since RS links are always busy. Yup this is a good idea. I will see how retroshare-nogui b