Home » U++ Library support » U++ MT-multithreading and servers » SSH package for U++ (A feature-rich ilbssh2 wrapper for Ultimate++)
Re: SSH package for U++ [message #49036 is a reply to message #49033] |
Sun, 03 December 2017 08:35 |
alkema_jm
Messages: 25 Registered: November 2015
|
Promising Member |
|
|
Hello Oblivion,
> Think of it this way: I am implementing what I think Ultimate++ lacks (and what I need in U++). After all, these packages are meant to be used in U++ applications.
You did a very good job to make the packages for Ultimate++. I like to re use as much as possible. I don't like to 'reinvent weels'.
> By the way, recently I set up a GIT address where I upload 3rd party packages I wrote for U++.
I use github a lot to retrieve source code. All ('living') projects are on github.
> There are only several packages in the repo now but it will grow in time, once I clean up and publish the library I personally use: https://github.com/ismail-yilmaz/upp-components
I like Fossil program/concept (https://www.fossil-scm.org/xfer/timeline). Last two weeks of this year i will try to merge it with Ultimate++.
> I have good news and (somewhat) bad news: TOR is on my todo list (with WEBDAV, OAuth2, etc...), but it isn't an easy-to-implement protocol.
Ok. I like good news
> However "in theory" (I didn't actually test it) it is possible to use it, without writing a whole TOR client.
https://tor.stackexchange.com/questions/3421/route-c-through -tor-using-socks :
Tor is a socks5 proxy.
here is the socks5 rfc Protocol is https://www.ietf.org/rfc/rfc1928.txt
here is a guide to how socks5 works with tor https://samsclass.info/122/proj/how-socks5-works.html read this, it is VERY useful
if using sockets (I assume c++ uses sockets) you will need to
1. connect to tor (127.0.0.1:9050 by default)
2. Send authentication (5,1,0) see rfc part 3
3. Receive the tor response (5,0) see rfc part 3
4. Send Client's Connection request (5,1,0,3 + host length + a binary representation of the host and port) see rfc part 4
5. receive the tor response (5,0,0,1,0,0,0,0,0,0) see rfc part 6 (there can be a bunch of errors here, so watch out)
6. Send a binary representation of a http request to tor (Tor will forward this to the destination)
7. Receive the http response (will send the header first then the web page)
> There is a package called NetProxy (it is a Https/Socks4/4a/5 proxy adapter for U++) which, again, I wrote: https://www.ultimatepp.org/forums/index.php?t=msg&th=101 32&start=0&
Ok, Looks very promising
So if you can configure the Tor client to act as a socks 5 proxy, then, "in theory", you may be able use SSH package through it. (or any other app that is designed to support NetProxy).
> I see in "Tor is a socks5 proxy" on https://tor.stackexchange.com/questions/3421/route-c-through -tor-using-socks
> AFAIK, Tor client (not the browser, but the background process) can be configured to be used as a SOCKS proxy.
In de Tor logging it see "Opening Socks listener on 127.0.0.0:9050"
> And SSH package already supports proxied connections (through WhenProxy callback, in which you hand over the TcpSocket handle to NetProxy, and let it connect for you via a proxy server).
Oblivion, Must I insert NetProxy source code in Filezilla.exe or Tor.exe? N.B. My Tor.exe is the program to connect to the Tor-network. And has a sock listerer port on localhost port 9050.
Greetings Jan Marco
Appendix FileZilla client:
[Updated on: Sun, 03 December 2017 14:00] Report message to a moderator
|
|
|
|
|
SSH package for U++
By: Oblivion on Tue, 14 November 2017 21:59
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 17 November 2017 22:15
|
|
|
Re: SSH package for U++
By: Oblivion on Sat, 18 November 2017 15:57
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 19 November 2017 18:21
|
|
|
Re: SSH package for U++
By: Oblivion on Tue, 21 November 2017 00:38
|
|
|
Re: SSH package for U++
By: koldo on Thu, 23 November 2017 09:07
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 24 November 2017 21:03
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 26 November 2017 09:59
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 01 December 2017 14:35
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: Oblivion on Sat, 02 December 2017 10:44
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: Oblivion on Mon, 04 December 2017 22:46
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: Oblivion on Tue, 19 December 2017 14:27
|
|
|
Re: SSH package for U++
By: Oblivion on Tue, 19 December 2017 14:44
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 07 January 2018 22:09
|
|
|
Re: SSH package for U++
By: koldo on Mon, 08 January 2018 08:27
|
|
|
Re: SSH package for U++
By: Oblivion on Tue, 09 January 2018 23:15
|
|
|
Re: SSH package for U++
By: koldo on Wed, 10 January 2018 08:53
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 19 January 2018 14:18
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 21 January 2018 12:18
|
|
|
Re: SSH package for U++
By: koldo on Sun, 21 January 2018 16:53
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 28 January 2018 12:13
|
|
|
Re: SSH package for U++
By: Oblivion on Mon, 02 April 2018 23:27
|
|
|
Re: SSH package for U++
By: Oblivion on Sat, 07 April 2018 16:25
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 15 April 2018 00:39
|
|
|
Re: SSH package for U++
By: Oblivion on Sat, 21 April 2018 08:12
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: mirek on Tue, 10 July 2018 14:37
|
|
|
Re: SSH package for U++
By: mirek on Tue, 10 July 2018 15:38
|
|
|
Re: SSH package for U++
By: mirek on Tue, 10 July 2018 15:42
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: mirek on Tue, 31 July 2018 11:07
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 03 August 2018 17:34
|
|
|
Re: SSH package for U++
By: mirek on Fri, 03 August 2018 18:03
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 03 August 2018 18:44
|
|
|
Re: SSH package for U++
By: Oblivion on Tue, 07 August 2018 23:32
|
|
|
Re: SSH package for U++
By: mirek on Wed, 08 August 2018 10:56
|
|
|
Re: SSH package for U++
By: Oblivion on Wed, 08 August 2018 11:22
|
|
|
Re: SSH package for U++
By: mirek on Wed, 08 August 2018 13:28
|
|
|
Re: SSH package for U++
By: Oblivion on Wed, 08 August 2018 14:16
|
|
|
Re: SSH package for U++
By: mirek on Thu, 09 August 2018 11:54
|
|
|
Re: SSH package for U++
By: mirek on Thu, 09 August 2018 12:00
|
|
|
Re: SSH package for U++
By: Oblivion on Thu, 09 August 2018 16:24
|
|
|
Re: SSH package for U++
By: mirek on Thu, 09 August 2018 16:49
|
|
|
Re: SSH package for U++
By: Oblivion on Thu, 09 August 2018 17:03
|
|
|
Re: SSH package for U++
By: Oblivion on Thu, 09 August 2018 17:59
|
|
|
Re: SSH package for U++
By: mirek on Thu, 09 August 2018 18:35
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 12 August 2018 12:51
|
|
|
Re: SSH package for U++
By: Oblivion on Thu, 30 August 2018 07:27
|
|
|
Re: SSH package for U++
By: mirek on Thu, 30 August 2018 09:04
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 31 August 2018 00:12
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 02 September 2018 21:59
|
|
|
Re: SSH package for U++
By: Oblivion on Wed, 31 October 2018 11:00
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 04 November 2018 19:55
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 22 March 2019 17:39
|
Goto Forum:
Current Time: Mon Jun 10 05:57:23 CEST 2024
Total time taken to generate the page: 0.01539 seconds
|