Michael Enright | 30 Jun 02:33 2015

Failed to build on cygwin

The attached configure + make log tells the whole story (I hope).

The environmental details that might not be surfacing there are:
Win7 64 with 32-bit Cygwin

My observation is that the link error is for WsaGetLastError from
misc.o, and I don't really see any '-lwsock32' or similar strings in
the link command.

I have built my project on Linux but I wanted to see if it would work on Cygwin.

For my own reasons I have trepidations about updating Cygwin in any
way so I thought building from source would do the trick.

Other than this the development process has gone smoothly and I'm
grateful to be able to use this library. I especially appreciate the
way it seems to be very flexible about its crypto dependencies.

- mte
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Daniel Stenberg | 12 Jun 09:10 2015
Picon

[RELEASE] libssh2 1.6.0

Hi team!

I'm happy to tell that I've just tagged, packaged and uploaded libssh2 1.6.0 
to the site http://www.libssh2.org/

Enjoy!

libssh2 1.6.0

This release includes the following changes:

  o Added CMake build system
  o Added libssh2_userauth_publickey_frommemory()

This release includes the following bugfixes:

  o wait_socket: wrong use of difftime() [1]
  o userauth: Fixed prompt text no longer being copied to the prompts struct
  o mingw build: allow to pass custom CFLAGS
  o Let mansyntax.sh work regardless of where it is called from
  o Init HMAC_CTX before using it
  o direct_tcpip: Fixed channel write
  o WinCNG: fixed backend breakage
  o OpenSSL: caused by introducing libssh2_hmac_ctx_init
  o userauth.c: fix possible dereferences of a null pointer
  o wincng: Added explicit clear memory feature to WinCNG backend
  o openssl.c: fix possible segfault in case EVP_DigestInit fails
  o wincng: fix return code of libssh2_md5_init()
  o kex: do not ignore failure of libssh2_sha1_init()
  o scp: fix that scp_send may transmit not initialised memory [3]
(Continue reading)

이효신 | 12 Jun 03:53 2015

[About unsubscribe]hello libssh2-devel

hello libssh2-devel.

 

I did study about libssh2 long time ago.

thank you about help, but It is finished. then dont need mail anymore.

 

best regards.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
tim l4 | 10 Jun 05:46 2015
Picon

confused about opening multiple channels with one session in non-blocking mode

in non-blocking mode , how many opening channels could be in pending?

I am in trouble with concurrently opening direct-tcpip channel.



_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Lars Nordin | 8 Jun 10:35 2015
Picon

Improvment of speed in SFTP-read

Hi,

I have now commited my changes to the SFTP-read function. The change is:
o    Increase of the MAX_SFTP_READ_SIZE to 30000 (was 2000)
o    Implementing a sliding buffer during the read in order to process 
all data-packets in the queue (the design before was to return after the 
first package recieved, therefore the SFTP_read always returned 2000

I have tested and compared to Secure-CRT sftp-read and the speed is 
almost as good (watching the raw network traffic, the sftp-read using 
SecureCRT is still more complete packages)

I also did fixed some compiling warnings.

I think the MAX_SFTP_READ_SIZE can be altered to optimize further, my 
plan is to make an API to set the sftp-readsize, maybe this should be in 
the 1.6.0 release?

Please test the sftp-read function!

/Lars
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
libssh2 Trac | 7 Jun 15:44 2015
Picon

#307: keyboard auth promt text always contains nulls

#307: keyboard auth promt text always contains nulls
----------------------+--------------------
 Reporter:  nyaknyan  |       Owner:
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:  1.4.3
Component:  API       |     Version:  1.5.0
 Keywords:            |  Blocked By:
   Blocks:            |
----------------------+--------------------
 Hello.

 When keyboard callback is called by
 libssh2_userauth_keyboard_interactive() callback has argument const
 LIBSSH2_USERAUTH_KBDINT_PROMPT *prompts
 And prompts[i].text is always filled with nulls, whereas prompts[i].length
 set correctly.
 prompts[i].text should conatin prompt text.
 I looked into source, in src/uaseraut.c line 1536 prompts[i].text is only
 allocated, i couldn't find any copying data to it, looks like you forgot
 memcpy here

 And unrelated: registration confirm email from this bugtracker goes to
 spam in gmail

--

-- 
Ticket URL: <https://trac.libssh2.org/ticket/307>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
rbondue.ext | 5 Jun 16:38 2015

Next Release

Hello,

When can we expect a 1.6.0 release?

It contains some important fix for us (mainly the gcrypt big num leak), thank you for your work!

 

Regards,

Romain Bondue

 

_________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
libssh2 Trac | 1 Jun 15:57 2015
Picon

#306: Overlapping memcpy in libssh2_session_method_pref

#306: Overlapping memcpy in libssh2_session_method_pref
-----------------------+--------------------
 Reporter:  omoerbeek  |       Owner:
     Type:  defect     |      Status:  new
 Priority:  normal     |   Milestone:  1.4.3
Component:  API        |     Version:  1.4.2
 Keywords:             |  Blocked By:
   Blocks:             |
-----------------------+--------------------
 For memcpy, having overlapping src and dest means undefined behaviour.

 In libssh2_session_method_pref() the memcpy in the while loop is obviously
 overlapping.

 Replace by memmove to fix.

 Found by OpenBSD strict memcpy.

 Regards, Otto Moerbeek

--

-- 
Ticket URL: <https://trac.libssh2.org/ticket/306>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
libssh2 Trac | 29 May 15:40 2015
Picon

#305: Unable to exchange encryption keys

#305: Unable to exchange encryption keys
---------------------+------------------
 Reporter:  rikkman  |       Owner:
     Type:  defect   |      Status:  new
 Priority:  normal   |   Milestone:
Component:  crypto   |     Version:
 Keywords:           |  Blocked By:
   Blocks:           |
---------------------+------------------
 Hi! I'm doing some coding with libssh2 v0.12 on windows 7 Pro 64 bits to
 connect to Huawei routers. On some routers works fine, on others just echo
 this error: "Warning: ssh2_connect(): Error startingup SSH connection(-8):
 Unable to exchange encryption keys in (...)". I used putty on same routers
 and the sessions logs are identical:
 2015-05-27 12:02:19     Server version: SSH-2.0-HUAWEI-1.5
 2015-05-27 12:02:19     Using SSH protocol version 2
 2015-05-27 12:02:19     We claim version: SSH-2.0-PuTTY_Release_0.63
 2015-05-27 12:02:19     Doing Diffie-Hellman group exchange
 2015-05-27 12:02:19     Doing Diffie-Hellman key exchange with hash SHA-1
 2015-05-27 12:02:32     Host key fingerprint is:
 2015-05-27 12:02:32     ssh-rsa 512
 8a:07:9a:28:1d:4d:22:4c:18:35:4f:18:eb:ba:9e:b3
 2015-05-27 12:02:32     Initialised AES-128 CBC client->server encryption
 2015-05-27 12:02:32     Initialised HMAC-SHA1 client->server MAC algorithm
 2015-05-27 12:02:32     Initialised AES-128 CBC server->client encryption
 2015-05-27 12:02:32     Initialised HMAC-SHA1 server->client MAC algorithm

 Can you help me?
 Thanks!

--

-- 
Ticket URL: <https://trac.libssh2.org/ticket/305>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
libssh2 Trac | 21 May 17:33 2015
Picon

#304: Improperly linking to system libssl & libcrypto when staged one is desired

#304: Improperly linking to system libssl & libcrypto when staged one is desired
---------------------------+--------------------
 Reporter:  kotoroshinoto  |       Owner:
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:  1.5.0
Component:  crypto         |     Version:  1.5.0
 Keywords:                 |  Blocked By:
   Blocks:                 |
---------------------------+--------------------
 no matter what I do, it ends up linking to the system files:
 libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f83a6248000)
 libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007f83a5e68000)

 it should be linking to the ones in
 ls /UCHC/HPC/Gooch/biotoolmodules/openssl/1.0.2a/lib/
 engines libcrypto.a libcrypto.so libcrypto.so.1.0.0 libssl.a libssl.so
 libssl.so.1.0.0 pkgconfig

 what do I need to tell the configure script to accomplish this?

--

-- 
Ticket URL: <https://trac.libssh2.org/ticket/304>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
libssh2 Trac | 21 May 17:31 2015
Picon

#303: CMake build system can't be used as a subproject

#303: CMake build system can't be used as a subproject
-------------------------+--------------------
 Reporter:  JasonHaslam  |       Owner:
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:
Component:  misc         |     Version:  1.5.0
 Keywords:               |  Blocked By:
   Blocks:               |
-------------------------+--------------------
 I'm trying to incorporate the new libssh2 cmake build into my own cmake
 build system with the add_subdirectory command. It mostly works except for
 a few places in src/CMakeLists.txt that use CMAKE_SOURCE_DIR. That
 variable points to the top-level project source dir. I'd recommend
 changing them to PROJECT_SOURCE_DIR or libssh2_SOURCE_DIR. When I make
 that change everything works fine for my use case.

--

-- 
Ticket URL: <https://trac.libssh2.org/ticket/303>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients

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

Gmane