Re: SASL LOGIN mechanism

2018-02-14 Thread Patrick Monnerat
On 02/14/2018 09:04 PM, Ray Satiro wrote: Obviously the server does not require the password because the client certificate authentication takes precedence; the AUTH command is however needed before being able to use other commands. This looks like a deviance from the description

Re: SASL LOGIN mechanism

2018-02-14 Thread Ray Satiro
On 2/13/2018 7:48 PM, Patrick Monnerat wrote: > I've recently been facing a special case: a pop3 server (dovecot) with > a TLS-upgraded connection and client certificate does not require the > password when the LOGIN authentication mechanism is used, effectively > behaving as if it was an EXTERNAL

Re: Callback for socket options in curl + c-ares

2018-02-14 Thread Francisco Sedano Crippa (fsedanoc)
Hi folks, I went ahead and created a patch to provide a new libcurl CB, that will be called just before a new resolver is called, and the resolver data (channel in case of cares) is passed. This solves the problem perfectly for my use case. Initially I thought about just adding a new

Re: SFTP error when using proxy with curl

2018-02-14 Thread Dan Fandrich
On Wed, Feb 14, 2018 at 05:24:11PM +0530, Nazeem Shereef wrote: > I can connect to sftp server through the same proxy using SFTP command. So the > issue is not with the proxy server. > > It is a socks proxy and if I use an HTTPS proxy I can connect to the sftp > server via curl. So does this

Re: SFTP error when using proxy with curl

2018-02-14 Thread Nazeem Shereef
I can connect to sftp server through the same proxy using SFTP command. So the issue is not with the proxy server. It is a socks proxy and if I use an HTTPS proxy I can connect to the sftp server via curl. So does this means curl won't support SOCKS proxy? On 14 Feb 2018 3:31 pm, "Daniel

Re: SFTP error when using proxy with curl

2018-02-14 Thread Daniel Stenberg
On Wed, 14 Feb 2018, Nazeem Shereef wrote: CONNECT my-ftp-server.tld:22 HTTP/1.1 * Proxy CONNECT aborted Your proxy didn't allow you to do a CONNECT to that server on that port. -- / daniel.haxx.se --- Unsubscribe:

Re: SFTP error when using proxy with curl

2018-02-14 Thread Nazeem Shereef
Compiled the latest version 7.58.0 and now different error. please advice. # ./curl -V curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.0.1e zlib/1.2.3 libssh2/1.8.0 Release-Date: 2018-01-24 Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb

Re: SFTP error when using proxy with curl

2018-02-14 Thread Kamil Dudka
On Wednesday, February 14, 2018 8:48:50 AM CET Nazeem Shereef wrote: > Installed latest curl available for RHEL6(curl-7.31.0-23.2.x86_64) Available where? You do not seem to be using any packages provided by Red Hat, neither the upstream distribution of curl. I am afraid you are out of support

Re: SFTP error when using proxy with curl

2018-02-14 Thread Daniel Stenberg
On Wed, 14 Feb 2018, Nazeem Shereef wrote: Installed latest curl available for RHEL6(curl-7.31.0-23.2.x86_64) but it doesn't have sftp support You need a "libssh2-dev" package (or a name similar to that) to build curl with libssh2 support. But note that curl 7.31.0 is also old (approaching