SourceForge.net | 1 Nov 2009 03:22
Picon
Favicon

[ libssh2-Bugs-2841743 ] Compilation error on HP-UX 11.11

Bugs item #2841743, was opened at 2009-08-21 07:48
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2841743&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: Compilation error on HP-UX 11.11

Initial Comment:
> make
Make: Must be a separator on rules line 720.  Stop.

----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2009-11-01 02:22

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
(Continue reading)

SourceForge.net | 2 Nov 2009 03:22
Picon
Favicon

[ libssh2-Bugs-2809118 ] Deadlock in libssh2_session_free

Bugs item #2809118, was opened at 2009-06-19 15:50
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2809118&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: misc
Group: None
>Status: Closed
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: Deadlock in libssh2_session_free

Initial Comment:
I don't really know if the problem originates in libssh2 code, but it's the best guess I could think of.

I have a Perl program (using Net::SSH2) running as a CORBA deamon (using mico XS-bindings from
http://sourceforge.net/projects/corba-mico/). The CORBA server creates SSH tunnels to remote hosts
and communicates (non blocking mode) with other servers beyond the other end of the tunnel. SSH Tunnels
are kept open as long as possible and are reinitialized if the connection is lost.
This works fine, usually. But every now and then the whole process blocks.

This happens on SuSE Linux Enterprise 10.2, 64Bit, gcc 4.1.2 20070115 (SUSE Linux) using Perl 5.10.0,
Net::SSH2 0.19, and libssh2 1.1.

(Continue reading)

SourceForge.net | 2 Nov 2009 03:22
Picon
Favicon

[ libssh2-Bugs-2819559 ] high cpu usage during SFTP copying (nonblock mode)

Bugs item #2819559, was opened at 2009-07-10 12:06
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2819559&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SFTP
Group: None
>Status: Closed
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: mera  (mera-nn)
Assigned to: Daniel Stenberg (bagder)
Summary: high cpu usage during SFTP copying (nonblock mode)

Initial Comment:
Using test sftp copying binary , high cpu usage observed. Seems curl uses nonblock mode so sftp usage using
curl library is high. Originally issue observed using curl library.

The logs below:

Using latest libssh2

[root <at> localhost simple]# pwd
/root/libssh2-1.1/example/simple

[root <at> localhost simple]#./sftp_write 192.168.35.75 user pass test.sftp  /tmp/test.block
(Continue reading)

SourceForge.net | 2 Nov 2009 03:22
Picon
Favicon

[ libssh2-Bugs-2731272 ] libssh2_userauth_publickey_fromfile crashed in windows XP

Bugs item #2731272, was opened at 2009-04-04 14:43
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2731272&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: libssh2_userauth_publickey_fromfile crashed in windows XP 

Initial Comment:
libssh2_userauth_publickey_fromfile crashed in windows XP. When I further debugged the problem , I
found it was crashing in PEM_read_RSAPrivateKey (openssl.c). When I replaced this API with
PEM_read_bio_RSAPrivateKey, things started working. May I know why this behavior - 

Harish Jadhav

----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2009-11-02 02:22

(Continue reading)

SourceForge.net | 2 Nov 2009 03:22
Picon
Favicon

[ libssh2-Bugs-2476770 ] Win32, static lib (using MinGW in MSYS shell)

Bugs item #2476770, was opened at 2008-12-30 08:40
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2476770&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Sisyphus (sisyphus_)
Assigned to: Daniel Stenberg (bagder)
Summary: Win32, static lib (using MinGW in MSYS shell)

Initial Comment:
Hi,
I've just built a static libssh2-1.0 for native Win32 in the MSYS shell using the MinGW port of gcc-3.4.5.
There were a couple of hoops to jump through:

In the configure script, I changed:

case "$host" in
    *-mingw*)
    CFLAGS="$CFLAGS -DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200"
    LIBS="$LIBS -lws2_32"
    ;;
(Continue reading)

ravitosh more | 2 Nov 2009 09:19
Picon

SFTP client error with OpenVMS SFTP server

Hi

 

I have written a small program to SFTP transmit (put) and retrieve (get) some files available in particular directories using libssh2

 

Like local directory on Linux machine: “/var/tmp/sftpdir”

And

Remote directory on OpenVMS machine: “/sys$sysdevice/smsc/tmp/ftpdir”

 

The application is working fine for file transmission between Linux-Linux and Linux-Unix.

 

But with the OpenVMS server it is connecting properly using password authentication method.

Later if I am trying to open the remote directory “/sys$sysdevice/smsc/tmp/ftpdir” it is failing with the below error:

 

“-30 Timeout waiting for status message”

 

I am using the code below:

 

sftp_handle = libssh2_sftp_opendir(sftp, remote_dir);  //where remote_dir = /sys$sysdevice/smsc/tmp/ftpdir” 

                                                       //and sftp is valid sftp seesion intance.

 

Can anyone please tell whats wrong I am doing or what additional I need to do to get it work with OpenVMS.

 

Regards,

Ravitosh 

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Daniel Stenberg | 2 Nov 2009 10:21
Picon
Favicon
Gravatar

Re: SFTP client error with OpenVMS SFTP server

On Mon, 2 Nov 2009, ravitosh more wrote:

> But with the OpenVMS server it is connecting properly using password 
> authentication method.
>
> Later if I am trying to open the remote directory
> “*/sys$sysdevice/smsc/tmp/ftpdir”
> *it is failing with the below error:
>
> *“-30 Timeout waiting for status message”*

It sounds like libssh2 doesn't manage to comunicate properly with that server.

Can you open other dirs? Can you do anything else SFTP-related on that same 
server?

I think you need to start some serious debugging to figure this out!

--

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
ravitosh more | 2 Nov 2009 13:50
Picon

Re: SFTP client error with OpenVMS SFTP server

Hi Daniel,
 
Thanks..
 
I am able to create SFTP session with remote OpenVMS SFTP server successfully.
But using that SFTP session instance, am unable to open remote directory for transmitting files (SFTP put).

Normal SFTP from terminal is working fine.
 
I am configuring remote directory as "/sys$sysdevice/smsc/tmp/ftpdir"
 
Please suggest me if I am doing something wrong or I need to take some additional precaution with OpenVMS.
 
Thanks,
Ravitosh
 
 
 
 

 
On Mon, Nov 2, 2009 at 2:51 PM, Daniel Stenberg <daniel-7AX/Qt632QQ@public.gmane.org> wrote:
On Mon, 2 Nov 2009, ravitosh more wrote:

But with the OpenVMS server it is connecting properly using password authentication method.

Later if I am trying to open the remote directory
“*/sys$sysdevice/smsc/tmp/ftpdir”
*it is failing with the below error:

*“-30 Timeout waiting for status message”*

It sounds like libssh2 doesn't manage to comunicate properly with that server.

Can you open other dirs? Can you do anything else SFTP-related on that same server?

I think you need to start some serious debugging to figure this out!

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel




--
Regards
Ravitosh More
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Daniel Stenberg | 2 Nov 2009 14:26
Picon
Favicon
Gravatar

Re: SFTP client error with OpenVMS SFTP server

On Mon, 2 Nov 2009, ravitosh more wrote:

> I am able to create SFTP session with remote OpenVMS SFTP server 
> successfully. But using that SFTP session instance, am unable to open remote 
> directory for transmitting files (SFTP put).

Yes, that's exactly what you already wrote in your first mail.

> Normal SFTP from terminal is working fine.

You mean with the sftp tool from openssh?

So, my previous comments still stand, and let me clarify that I'm only talking 
about things done with libssh2:

>> It sounds like libssh2 doesn't manage to comunicate properly with that 
>> server.
>>
>> Can you open other dirs? Can you do anything else SFTP-related on that same
>> server?
>>
>> I think you need to start some serious debugging to figure this out!

And please don't top-post, it makes the conversation SO confusing.

--

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Dave McCaldon | 3 Nov 2009 21:19

[PATCH] Implement libssh2_trace_sethandler(), allows trace output to be captured

Attached is a git patch that implements libssh2_trace_sethandler(),  
which allows trace output to be captured by an application provided  
callback that libssh2_trace() and debugdump() will call instead of the  
default of always writing to stderr.

This will allow an application developer to be able to capture the  
libssh2 trace output to a log file, or into a diagnostic window.  Note  
that as with libssh2_trace(), libssh2 must be configured with --enable- 
debug otherwise this does nothing.  Also note that if you enable  
tracing for LIBSSH2_DBG_TRANS, then you're going to get a lot of  
output in the form of packet hex dumps.

Previously, trace output always went to stderr, which mean you had to  
use dup2() to coerce your log file handle into stderr if you wanted to  
capture the output.

I have so far tested this on Mac OS X, Windows, Windows x64 and Linux  
(32-bit).

Thanks!


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Gmane