Page MenuHomePhabricator
Feed All Stories

Today

rhialto created T225: Missing #include makes that compiling example fails.
Wed, Apr 8, 1:59 PM

Yesterday

asn assigned T224: Unable to distinguish between real error and child-process interrupts when ssh_bind_accept() returns to ansasaki.
Tue, Apr 7, 8:08 AM · Restricted Project

Mon, Apr 6

orionltd added a comment to T224: Unable to distinguish between real error and child-process interrupts when ssh_bind_accept() returns.

Sorry, I can't create a proper PR at the moment (permissions problems and the 'create merge request' by email likewise), and I've not been able to test-compile this code on the latest version - but I have confirmed the same fix works on 0.7.5.

Mon, Apr 6, 6:36 PM · Restricted Project
orionltd created T224: Unable to distinguish between real error and child-process interrupts when ssh_bind_accept() returns.
Mon, Apr 6, 5:24 PM · Restricted Project
asn committed rLIBSSHe510de0315a9: kex: Add support for diffie-hellman-group14-sha256 (authored by ansasaki).
kex: Add support for diffie-hellman-group14-sha256
Mon, Apr 6, 11:37 AM
asn committed rLIBSSH34c596182dfc: dh-gex: Check return value of ssh_get_random() (authored by asn).
dh-gex: Check return value of ssh_get_random()
Mon, Apr 6, 11:37 AM
asn committed rLIBSSH1a18d9cce271: cmake: Fix building with threading support on MinGW (authored by asn).
cmake: Fix building with threading support on MinGW
Mon, Apr 6, 11:37 AM
asn committed rLIBSSHcd1504365628: src/pki_crypto.c corrects the incorrect usage of enum (authored by sahanaprasad07).
src/pki_crypto.c corrects the incorrect usage of enum
Mon, Apr 6, 9:53 AM
asn committed rLIBSSH9eb1ce88ae92: kex: Add support for diffie-hellman-group14-sha256 (authored by ansasaki).
kex: Add support for diffie-hellman-group14-sha256
Mon, Apr 6, 9:53 AM
sahanaprasad07 updated subscribers of T223: libssh crashes when ecdsa pkcs #11 private keys are imported without importing ecdsa pkcs #11 public keys.
Mon, Apr 6, 8:32 AM
sahanaprasad07 renamed T223: libssh crashes when ecdsa pkcs #11 private keys are imported without importing ecdsa pkcs #11 public keys from libssh crashes when ecdsa pkcs #11 private URIs are imported without importing ecdsa pkcs #11 public URIs to libssh crashes when ecdsa pkcs #11 private keys are imported without importing ecdsa pkcs #11 public keys.
Mon, Apr 6, 8:32 AM
sahanaprasad07 created T223: libssh crashes when ecdsa pkcs #11 private keys are imported without importing ecdsa pkcs #11 public keys.
Mon, Apr 6, 8:31 AM

Thu, Apr 2

Jodie updated Jodie.
Thu, Apr 2, 11:54 PM
asn committed rLIBSSHd2f0d3270a87: dh-gex: Check return value of ssh_get_random() (authored by asn).
dh-gex: Check return value of ssh_get_random()
Thu, Apr 2, 11:15 AM

Wed, Apr 1

asn committed rLIBSSHa9a7c2dc29a2: cmake: Fix building with threading support on MinGW (authored by asn).
cmake: Fix building with threading support on MinGW
Wed, Apr 1, 2:36 PM
ansasaki created T222: Update documentation to add explicit need to call init when statically linked.
Wed, Apr 1, 11:58 AM

Mon, Mar 30

asn committed rLIBSSHc79e67ca1e30: gitlab-ci: Use variables so we can keep before_script (authored by asn).
gitlab-ci: Use variables so we can keep before_script
Mon, Mar 30, 9:49 AM
asn committed rLIBSSHfc694a5c493e: gitlab-ci: Add stages (authored by asn).
gitlab-ci: Add stages
Mon, Mar 30, 9:49 AM
asn committed rLIBSSH8e00d1f0a889: gitlab-ci: Add Coverity Scan (authored by asn).
gitlab-ci: Add Coverity Scan
Mon, Mar 30, 9:49 AM
asn committed rLIBSSH9914809ae389: gitlab-ci: Remove the tumbleweed docs build (authored by asn).
gitlab-ci: Remove the tumbleweed docs build
Mon, Mar 30, 9:49 AM
asn committed rLIBSSHb2c7fce96802: cmake: Update compile flags for UndefinedSanitizer (authored by asn).
cmake: Update compile flags for UndefinedSanitizer
Mon, Mar 30, 9:49 AM
asn committed rLIBSSH7f869e4c99ac: gitlab-ci: Add a build template (authored by asn).
gitlab-ci: Add a build template
Mon, Mar 30, 9:49 AM
asn committed rLIBSSH45d82b3e3636: gitlab-ci: Add a simple fedora build and docs build (authored by asn).
gitlab-ci: Add a simple fedora build and docs build
Mon, Mar 30, 9:49 AM

Sun, Mar 29

asn committed rLIBSSH3845f77d762b: tests: Mark unreachable points after fail_msg() (authored by ansasaki).
tests: Mark unreachable points after fail_msg()
Sun, Mar 29, 10:25 AM
asn committed rLIBSSH960d952380cc: doc: Add a newly published RFC about Ed25519 keys (authored by Jakuje).
doc: Add a newly published RFC about Ed25519 keys
Sun, Mar 29, 10:25 AM
asn committed rLIBSSHb06b9368192f: torture_server_config: Run the server under timeout (authored by ansasaki).
torture_server_config: Run the server under timeout
Sun, Mar 29, 10:25 AM
asn committed rLIBSSH3feb6ebe281b: torture_server: Run the server under timeout (authored by ansasaki).
torture_server: Run the server under timeout
Sun, Mar 29, 10:24 AM
asn committed rLIBSSHa64737cef641: torture: Added a function to setup a libssh based server (authored by ansasaki).
torture: Added a function to setup a libssh based server
Sun, Mar 29, 10:24 AM
asn committed rLIBSSHf529659f76a2: test_server: Added an option to write PID to file (authored by ansasaki).
test_server: Added an option to write PID to file
Sun, Mar 29, 10:24 AM
asn committed rLIBSSH3aea2ad53fe9: ssh_ping: Ignore system-wide configuration (authored by ansasaki).
ssh_ping: Ignore system-wide configuration
Sun, Mar 29, 10:24 AM
asn committed rLIBSSH6bd2b93f43da: auth: Fix memory leak in ssh_userauth_publickey_auto() (authored by ansasaki).
auth: Fix memory leak in ssh_userauth_publickey_auto()
Sun, Mar 29, 10:02 AM
asn committed rLIBSSH4c83d19c4865: auth: Fix memory leak in ssh_userauth_publickey_auto() (authored by ansasaki).
auth: Fix memory leak in ssh_userauth_publickey_auto()
Sun, Mar 29, 10:02 AM

Fri, Mar 27

asn committed rLIBSSH46c54e5ddb36: doc: Fix a doxygen warning (authored by asn).
doc: Fix a doxygen warning
Fri, Mar 27, 1:27 PM
asn committed rLIBSSHbbfce454de4b: doc: Make sure we parse the server and sftp documentation (authored by asn).
doc: Make sure we parse the server and sftp documentation
Fri, Mar 27, 1:26 PM
asn committed rLIBSSHfe1fe4961772: doc: Make sure we parse the server and sftp documentation (authored by asn).
doc: Make sure we parse the server and sftp documentation
Fri, Mar 27, 1:26 PM
asn committed rLIBSSH673bf1ff09a6: doc: Fix a doxygen warning (authored by asn).
doc: Fix a doxygen warning
Fri, Mar 27, 1:26 PM
asn committed rLIBSSH316f46f8332c: doc: Add SSH auth callback to libssh_auth doc group (authored by asn).
doc: Add SSH auth callback to libssh_auth doc group
Fri, Mar 27, 1:26 PM

Tue, Mar 24

StefanBruens added a comment to T219: Parsing of SUBSECOND_TIMES wrong.

https://github.com/libssh/libssh-mirror/compare/master...StefanBruens:t219_subsecond_timestamps?expand=1

Tue, Mar 24, 6:15 PM

Mon, Mar 23

asn closed T217: Allow specifying password callback in ssh_userauth_publickey_auto as Resolved by committing rLIBSSH3e5dc9919827: doc: Add SSH auth callback to libssh_auth doc group.
Mon, Mar 23, 3:27 PM · Restricted Project
asn committed rLIBSSH3e5dc9919827: doc: Add SSH auth callback to libssh_auth doc group (authored by asn).
doc: Add SSH auth callback to libssh_auth doc group
Mon, Mar 23, 3:27 PM
asn triaged T217: Allow specifying password callback in ssh_userauth_publickey_auto as Normal priority.
Mon, Mar 23, 10:47 AM · Restricted Project
asn added a comment to T217: Allow specifying password callback in ssh_userauth_publickey_auto.

See https://gitlab.com/libssh/libssh-mirror/-/blob/master/include/libssh/libssh.h#L639

Mon, Mar 23, 10:46 AM · Restricted Project
asn claimed T217: Allow specifying password callback in ssh_userauth_publickey_auto.
Mon, Mar 23, 10:46 AM · Restricted Project
asn added a project to T217: Allow specifying password callback in ssh_userauth_publickey_auto: Restricted Project.
Mon, Mar 23, 10:27 AM · Restricted Project

Sun, Mar 22

sganis created T221: Access violation crash in static build in windows.
Sun, Mar 22, 2:35 PM

Sat, Mar 21

DDoSolitary added a comment to T27: Windows: Support for Pageant.

For those who're interested, I wrote a new patch from scratch which is based on the latest 0.9.3 release.

Sat, Mar 21, 9:07 AM · Restricted Project

Mon, Mar 16

Karimerto created T220: Opening sftp fails in non-blocking mode.
Mon, Mar 16, 3:36 PM · Restricted Project

Mar 7 2020

keilhauiteecce added a comment to rLIBSSHe2c5f5c7d19d: tests: Use correct assert function for ssh return codes.

Use correct assert function for ssh return codes, Some of these codes are below in the page. When and from where you want to need help you can easily get it, And we show you some simple methods which are important for best assignment writing service learning and also for getting experience.

Mar 7 2020, 2:24 PM

Mar 5 2020

StefanBruens created T219: Parsing of SUBSECOND_TIMES wrong.
Mar 5 2020, 11:00 PM

Feb 26 2020

keilhauiteecce added a comment to rLIBSSHc4ec92f3750d: channels: Don't read from a closed channel.

Don't read from a closed channel because you don't have effect to share all which they are trying to show. I make a perfect mean and that was only where you demand for https://www.rushessay.com/buy-custom-essay.php. I have more things because effect of these things are ever on all others things which you have to take.

Feb 26 2020, 12:33 PM

Feb 25 2020

ansasaki committed rLIBSSH89194e0d3ae3: tests: Do not leave temporary SFTP directory (authored by ansasaki).
tests: Do not leave temporary SFTP directory
Feb 25 2020, 5:08 PM
ansasaki committed rLIBSSHc5fa08a2a49e: tests: Close SFTP file opened during rekey tests (authored by ansasaki).
tests: Close SFTP file opened during rekey tests
Feb 25 2020, 5:08 PM
ansasaki committed rLIBSSHc8222dc1f646: tests: Verify error returned by kill (authored by ansasaki).
tests: Verify error returned by kill
Feb 25 2020, 5:08 PM
ansasaki committed rLIBSSH35224092ebd4: tests: Use a common function to start sshd (authored by ansasaki).
tests: Use a common function to start sshd
Feb 25 2020, 5:08 PM

Feb 22 2020

Normaall added a comment to rLIBSSHc4ec92f3750d: channels: Don't read from a closed channel.
Feb 22 2020, 10:28 AM

Feb 18 2020

Jakuje closed T214: pki_key_ecdsa_to_key_type helpers use thread-unsafe static local as Resolved.

The above commits from @simonsj fixed this issue.

Feb 18 2020, 12:53 PM

Feb 14 2020

asn created T218: Disable ssh-rsa (sha1) keys by default.
Feb 14 2020, 12:43 PM · Restricted Project

Feb 13 2020

syyyr created T217: Allow specifying password callback in ssh_userauth_publickey_auto.
Feb 13 2020, 3:12 PM · Restricted Project
Jakuje added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

Thank you for confirmation that this combination works. But lets clarify what you do -- you are sending every X minutes the ignore or keepalive messages to keep the channel open, but even though you are getting disconnects after 30 minutes. I do not think this is anything in libssh. What are you running in the channels? Port forwarding? Some long-running commands transmitting or not transmitting data? Shells? How does this disconnect look like? Could it be the default value of $TMOUT in bash? Or something on the network layer terminating long-running connections?

Feb 13 2020, 1:56 PM · Restricted Project
Vishalearnz added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

Thanks Jakuje , Although I am able to use the above two api's to get the status of the connection.
But even after that there is a hard reset which causes the session to be terminated after 30 mins , even though keep alive is being sent.

Feb 13 2020, 10:34 AM · Restricted Project

Feb 12 2020

asn committed rLIBSSH9fcb55930150: pki: Fix memory leak of blob on error (authored by asn).
pki: Fix memory leak of blob on error
Feb 12 2020, 10:15 AM
asn committed rLIBSSH0ece6e52aaa6: pki: Use SSH_BUFFER_FREE() in ssh_pki_signature_verify() (authored by asn).
pki: Use SSH_BUFFER_FREE() in ssh_pki_signature_verify()
Feb 12 2020, 10:15 AM
asn committed rLIBSSHa9e39a41ffb5: pki: Small code cleanup in ssh_pki_signature_verify() (authored by asn).
pki: Small code cleanup in ssh_pki_signature_verify()
Feb 12 2020, 10:15 AM
asn committed rLIBSSHf208e4b332e2: pki: Add missing return check for ssh_buffer_pack() (authored by asn).
pki: Add missing return check for ssh_buffer_pack()
Feb 12 2020, 10:15 AM
asn committed rLIBSSH8542f675f43f: sftp: Replace PRIdS with ANSI C99 %zu (authored by asn).
sftp: Replace PRIdS with ANSI C99 %zu
Feb 12 2020, 9:41 AM
asn committed rLIBSSHfaedadf2eb4b: packet: Replace PRIdS with ANSI C99 %zu (authored by asn).
packet: Replace PRIdS with ANSI C99 %zu
Feb 12 2020, 9:41 AM
asn committed rLIBSSH875b2a5b5919: include: Remove PRIdS definitions (authored by asn).
include: Remove PRIdS definitions
Feb 12 2020, 9:41 AM
asn committed rLIBSSH702e7e4c85da: channels: Replace PRIdS with ANSI C99 %zu (authored by asn).
channels: Replace PRIdS with ANSI C99 %zu
Feb 12 2020, 9:41 AM
fedorskvorcov closed T216: libssh 0.9.3 "DLLMain: ssh_init failed!" on Windows 10 (vcpkg) as Resolved.
Feb 12 2020, 7:25 AM · Restricted Project
fedorskvorcov added a comment to T216: libssh 0.9.3 "DLLMain: ssh_init failed!" on Windows 10 (vcpkg).

Hello! Thank you a lot! You are absolutely right, idiotsandopensource and ansasaki! The problem is with mbedtls.lib. So need to wait when it will be fixed ^3^

Feb 12 2020, 7:23 AM · Restricted Project

Feb 11 2020

idiotsandopensource added a comment to T216: libssh 0.9.3 "DLLMain: ssh_init failed!" on Windows 10 (vcpkg).

This is not libssh's fault. Yesterday vcpkg master changed and new master branch is broken. Only reason I know this because I was setting up vcpkg with another programmer and called it a day. Next morning I get a it no work and all our automated builds broke.

Feb 11 2020, 10:13 PM · Restricted Project
idiotsandopensource added a comment to T216: libssh 0.9.3 "DLLMain: ssh_init failed!" on Windows 10 (vcpkg).

This is caused by a idiot programmer and I swear it must have happened in 48 hour window because THIS SHIT did not happen. I went to vcpkg to not have to explain open source stupid shit to other engineers that don't need to know about cmake pearl and other stupid shit.

Feb 11 2020, 9:39 PM · Restricted Project
fedorskvorcov added a comment to T216: libssh 0.9.3 "DLLMain: ssh_init failed!" on Windows 10 (vcpkg).

I just use default package which coming from vcpkg. By default it's coming with mbedtls => so it's mbedcrypto.lib.
I don't use any flags cause I think that default package should work.

Feb 11 2020, 8:01 PM · Restricted Project
ansasaki added a comment to T216: libssh 0.9.3 "DLLMain: ssh_init failed!" on Windows 10 (vcpkg).

This is probably caused by the lack of threading support in the crypto library.

Feb 11 2020, 7:53 PM · Restricted Project
ansasaki committed rLIBSSH73f383a2e6d6: doc: Documents PKCS #11 URI support for libssh (authored by Sahana Prasad <sahana@redhat.com>).
doc: Documents PKCS #11 URI support for libssh
Feb 11 2020, 2:27 PM
ansasaki committed rLIBSSH862b2341d714: src: updates documentation incorporate PKCS#11 URIs in import functions. (authored by Sahana Prasad <sahana@redhat.com>).
src: updates documentation incorporate PKCS#11 URIs in import functions.
Feb 11 2020, 2:27 PM
fedorskvorcov created T216: libssh 0.9.3 "DLLMain: ssh_init failed!" on Windows 10 (vcpkg).
Feb 11 2020, 1:33 PM · Restricted Project
Jakuje committed rLIBSSH0dd71375e7fe: pki: fix `pki_key_ecdsa_to_key_type` thread-safety (authored by simonsj).
pki: fix `pki_key_ecdsa_to_key_type` thread-safety
Feb 11 2020, 10:45 AM
Jakuje committed rLIBSSH3664ba2800ea: pki: fix `pki_key_ecdsa_to_key_type` thread-safety (authored by simonsj).
pki: fix `pki_key_ecdsa_to_key_type` thread-safety
Feb 11 2020, 10:45 AM
Jakuje committed rLIBSSH17b518a677c9: pki: add support for sk-ecdsa and sk-ed25519 (authored by Sebastian Kinne <skinne@google.com>).
pki: add support for sk-ecdsa and sk-ed25519
Feb 11 2020, 10:45 AM
Jakuje triaged T215: Implement client side support for u2f keys (including tests) as Normal priority.
Feb 11 2020, 10:44 AM · Restricted Project
simonsj added a comment to T214: pki_key_ecdsa_to_key_type helpers use thread-unsafe static local.

I've proposed https://gitlab.com/libssh/libssh-mirror/-/merge_requests/93 for fixing this by removing the static from those variables.

Feb 11 2020, 10:44 AM
simonsj created T214: pki_key_ecdsa_to_key_type helpers use thread-unsafe static local.
Feb 11 2020, 10:44 AM
Jakuje added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

I am sorry for a delay.

Feb 11 2020, 10:44 AM · Restricted Project

Jan 30 2020

asn committed rLIBSSH30d03498b46c: gitlab-ci: Improve setting Fedora to FIPS mode (authored by asn).
gitlab-ci: Improve setting Fedora to FIPS mode
Jan 30 2020, 10:57 AM
Vishalearnz added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

In my scenario I need to handle the response i.e if for a keepalive request I donot get a correct response . I need to terminate the session .
But going by what you wrote above " no explicit action should be needed from the calling program" , I am understanding that ssh_send_keepalive() internally calls the following sequence ssh_global_request()-> ssh_handle_packets_termination()->ssh_handle_packets() .
But I need to capture the response which ssh_send_keepalive() doesnot provide me any means to get it.
Also all the other api's like
ssh_global_request(), ssh_handle_packets_termination(), ssh_handle_packets() are not exposed to external world so I cant use it inside my code.

Jan 30 2020, 7:45 AM · Restricted Project

Jan 29 2020

Jakuje added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

Hi @Jakuje ,
ssh_handle_packets() is not an exposed api .

Jan 29 2020, 1:13 PM · Restricted Project
Vishalearnz added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

ssh_handle_packets() is not an exposed api . I am unable to use it , also this macro(SSH_MSG_REQUEST_FAILURE) I cant find in the codebase of libssh . So what should I use ?

Jan 29 2020, 12:30 PM · Restricted Project
Jakuje added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

Hi,
the ssh_send_keepalive() does really only the sending. But the return value is ignored since 59ada799. But if the sending failed, the session state should be modified to reflect this if I am right. The response is handled as any other message in ssh_handle_packets() if I am right. The response is anyway SSH_MSG_REQUEST_FAILURE.

Jan 29 2020, 11:11 AM · Restricted Project
Vishalearnz added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

I tried using ssh_send_keepalive() but it doesnot serve the purpose . Here I was monitoring the return value of the function (ssh_send_keepalive) .
I first started client and server . In my scenario server shall initiate the connection which it did and this keep alive function was set to send every 30 sec . for which the ssh_send_keepalive() was returning SSH_OK.
But when I killed the client . It was expected that the ssh_send_keepalive() should send back SSH_ERROR but instead it kept on sending back SSH_OK . This means this api is only sending the message but not monitoring the response.
I also checked in libssh code the above function always sends SSH_OK irrespective of any condition , it internally calls ssh_global_request() which is not an exposed API , so I cant use it to check.

Jan 29 2020, 9:49 AM · Restricted Project

Jan 28 2020

Jakuje added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

Please, check the RFC 4253 describing this message: https://tools.ietf.org/html/rfc4253#section-11.2

Jan 28 2020, 9:14 PM · Restricted Project
Vishalearnz added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

Just one query .
If we are using ssh_send_ignore . Do we get response from the client for the same ?
(Because as I understand correctly .
The ssh_send_ignore returns SSH_OK if sent successfully else error. It doesnot states
if client has received it and responded.)

Jan 28 2020, 8:25 AM · Restricted Project

Jan 27 2020

Jakuje triaged T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0 as Wishlist priority.
Jan 27 2020, 11:50 AM · Restricted Project
Vishalearnz added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

Thanks a lot @Jakuje .
I tried as per your recommendation and it works for me.

Jan 27 2020, 11:04 AM · Restricted Project

Jan 23 2020

asn reassigned T2: allow external io from aris to ansasaki.
Jan 23 2020, 1:58 PM · Restricted Project
jktjkt added a comment to T211: Regression introduced in commit e0e3636c60dd28fd358e47da2be132702ff8edc9 breaks libnetconf2.

Thanks, commit 9a10cef92086d3b22fa4acd9999cf908b7fa7e48 works.

Jan 23 2020, 12:19 PM
Jakuje added a comment to T212: ServerAliveInterval & ClientAliveInterval not present in libssh version 0.9.0.

One other possibility that could work would be TCPKeepAlive configuration option (from OpenSSH), which could handle this on TCP level (but might not work on all the networks configurations). So still, the first advice holds.

Jan 23 2020, 11:38 AM · Restricted Project
asn added a comment to T211: Regression introduced in commit e0e3636c60dd28fd358e47da2be132702ff8edc9 breaks libnetconf2.

Thank you very much for tracking this down. Could you please test the latest stable-0.9 branch which includes a fix for this?

Jan 23 2020, 11:05 AM
asn committed rLIBSSH9a10cef92086: channels: Fix ssh_channel_poll_timeout() not returing available bytes (authored by asn).
channels: Fix ssh_channel_poll_timeout() not returing available bytes
Jan 23 2020, 11:04 AM
asn committed rLIBSSH022409e99c9f: channels: Fix ssh_channel_poll_timeout() not returing available bytes (authored by asn).
channels: Fix ssh_channel_poll_timeout() not returing available bytes
Jan 23 2020, 11:04 AM