Page MenuHomePhabricator
Feed All Stories

Tue, Apr 9

kelledin created T142: torture_proxycommand failing.
Tue, Apr 9, 9:20 AM · Restricted Project

Thu, Apr 4

Niclas added a comment to T130: BUG?: sftp via socks5 with PROXYCOMMAND bails with read_packet(): Packet len too high (1818845806 6c69626e).

still the same issue & trace using 33ad6bc54e9246e57b1bdd32e7f7a869d07b7ace & openssl 1.1.1

Thu, Apr 4, 3:26 PM · Restricted Project
asn committed rLIBSSH33ad6bc54e92: dh: Add compat function for openssl < 1.1.0 (authored by Simo Sorce <simo@redhat.com>).
dh: Add compat function for openssl < 1.1.0
Thu, Apr 4, 8:56 AM
asn committed rLIBSSH33399e52f0af: dh: Add OpenSSL libcrypto specific DH implementation (authored by Simo Sorce <simo@redhat.com>).
dh: Add OpenSSL libcrypto specific DH implementation
Thu, Apr 4, 8:56 AM
asn committed rLIBSSH2f38af155969: dh: Rename variables for DH key exchange (authored by Simo Sorce <simo@redhat.com>).
dh: Rename variables for DH key exchange
Thu, Apr 4, 8:55 AM
asn committed rLIBSSH7551857d0862: dh: Move DH key handling into a separate file. (authored by Simo Sorce <simo@redhat.com>).
dh: Move DH key handling into a separate file.
Thu, Apr 4, 8:55 AM
asn committed rLIBSSH30d97979a299: dh: Confine DH KEX keys handling into fewer functions (authored by Simo Sorce <simo@redhat.com>).
dh: Confine DH KEX keys handling into fewer functions
Thu, Apr 4, 8:55 AM
asn committed rLIBSSH997fe4d418ea: mbedcrypto: Make bignum_bin2bn behave like others (authored by Simo Sorce <simo@redhat.com>).
mbedcrypto: Make bignum_bin2bn behave like others
Thu, Apr 4, 8:55 AM

Mon, Apr 1

raminfp created T141: gssapi: detect malloc failure.
Mon, Apr 1, 10:50 AM
asn committed rLIBSSHfd30cf06763c: tests: Add test cases for Match keyword in bind config (authored by ansasaki).
tests: Add test cases for Match keyword in bind config
Mon, Apr 1, 10:35 AM
asn committed rLIBSSHd9e6237a4728: bind_config: Added minimal support for Match keyword (authored by ansasaki).
bind_config: Added minimal support for Match keyword
Mon, Apr 1, 10:35 AM
asn committed rLIBSSH25af8641b31b: bind: Apply global configuration automatically (authored by ansasaki).
bind: Apply global configuration automatically
Mon, Apr 1, 10:35 AM
asn committed rLIBSSH68385a2e983a: options: Add a bind option to set the config directory (authored by ansasaki).
options: Add a bind option to set the config directory
Mon, Apr 1, 10:35 AM
asn committed rLIBSSHd6d9b56bb9c9: cmake,options: Allow to set global bind config file (authored by ansasaki).
cmake,options: Allow to set global bind config file
Mon, Apr 1, 10:35 AM
asn committed rLIBSSHbab4d2b77b82: tests: Add tests for server side configuration (authored by ansasaki).
tests: Add tests for server side configuration
Mon, Apr 1, 10:35 AM
asn committed rLIBSSHfd25beff68a8: options: Introduce ssh_bind_options_parse_config() (authored by ansasaki).
options: Introduce ssh_bind_options_parse_config()
Mon, Apr 1, 10:35 AM
asn committed rLIBSSH55a713cb0455: bind_config: Support server side configuration (authored by ansasaki).
bind_config: Support server side configuration
Mon, Apr 1, 10:35 AM
asn committed rLIBSSH79049981a513: config: Move common parser functions to config_parser.c (authored by ansasaki).
config: Move common parser functions to config_parser.c
Mon, Apr 1, 10:35 AM
asn committed rLIBSSH19e886d6b1ed: bind: Use calloc instead of malloc (authored by ansasaki).
bind: Use calloc instead of malloc
Mon, Apr 1, 10:35 AM
asn committed rLIBSSH0bde6b142cad: tests: Add missing unit tests for bind options (authored by ansasaki).
tests: Add missing unit tests for bind options
Mon, Apr 1, 10:35 AM

Fri, Mar 29

ngie-eign updated the summary of D15: Document more @return values with doxygen for APIs.
Fri, Mar 29, 6:43 PM
ngie-eign retitled D15: Document more @return values with doxygen for APIs from Document more @return values with doxygen for external APIs to Document more @return values with doxygen for APIs.
Fri, Mar 29, 6:42 PM
ngie-eign created D15: Document more @return values with doxygen for APIs.
Fri, Mar 29, 6:39 PM
asn committed rLIBSSHf05571841b05: channels: Added function to create channel to UNIX socket (authored by pmorris67 <philip.morris67@ntlworld.com>).
channels: Added function to create channel to UNIX socket
Fri, Mar 29, 2:57 PM
asn committed rLIBSSH45c7d077804a: misc: Avoid printing full path in debug message (authored by Alberto Garcia Illera <agarciaillera@gmail.com>).
misc: Avoid printing full path in debug message
Fri, Mar 29, 2:57 PM

Mon, Mar 25

asn committed rLIBSSH55bcefbc5673: config: Use size_t instead of u_int (authored by asn).
config: Use size_t instead of u_int
Mon, Mar 25, 7:18 PM
asn committed rLIBSSHb0bd05a7246a: sftp_get_error returns int, not char *. (authored by adelton).
sftp_get_error returns int, not char *.
Mon, Mar 25, 6:53 PM
asn committed rLIBSSHcd8f5ddbc22e: Each ssh_channel_request_exec() needs to be run on fresh channel. (authored by adelton).
Each ssh_channel_request_exec() needs to be run on fresh channel.
Mon, Mar 25, 6:53 PM
asn committed rLIBSSH3ce9f78fb48b: The ssh_channel_callbacks_struct member name is channel_data_function. (authored by adelton).
The ssh_channel_callbacks_struct member name is channel_data_function.
Mon, Mar 25, 6:52 PM
asn committed rLIBSSH5104c86a2bc9: auth: Set buffer used to store password as secure (authored by ansasaki).
auth: Set buffer used to store password as secure
Mon, Mar 25, 6:50 PM
asn added a comment to T133: OpenSSL 1.1.1b compile errors.

This is fixed with https://git.libssh.org/users/asn/libssh.git/commit/?h=master-fix&id=a11e172577e6c1d7fc19503fb2854777b373131b

Mon, Mar 25, 6:30 PM · Restricted Project

Sun, Mar 24

minzak created T140: warning: unrecognized command line option ‘-Wno-gnu-zero-variadic-macro-arguments’.
Sun, Mar 24, 11:42 PM

Mar 20 2019

chcg added a comment to T133: OpenSSL 1.1.1b compile errors.

See https://travis-ci.org/ashkulz/NppFTP/jobs/504958471, also for NppFTP with 0.8.7 this issue could be observed for mingw64 4.8.4 build with setting -DWITH_STATIC_LIB=ON for https://github.com/ashkulz/NppFTP/pull/246. The same constellation build with MSVC seems to have no such issue, see https://ci.appveyor.com/project/ashkulz/nppftp/builds/22995813

Mar 20 2019, 7:13 PM · Restricted Project

Mar 14 2019

adelton created T139: Calling sftp_new() on session that was not authenticated hangs.
Mar 14 2019, 2:42 PM
adelton created T138: sftp_free() segfaults when called after ssh_disconnect().
Mar 14 2019, 2:35 PM
adelton added a comment to T137: Difference between sftp_new() and sftp_init() is not clear.

The behaviour was observed on Fedora 29 with libssh-0.8.7-1.fc29.x86_64.

Mar 14 2019, 2:17 PM
adelton created T137: Difference between sftp_new() and sftp_init() is not clear.
Mar 14 2019, 2:16 PM

Mar 13 2019

davidwed added a comment to T133: OpenSSL 1.1.1b compile errors.

All is fine, I just hadn't considered that I linked the Openssl statically :-).

Mar 13 2019, 4:29 PM · Restricted Project
asn added a comment to T133: OpenSSL 1.1.1b compile errors.

Please open a new bug if there is an issue with libssh and openssl linking on Windows and provide details there. Thanks!

Mar 13 2019, 10:49 AM · Restricted Project
asn committed rLIBSSHe981113ee1c2: doc: Add a note about OpenSSL linking (authored by asn).
doc: Add a note about OpenSSL linking
Mar 13 2019, 10:37 AM
asn committed rLIBSSH144e5516149a: doc: Add a note about OpenSSL linking (authored by asn).
doc: Add a note about OpenSSL linking
Mar 13 2019, 10:36 AM
asn committed rLIBSSH3736a0367bf3: libcrypto: Add missing includes for modes.h (authored by asn).
libcrypto: Add missing includes for modes.h
Mar 13 2019, 10:33 AM
asn added a commit to T133: OpenSSL 1.1.1b compile errors: rLIBSSH3736a0367bf3: libcrypto: Add missing includes for modes.h.
Mar 13 2019, 10:33 AM · Restricted Project
asn committed rLIBSSH65bc24d8a420: libcrypto: Add missing includes for modes.h (authored by asn).
libcrypto: Add missing includes for modes.h
Mar 13 2019, 10:33 AM
asn closed T133: OpenSSL 1.1.1b compile errors as Resolved by committing rLIBSSH65bc24d8a420: libcrypto: Add missing includes for modes.h.
Mar 13 2019, 10:33 AM · Restricted Project
asn added a comment to T133: OpenSSL 1.1.1b compile errors.

You seem to statically link openssl, that's why you need to link crypt32.dll. This means it isn't our problem. See

Mar 13 2019, 10:31 AM · Restricted Project
asn added a comment to T133: OpenSSL 1.1.1b compile errors.

Is that only happening with static linking?

Mar 13 2019, 10:27 AM · Restricted Project
asn added a comment to T133: OpenSSL 1.1.1b compile errors.

Why do you need to link against crypt32, can you post the error?

Mar 13 2019, 10:24 AM · Restricted Project
davidwed added a comment to T133: OpenSSL 1.1.1b compile errors.

Your fix for the "libcrypto.c" worked, thanks :-).

Mar 13 2019, 10:08 AM · Restricted Project
asn added a comment to T133: OpenSSL 1.1.1b compile errors.

??

Mar 13 2019, 9:44 AM · Restricted Project

Mar 12 2019

davidwed added a comment to T133: OpenSSL 1.1.1b compile errors.
Mar 12 2019, 4:55 PM · Restricted Project
davidwed added a comment to T133: OpenSSL 1.1.1b compile errors.
Mar 12 2019, 4:06 PM · Restricted Project
asn added a comment to T133: OpenSSL 1.1.1b compile errors.

https://git.libssh.org/users/asn/libssh.git/commit/?h=master-fix&id=a11e172577e6c1d7fc19503fb2854777b373131b

Mar 12 2019, 1:15 PM · Restricted Project
asn added a comment to T133: OpenSSL 1.1.1b compile errors.

Do we need to add:

Mar 12 2019, 1:10 PM · Restricted Project
davidwed added a comment to T133: OpenSSL 1.1.1b compile errors.

I compile the OpenSSL and the libSSH on a Windows 8.1 system with the mingw64 ( MSYS2 ).

Mar 12 2019, 12:18 PM · Restricted Project
adelton created T136: A more elaborate way to get the remote data.
Mar 12 2019, 10:42 AM
adelton created T135: When ~/.ssh/known_hosts is removed, I still get SSH_KNOWN_HOSTS_UNKNOWN, not SSH_KNOWN_HOSTS_NOT_FOUND.
Mar 12 2019, 9:23 AM

Mar 11 2019

asn committed rLIBSSHd8fc65ad7125: The SSH_LOG_ENTRY is not defined all, match the descriptions to… (authored by adelton).
The SSH_LOG_ENTRY is not defined all, match the descriptions to…
Mar 11 2019, 4:29 PM
asn committed rLIBSSHbed7dcb3ec2c: ssh_userauth_publickey_auto requires three arguments. (authored by adelton).
ssh_userauth_publickey_auto requires three arguments.
Mar 11 2019, 4:29 PM
asn committed rLIBSSH81d0f6b6b7ae: From the context it seems that the function being defined is authenticate_none. (authored by adelton).
From the context it seems that the function being defined is authenticate_none.
Mar 11 2019, 4:29 PM
Jakuje added a comment to T133: OpenSSL 1.1.1b compile errors.

I just tested with Fedora 29 with the latest OpenSSL 1.1.1b (openssl-1.1.1b-2.fc29.x86_64) and I am able to build the libssh without any problem. Can you clarify on what OS are you trying to compile and you see these errors?

Mar 11 2019, 10:22 AM · Restricted Project

Mar 7 2019

asn committed rLIBSSHc235841436ae: Add unit test for fn that generates session keys (authored by Simo Sorce <simo@redhat.com>).
Add unit test for fn that generates session keys
Mar 7 2019, 4:12 PM
asn committed rLIBSSH449954d99afc: Fix crypto_free zeroing of encryption keys (authored by Simo Sorce <simo@redhat.com>).
Fix crypto_free zeroing of encryption keys
Mar 7 2019, 4:12 PM
asn committed rLIBSSHc180211c6b80: Clean up code that generates session keys (authored by Simo Sorce <simo@redhat.com>).
Clean up code that generates session keys
Mar 7 2019, 4:12 PM
asn committed rLIBSSH104c9dca3f96: Use a common KDF function (authored by Simo Sorce <simo@redhat.com>).
Use a common KDF function
Mar 7 2019, 4:12 PM
lzfmars updated the task description for T134: crash in nonblock-write mode of ssh_handle_key_exchange() when receiving tcp rst after 3WHS (keepalive).
Mar 7 2019, 4:11 PM · Restricted Project
lzfmars created T134: crash in nonblock-write mode of ssh_handle_key_exchange() when receiving tcp rst after 3WHS (keepalive).
Mar 7 2019, 4:11 PM · Restricted Project
lzfmars added a project to T134: crash in nonblock-write mode of ssh_handle_key_exchange() when receiving tcp rst after 3WHS (keepalive): Restricted Project.
Mar 7 2019, 4:11 PM · Restricted Project

Mar 1 2019

asn closed T128: net-libs/libssh compile issue with libressl-2.6.5 as Resolved.
Mar 1 2019, 8:22 AM · Restricted Project

Feb 28 2019

toralf added a comment to T128: net-libs/libssh compile issue with libressl-2.6.5.

FWIW seems that libssh-0.8.6 compiles fine here with LibreSSL-2.8.3

Feb 28 2019, 7:51 PM · Restricted Project
Jakuje added a comment to T133: OpenSSL 1.1.1b compile errors.

Building with openssl-1.1.1a-1.fc29.x86_64 works fine so the support window is not a problem.

Feb 28 2019, 11:57 AM · Restricted Project
asn assigned T133: OpenSSL 1.1.1b compile errors to Jakuje.

Jakub, could you check once OpenSSL 1.1.1b is in rawhide?

Feb 28 2019, 9:22 AM · Restricted Project

Feb 27 2019

davidwed created T133: OpenSSL 1.1.1b compile errors.
Feb 27 2019, 11:26 PM · Restricted Project
asn added a comment to T125: libssh 0.8.5 under Windows 10.

Some time ago, we use WSAPoll() on Windows but it had a lot of issues that's why we stopped using it. I guess the best would be to move to a library which provides different event loops like libverto.

Feb 27 2019, 8:39 AM · Restricted Project
asn added a project to T127: socket: non blocking connection do not try IPv4 address after failing to connect to IPv6 address: Restricted Project.
Feb 27 2019, 8:36 AM · Restricted Project
asn assigned T127: socket: non blocking connection do not try IPv4 address after failing to connect to IPv6 address to ansasaki.
Feb 27 2019, 8:36 AM · Restricted Project
asn triaged T128: net-libs/libssh compile issue with libressl-2.6.5 as Wishlist priority.
Feb 27 2019, 8:35 AM · Restricted Project
asn committed rLIBSSHbe73335f8e1b: sftp: Document how to free memory retruned by sftp_canonicalize_path() (authored by asn).
sftp: Document how to free memory retruned by sftp_canonicalize_path()
Feb 27 2019, 8:35 AM
asn added a commit to T129: What to do with sftp_canonicalize_path's returned pointer?: rLIBSSHbe73335f8e1b: sftp: Document how to free memory retruned by sftp_canonicalize_path().
Feb 27 2019, 8:35 AM
asn committed rLIBSSH7c444c09d7bd: sftp: Document how to free memory retruned by sftp_canonicalize_path() (authored by asn).
sftp: Document how to free memory retruned by sftp_canonicalize_path()
Feb 27 2019, 8:34 AM
asn closed T129: What to do with sftp_canonicalize_path's returned pointer? as Resolved by committing rLIBSSH7c444c09d7bd: sftp: Document how to free memory retruned by sftp_canonicalize_path().
Feb 27 2019, 8:34 AM
asn added a comment to T129: What to do with sftp_canonicalize_path's returned pointer?.

Thank you very much for the bug report.

Feb 27 2019, 8:34 AM
asn committed rLIBSSH8234df5decfd: ssh_event_dopoll can also return SSH_AGAIN (authored by Till Wimmer <g4-lisz@tonarchiv.ch>).
ssh_event_dopoll can also return SSH_AGAIN
Feb 27 2019, 8:20 AM

Feb 25 2019

asn committed rLIBSSH52986115b8b7: Bump version to 0.8.7 (authored by asn).
Bump version to 0.8.7
Feb 25 2019, 10:29 AM
asn committed rLIBSSH7a49ee5ffc71: cmake: Bump API version to 4.7.4 (authored by asn).
cmake: Bump API version to 4.7.4
Feb 25 2019, 10:29 AM
asn committed rLIBSSHc842bc2e8bea: Remove SHA384 HMAC (authored by Dirkjan Bussink <d.bussink@gmail.com>).
Remove SHA384 HMAC
Feb 25 2019, 10:29 AM
asn committed rLIBSSH8892577296db: Use constant time comparison function for HMAC comparison (authored by Dirkjan Bussink <d.bussink@gmail.com>).
Use constant time comparison function for HMAC comparison
Feb 25 2019, 10:29 AM
asn committed rLIBSSHac7c64a76915: pki_gcrypt: Include missing stdbool.h (authored by asn).
pki_gcrypt: Include missing stdbool.h
Feb 25 2019, 10:29 AM
asn committed rLIBSSH47014eb2732c: pki: Fix size type for len in privatekey_string_to_buffer() (authored by asn).
pki: Fix size type for len in privatekey_string_to_buffer()
Feb 25 2019, 10:29 AM
asn committed rLIBSSH22231061131b: connect: Fix size type for i an j in ssh_select() (authored by asn).
connect: Fix size type for i an j in ssh_select()
Feb 25 2019, 10:29 AM
asn committed rLIBSSH4af77362b018: connector: Fallback on the socket output callback (authored by davidwed).
connector: Fallback on the socket output callback
Feb 25 2019, 10:29 AM
asn added a commit to T132: pki_gcrypt: strict-overflow error with gcc 4.8: rLIBSSH47014eb2732c: pki: Fix size type for len in privatekey_string_to_buffer().
Feb 25 2019, 10:29 AM
asn added a commit to T124: Connector interface does not work correctly in SSH server environment: rLIBSSH4af77362b018: connector: Fallback on the socket output callback.
Feb 25 2019, 10:28 AM · Restricted Project
asn committed rLIBSSHf4a0fcc85eb1: connector: Don't NULL connector (in|out) channels on event remove (authored by Till Wimmer <g4-lisz@tonarchiv.ch>).
connector: Don't NULL connector (in|out) channels on event remove
Feb 25 2019, 10:28 AM
asn committed rLIBSSH810dbd3db11f: config: Avoid buffer overflow (authored by Jakuje).
config: Avoid buffer overflow
Feb 25 2019, 10:28 AM
asn committed rLIBSSHfa150ef8d298: options: Removed outdated param annotations of ssh_options_set() (authored by Till Wimmer <g4-lisz@tonarchiv.ch>).
options: Removed outdated param annotations of ssh_options_set()
Feb 25 2019, 10:28 AM

Feb 22 2019

asn committed rLIBSSH4a67c1911886: Add tests and implementation for Encrypt-then-MAC mode (authored by Dirkjan Bussink <d.bussink@gmail.com>).
Add tests and implementation for Encrypt-then-MAC mode
Feb 22 2019, 6:21 PM
asn committed rLIBSSHe4c7912b3531: Add flag for tracking EtM HMACs (authored by Dirkjan Bussink <d.bussink@gmail.com>).
Add flag for tracking EtM HMACs
Feb 22 2019, 6:21 PM
asn committed rLIBSSHc6608c921118: Refactor ssh_packet_hmac_verify to allow for direct buffer (authored by Dirkjan Bussink <d.bussink@gmail.com>).
Refactor ssh_packet_hmac_verify to allow for direct buffer
Feb 22 2019, 6:21 PM
asn committed rLIBSSHf055319efe68: Select ciphers for MAC tests that need a MAC (authored by Dirkjan Bussink <d.bussink@gmail.com>).
Select ciphers for MAC tests that need a MAC
Feb 22 2019, 6:21 PM