Re: Problem building 0.8.0 with VS 2015

2018-08-13 Thread Andreas Schneider
On Monday, 13 August 2018 19:20:56 CEST John Dunn wrote: > On Monday, August 13, 2018 11:03 AM Andreas Schneider wrote: > > Can you share CMakeFiles/CMakeError.log > > I've attached CMakeError.log and CMakeOuput.log. I'm use VS 2015 if that > matters. This should fix it: http

Re: Problem building 0.8.0 with VS 2015

2018-08-13 Thread Andreas Schneider
ned about DllMain() however I haven't tested it. Could you check if it works? The code is here: https://git.libssh.org/users/asn/libssh.git/log/?h=master-constructor I will release libssh 0.8.1 soon. Thanks! Andreas -- Andreas Schneider

libssh-0.8.0

2018-08-10 Thread Andreas Schneider
[5] http://api.libssh.org/stable/libssh_tutorial.html [6] https://www.libssh.org/communication/ [7] #libssh @ irc.freenode.net [8] https://www.libssh.org/files/0.8/ -- Andreas Schneider a...@cryptomilk.org GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

libssh-0.8.0rc1

2018-08-08 Thread Andreas Schneider
who contributed! Please test if possible. Cheers, Andreas -- Andreas Schneider a...@cryptomilk.org GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

Re: Libssh issue when connecting Netopeer2 to ONOS controller

2018-08-07 Thread Andreas Schneider
s attached. This should be fixed with libssh 0.8.0 which will be released probably this Friday. Andreas -- Andreas Schneider a...@cryptomilk.org GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

Re: Transfer a file from a remote to another one

2018-08-03 Thread Andreas Schneider
re is no real FXP support in sftp. Andreas -- Andreas Schneider a...@cryptomilk.org GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

Re: RSA signatures with SHA2 (RFC 8332 and RFC 8308) (Was: (Client side) RSA signatures with SHA2 (RFC 8332 and RFC 8308))

2018-08-02 Thread Andreas Schneider
On Wednesday, 1 August 2018 18:26:34 CEST Andreas Schneider wrote: > On Thursday, 26 July 2018 17:45:12 CEST Jakub Jelen wrote: > > Hello, > > Hi Jakub, > > > the current patch-set provides also the server side implementation of > > the SHA2 extension, which is tes

Re: RSA signatures with SHA2 (RFC 8332 and RFC 8308) (Was: (Client side) RSA signatures with SHA2 (RFC 8332 and RFC 8308))

2018-08-01 Thread Andreas Schneider
On Thursday, 26 July 2018 17:45:12 CEST Jakub Jelen wrote: > Hello, Hi Jakub, > the current patch-set provides also the server side implementation of > the SHA2 extension, which is tested with current tests against OpenSSH. > > There are few partially related changes, such as follow up on SSH1

Re: [PATCH v2 0/1] RFC: add ssh_buffer_ensure_allocated

2018-07-06 Thread Andreas Schneider
interate once more at the beginning to determine the amount > of data that will be added. There is a new ssh_buffer_allocate() which seems to implement the same. Andreas -- Andreas Schneider a...@cryptomilk.org GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

Where is Andreas?

2018-07-06 Thread Andreas Schneider
Hi, tomorrow I will leave for a three week vacation. I will be remote and not reachable at all. We are near a libssh 0.8 release, the plan is end of August! Cheers, Andreas -- Andreas Schneider a...@cryptomilk.org GPG-ID

Re: possible issue with bsd_poll() on Windows

2018-07-06 Thread Andreas Schneider
NNREFUSED) for WSAECONNREFUSED and return -1. To contribute a patch, see the SubmittingPatches document in the git repo :-) > On a related note, is reporting this via the email list the best way or > should I submit a bug to https://bugs.libssh.org/? Both work fine. Cheers

Re: ssh_options_parse_config by default

2018-07-04 Thread Andreas Schneider
ing it should have one. Aris or Jon, how should we deal with that on the server side? Any thoughts? Cheers, Andreas -- Andreas Schneider a...@cryptomilk.org GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

Re: Review of SSH1 code removal

2018-07-02 Thread Andreas Schneider
On Monday, 2 July 2018 13:11:04 CEST Jakub Jelen wrote: > torture_pki_rsa_generate_key1 I don't find torture_pki_rsa_generate_key1. Check out libssh master :-) Andreas -- Andreas Schneider a...@cryptomilk.org GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

Re: (Client side) RSA signatures with SHA2 (RFC 8332 and RFC 8308)

2018-06-29 Thread Andreas Schneider
gure with: -DWITH_SERVER=ON -DSERVER_TESTING=ON > > I tested against current OpenSSH 7.7p1 in Fedora and with all of the > openssl, libgcrypt and mbedtls and all the tests are passing. > > [1] https://tools.ietf.org/html/rfc8332#section-2 Great work so far! Thanks. -- Andreas Schneider a...@cryptomilk.org GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

Re: Patch: add curve25519-sha256 alias (was: Removing DSS and other unreasonable algorithms)

2018-06-29 Thread Andreas Schneider
trouble getting the client tests to work. There was no hint > in the docs that WITH_CLIENT_TESTING needs to be enabled and that some > wrapper libraries are required to get them to work. I added a paragraph > to the INSTALL file and also updated all links therein. Reviewed and pushed. Thanks

Re: Libssh Python bindings

2018-06-29 Thread Andreas Schneider
t not all parts of libssh are fully usable in non-blocking > mode, particularly connect and scp. Expect some patches where issues are > found in future. > Relatedly, there is a patch for ssh_connect timing out in non-blocking mode > that was reported a while back on this list, an issue I

Re: Review of SSH1 code removal

2018-06-29 Thread Andreas Schneider
On Friday, 29 June 2018 11:27:11 CEST Jakub Jelen wrote: > On Fri, 2018-06-29 at 10:09 +0200, Andreas Schneider wrote: > > On Friday, 29 June 2018 09:41:25 CEST Jakub Jelen wrote: > > > Changeset: > > > https://git.libssh.org/users/asn/libssh.git/commit/?h=ma

Re: Review of SSH1 code removal

2018-06-29 Thread Andreas Schneider
and return an error. I've pushed an update to the branch. Could you take another look? Thanks! Andreas -- Andreas Schneider a...@cryptomilk.org GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

Re: [PATCH] gitlab: run tests built for Windows using wine

2018-06-27 Thread Andreas Schneider
l Windows :-) Andreas -- Andreas Schneider a...@cryptomilk.org GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

Roadmap to libssh 0.8

2018-06-27 Thread Andreas Schneider
. TODO for 0.8: * Add features mentioned above * Remove SSHv1 support * Disable blowfish-cbc by default * Disable ssh-dsa by default Thanks to all contributors so far. You're amazing! Andreas -- Andreas Schneider a...@cryptomilk.org GPG-ID

Re: [PATCH] gitlab: run tests built for Windows using wine

2018-06-27 Thread Andreas Schneider
On Wednesday, 27 June 2018 16:07:40 CEST Anderson Sasaki wrote: > Hello, Hello, > Follow attached patches to run the unit tests for Windows builds using wine. pushed, thanks. Andreas -- Andreas Schneider a...@cryptomilk.org

Re: How to use Kex diffie-hellman-group-exchange-sha256 ?

2018-06-27 Thread Andreas Schneider
f curiosity, any plans to support it in the future? > > Thanks a lot again Aris looked into it some time ago: https://git.libssh.org/users/aris/libssh.git/log/?h=gex_to_polish but this needs rebasing and cleanup ... Andreas -- Andreas Schneider

Re: [PATCH] gitlab-ci: Added builds for Windows using MinGW

2018-06-25 Thread Andreas Schneider
g. Could you try to enable unit testing only? Please add the patch as an attachment. Thanks! Andreas -- Andreas Schneider a...@cryptomilk.org GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

Re: Server-side functions?

2018-06-23 Thread Andreas Schneider
On Friday, 22 June 2018 17:56:29 CEST Martin Galvan wrote: > I found an ssh_server_fork.c file which seems to have a server > example. It would still be nice to have an official guide, though. Patches to improve the documentation are always welcome :-) Thanks, Andreas

Re: Removing DSS and other unreasonable algorithms (Was: Missing signed-off for pkg chacha20 patches)

2018-06-22 Thread Andreas Schneider
On Friday, 22 June 2018 12:36:12 CEST Tilo Eckert wrote: > Am 20.06.2018 um 15:12 schrieb Andreas Schneider: > > On Tuesday, 19 June 2018 16:35:49 CEST Jakub Jelen wrote: > >> On Thu, 2018-06-14 at 16:03 +0200, Andreas Schneider wrote: > >>> [...] > >>>

Re: Bug in ed25519 implementation

2018-06-21 Thread Andreas Schneider
cation > failed. > > The issue is the global variable at include/libssh/ge25519.h:31 Thanks for catching this. Fix pushed to master. We are getting closer to a libssh 0.8 release. If possible please test the master branch! Thanks. Andreas -- Andreas Schneider a.

Re: Missing signed-off for pkg chacha20 patches

2018-06-20 Thread Andreas Schneider
however now it doesn't seem to work at all. I've created a branch with just the pkd changes. I would like to get that in first, then push the chacha20 stuff. Could you please look into: https://git.libssh.org/users/asn/libssh.git/log/?h=master-pkd 378 FAILED TEST(S) Thanks! Andreas

Re: Missing signed-off for pkg chacha20 patches

2018-06-20 Thread Andreas Schneider
On Wednesday, 20 June 2018 20:19:57 CEST Jon Simons wrote: > On 6/20/18 8:49 AM, Andreas Schneider wrote:> I'm having OpenSSH 7.7 and it > looks like blowfish_cbc support has been removed > > in OpenSSH 7.6. > > ... > > > We either need to remove it or disable the

Re: Missing signed-off for pkg chacha20 patches

2018-06-20 Thread Andreas Schneider
n cipher type 'blowfish-cbc' https://www.openssh.com/releasenotes.html * ssh(1)/sshd(8): remove support for the arcfour, blowfish and CAST ciphers. We either need to remove it or disable the tests if ssh version is >= 7.6. Andreas -- Andreas Schneider GPG-I

Re: Removing DSS and other unreasonable algorithms (Was: Missing signed-off for pkg chacha20 patches)

2018-06-20 Thread Andreas Schneider
On Tuesday, 19 June 2018 16:35:49 CEST Jakub Jelen wrote: > On Thu, 2018-06-14 at 16:03 +0200, Andreas Schneider wrote: > > [...] > > > > Looks like openssh removed support for ssh-dss. At least my openssh > > 7.7 > > doesn't know about it at all. > >

Re: Missing signed-off for pkg chacha20 patches

2018-06-14 Thread Andreas Schneider
On Thursday, 14 June 2018 16:06:20 CEST Andreas Schneider wrote: > On Thursday, 14 June 2018 16:03:29 CEST Andreas Schneider wrote: > > On Wednesday, 13 June 2018 16:35:16 CEST Andreas Schneider wrote: > > > On Saturday, 9 June 2018 01:58:57 CEST Jon Simons wrote: > &g

Re: Missing signed-off for pkg chacha20 patches

2018-06-14 Thread Andreas Schneider
On Thursday, 14 June 2018 16:03:29 CEST Andreas Schneider wrote: > On Wednesday, 13 June 2018 16:35:16 CEST Andreas Schneider wrote: > > On Saturday, 9 June 2018 01:58:57 CEST Jon Simons wrote: > > > On 6/8/18 7:09 AM, Andreas Schneider wrote: > > > > I'm currentl

Re: Missing signed-off for pkg chacha20 patches

2018-06-14 Thread Andreas Schneider
On Wednesday, 13 June 2018 16:35:16 CEST Andreas Schneider wrote: > On Saturday, 9 June 2018 01:58:57 CEST Jon Simons wrote: > > On 6/8/18 7:09 AM, Andreas Schneider wrote: > > > I'm currently working on chacha20 to merge Aris his work. There are two > > > pkd > &g

Re: Missing signed-off for pkg chacha20 patches

2018-06-14 Thread Andreas Schneider
On Wednesday, 13 June 2018 15:58:23 CEST Andreas Schneider wrote: > torture_algorithms_chacha20_poly1305 segfaults on fedora 28. However if I > run the test with valgrind the output doesn't really make sense. FIXED :-) > ==3034== Invalid read of size 8 > ==3034==

Re: Missing signed-off for pkg chacha20 patches

2018-06-13 Thread Andreas Schneider
On Saturday, 9 June 2018 01:58:57 CEST Jon Simons wrote: > On 6/8/18 7:09 AM, Andreas Schneider wrote: > > I'm currently working on chacha20 to merge Aris his work. There are two > > pkd > > patches from you which don't have a Signed-off-by tag from you. > > &

Re: Missing signed-off for pkg chacha20 patches

2018-06-13 Thread Andreas Schneider
On Saturday, 9 June 2018 01:58:57 CEST Jon Simons wrote: > On 6/8/18 7:09 AM, Andreas Schneider wrote: > > I'm currently working on chacha20 to merge Aris his work. There are two > > pkd > > patches from you which don't have a Signed-off-by tag from you. > > &

[PATCH] Implement "no-more-sess...@openssh.com" in the server

2018-06-12 Thread Andreas Schneider
connection. So I've implemented it. However I don't have the time to test it right now. I'm posting it here, if someone is interested in it. OpenSSH is normally sending it. Review much appreciated! Thanks, Andreas>From 0189ab3e6549b902791b95f5e15b5c9e481e3f7c Mon Sep 17 00:00:00 2001

Re: Missing signed-off for pkg chacha20 patches

2018-06-09 Thread Andreas Schneider
On Saturday, 9 June 2018 01:58:57 CEST Jon Simons wrote: > On 6/8/18 7:09 AM, Andreas Schneider wrote: > > I'm currently working on chacha20 to merge Aris his work. There are two > > pkd > > patches from you which don't have a Signed-off-by tag from you. > > &

Missing signed-off for pkg chacha20 patches

2018-06-08 Thread Andreas Schneider
, Andreas>From 22c4fbb136fa315cdcbae762a0488af310231517 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 28 Feb 2018 10:24:51 -0600 Subject: [PATCH 01/12] external: Add ChaCha and Poly1305 implementations from OpenSSH Signed-off-by: Aris Adamantiadis Reviewed-by: Andreas Schnei

Re: Keeping an idle libssh session open over time

2018-05-23 Thread Andreas Schneider
ve/libssh/ -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: Help with OpenSSH Keep Alive

2018-04-24 Thread Andreas Schneider
sing the polling context mechanism? We just had this question a few days ago (April 9th). https://www.libssh.org/archive/libssh/2018-04/001.html I'm still hoping someone will improve the docs :-) (hint) Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: undefined sanitizer [was: fixes for running on centos7 under docker]

2018-04-18 Thread Andreas Schneider
On Wednesday, 18 April 2018 09:38:24 CEST Nikos Mavrogiannopoulos wrote: > On Tue, 2018-04-17 at 18:02 +0200, Andreas Schneider wrote: > > On Friday, 13 April 2018 10:53:12 CEST Nikos Mavrogiannopoulos wrote: > > > Hi, > > > > Hi Nikos, > > > > &

Re: fixes for running on centos7 under docker

2018-04-17 Thread Andreas Schneider
On Friday, 13 April 2018 10:53:12 CEST Nikos Mavrogiannopoulos wrote: > Hi, Hi Nikos, > These small fixes are needed for running the testsuite under docker > and under centos7. Thank you very much for your contributions. I've pushed it to master. Andreas -- Andreas

Re: Channel opening failure: channel 53 error (1) open failed

2018-04-17 Thread Andreas Schneider
ch is a really broken protocol). You should use sftp which we support. Cheers, Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: Working on keepalive messages while waiting for local connection

2018-04-16 Thread Andreas Schneider
On Saturday, 14 April 2018 18:35:10 CEST g4-l...@tonarchiv.ch wrote: > On 14.04.2018 17:58, Andreas Schneider wrote: > > On Saturday, 14 April 2018 15:55:20 CEST g4-l...@tonarchiv.ch wrote: > >> On 11.04.2018 18:09, g4-l...@tonarchiv.ch wrote: > >>> On 11.04.2018

Re: Working on keepalive messages while waiting for local connection

2018-04-14 Thread Andreas Schneider
On Saturday, 14 April 2018 15:55:20 CEST g4-l...@tonarchiv.ch wrote: > On 11.04.2018 18:09, g4-l...@tonarchiv.ch wrote: > > On 11.04.2018 17:31, Andreas Schneider wrote: > >> ould appreciate a lot if someone could show me some sample code. > >> I think that ssh

Re: Working on keepalive messages while waiting for local connection

2018-04-11 Thread Andreas Schneider
ack. Don't use ssh_select() In master we have the new connector API which is easier to use, see https://git.libssh.org/projects/libssh.git/tree/examples/ssh_client.c -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: [PATCH] Fix ssh_event_add_session() when session socket has two pollhandlers

2018-04-10 Thread Andreas Schneider
shed it with some comments reformatting. Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: [PATCH] channels: add ssh_channel_request_send_break to support RFC 4335

2018-04-10 Thread Andreas Schneider
e file isn't > following the standard - let me know if you prefer file consistency over > compliance. everything is fine as it it. Pushed to master. Thanks for your contribution! Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: [PATCH] Add a NODELAY option

2018-03-21 Thread Andreas Schneider
On Tuesday, 20 March 2018 17:42:45 CET Alberto Aguirre wrote: > Add a new option SSH_OPTIONS_NODELAY to enable or disable the > Nagle Algorithm (TCP_NODELAY) on the session socket. Thanks, pushed upstream.

Re: [PATCH] Add a NODELAY option

2018-03-16 Thread Andreas Schneider
ype); return -1; > diff --git a/src/session.c b/src/session.c > index 1c03b62b..deaa1ae1 100644 > --- a/src/session.c > +++ b/src/session.c > @@ -107,6 +107,7 @@ ssh_session ssh_new(void) { > session->opts.fd = -1; > session->opts.ssh2 = 1; > session->opts.compressionlevel=7; > +session->opts.nodelay = 0; > #ifdef WITH_SSH1 > session->opts.ssh1 = 1; > #else -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: [PATCH] Introduce symbol versioning

2018-03-12 Thread Andreas Schneider
/heads/master It could be possible to achieve that using cmake scripts. If the cmake lang is too limiting it could be done with python. Best regards, Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: [PATCH] connector: Check for POLLHUP on in_fd

2018-03-07 Thread Andreas Schneider
uk/rjk/tech/poll.html) > > Without checking POLLHUP, a client could spin up indefinetely > doing ssh_event_dopoll. I've pushed both connector patches to master. Thanks! -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: [PATCH] Add mbedTLS ECDSA key comparison support

2018-03-07 Thread Andreas Schneider
On Thursday, 22 February 2018 15:56:05 CET Juraj Vijtiuk wrote: > Hello, > > below is a patch that adds support for mbedTLS ECDSA key comparison. > The patch passes all the tests and valgrind detects no memory leaks when > running the tests. Thanks, pushed to master! -- An

Re: Copying empty files with scp

2018-02-02 Thread Andreas Schneider
On Friday, 2 February 2018 16:13:33 CET Jeroen Ooms wrote: > It is unclear from the documentation how to proceed with > SSH_SCP_REQUEST_NEWFILE when ssh_scp_request_get_size() returns 0, i.e > downloading an empty file. > > From trial and error I found that the client has to call >

Re: [PATCH] Set channel as bound when accepting channel open request

2018-02-01 Thread Andreas Schneider
ary. Thanks, Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: version master branch

2018-01-29 Thread Andreas Schneider
On Monday, 29 January 2018 17:57:08 CET Andrey Seredin wrote: > Dear all! > Briefly: version of the master brunch is 0.7.0 - is it normal?In detail: I've bumped the version to 0.7.90 for you :-) Release hopefully in February. Andreas -- Andreas Schneider

Re: Trying to debug segfault

2018-01-26 Thread Andreas Schneider
> 140736884427952, > polls_used = 0, chunk_size = 20} > > So pollfds is obviously not a valid pointer here. break at the return of ssh_poll_ctx_new() and set a write watchpoint on the ctx pointer. -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: Trying to debug segfault

2018-01-26 Thread Andreas Schneider
t is being freed ... Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

torture_rand segfaults with mbedtls

2018-01-10 Thread Andreas Schneider
Hi Juraj, torture_rand segfaults with mbedtls. Could you please investigate? Thanks! Backtrace: (gdb) bt #0 0x7706b33a in mbedtls_aesni_crypt_ecb (ctx=ctx@entry=0x68e068 , mode=mode@entry=1, input=input@entry=0x68e040 "",

gcrypt segfaults with ecdsa NIST P-384

2018-01-10 Thread Andreas Schneider
Hi Justus, torgure_algorithms currently segfaults built with gcrypt. ecdsa 256p works, 384p segfaults and 521p hangs. gcrypt is 1.8.1-3.fc27 Could you please investigate? Here is the backtrace: Program received signal SIGSEGV, Segmentation fault.

Re: Passphrase not working for ssh_pki_export_privkey_file

2018-01-04 Thread Andreas Schneider
On Sunday, 8 February 2015 11:17:39 CET Julian Lunz wrote: > On Fri, 06 Feb 2015 09:35:56 +0100 > > Andreas Schneider <a...@cryptomilk.org> wrote: > > On Thursday 05 February 2015 16:21:03 Julian Lunz wrote: > > > I had time to dig a bit further. > > > &g

Re: [PATCH] config: Parse KexAlgorithms, MACs, improve Include

2017-12-21 Thread Andreas Schneider
On Thursday, 30 November 2017 08:51:06 CET Andreas Schneider wrote: > On Thursday, 23 November 2017 14:35:05 CET Jakub Jelen wrote: > > On Tue, 2017-11-07 at 14:28 +0100, Jakub Jelen wrote: > > > Hello, > > > the attached patch contains a series of

Re: [PATCH] tests: Do not test blowfish ciphers with OpenSSH 7.6 and newer

2017-12-21 Thread Andreas Schneider
ersion. Pushed upstream, thanks! -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: Multi-threading

2017-12-20 Thread Andreas Schneider
On Wednesday, 20 December 2017 11:55:04 CET Nikos Mavrogiannopoulos wrote: > On Wed, 2017-12-20 at 10:38 +0100, Andreas Schneider wrote: > > On Tuesday, 12 December 2017 01:25:58 CET Ахриев Альберт wrote: > > > Dear All, > > > > > > As a newcomer I am strugg

Re: Multi-threading

2017-12-20 Thread Andreas Schneider
h session, which runs completely independently from other > instances, is that enough to guarantee thread-safety? In other words, are > the state variables of each session really independent? No, that's not enough see: http://api.libssh.org/master/libssh_tutor_threads.html And

Re: Fwd: Ho to build libssh 0.7.2 for Windows

2017-11-29 Thread Andreas Schneider
On Tuesday, 21 November 2017 02:53:02 CET Alex Marmer wrote: > Hi, > > I would like to find out - in order to build libssh 0.7.2 (ssh.lib and > ssh.dll) for Windows, which Microsoft VS version and which OpenSSL version > was used? VS 2012? OpenSSL 1.0 Andreas -- An

Re: [PATCH] config: Parse KexAlgorithms, MACs, improve Include

2017-11-29 Thread Andreas Schneider
passing the whole testsuite against latest > OpenSSH 7.6 server. Wow, this is awesome! Will try to review it soon. Need to do mbedtls first. Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: Checking for disconnects within ssh_auth_response_termination()?

2017-11-29 Thread Andreas Schneider
t;auth_state){ > case SSH_AUTH_STATE_NONE: > case SSH_AUTH_STATE_KBDINT_SENT: > > I am happy to submit this patch formally, but I wanted to bounce it off of > the community first. I may be overlooking something here. See any problems? > > Thank you, > > Karl -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: Fw:Re:ssh_handle_key_exchange timeout in some machine

2017-11-29 Thread Andreas Schneider
14 11:55:59.018245, 3] ssh_socket_unbuffered_write: Enabling > POLLOUT for socket [2017/10/14 11:55:59.018275, 3] packet_send2: packet: > wrote [len=28,padding=11,comp=16,payload=16] start to bindbegin to fork > > > ~~~ > > > Best Regards > Zhengjie > > > > 【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> > > > > 【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: auth_pubkry callback is only getting called with signature_state == SSH_PUBLICKEY_STATE_NONE

2017-11-29 Thread Andreas Schneider
CESS else it should be denied. It is possible that we have a bug in the auth fuctions ... Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: client testsuite with sshd privilege separation

2017-11-23 Thread Andreas Schneider
On Wednesday, 22 November 2017 15:51:24 CET Jakub Jelen wrote: > On Tue, 2017-11-21 at 15:10 +0100, Jakub Jelen wrote: > > On Mon, 2017-11-20 at 23:11 +0100, Andreas Schneider wrote: > > > On Monday, 20 November 2017 18:03:59 CET Jakub Jelen wrote: > > > > Hello a

Re: client testsuite with sshd privilege separation

2017-11-20 Thread Andreas Schneider
ing effective. I think it clears the env, so LD_PRELOAD is not set and socket_wrapper not loaded. Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: sftp_async_read_begin + uint32_t

2017-11-14 Thread Andreas Schneider
ould it make sense to try to work around that limitation in curl, or > provide a patch for libssh to handle longer than 32-bit sizes? The only thing which would make sense would be a completely new async API for sftp! Andreas -- Andreas Schneider GPG-ID: CC014E

Re: [PATCH] pki_crypto: Avoid segfault with OpenSSL 1.1.0

2017-11-08 Thread Andreas Schneider
On Wednesday, 8 November 2017 15:42:47 CET Jakub Jelen wrote: > On Tue, 2017-11-07 at 11:53 -0500, Jon Simons wrote: > > On 11/7/17 4:11 AM, Jakub Jelen wrote: > > > Hello, > > > this patch is an addition to the commit 954da14 which is trying to > > > use > > > non-deprecated functions in OpenSSL

Re: Add option to disable shared libs

2017-10-30 Thread Andreas Schneider
On Monday, 30 October 2017 01:13:51 CET Tony Theodore wrote: > > On 30 Oct 2017, at 03:03, Andreas Schneider <a...@cryptomilk.org> wrote: > > > > we support to build libssh as a static library but we do not encourage it. > > I think you know what happens when

Re: setting up an environment for cross-compiling static libssh-projects

2017-10-29 Thread Andreas Schneider
On Saturday, 28 October 2017 15:05:52 CET Daniel Brodt wrote: > Hi everybody, > I don't really know about windows cross compiling, but it seems to work just fine if you look at: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-libssh Also the Windows on KDE project

Re: Add option to disable shared libs

2017-10-29 Thread Andreas Schneider
On Sunday, 29 October 2017 02:46:01 CET Tony Theodore wrote: > Hi, > > It’s sometimes useful to separate the build of static and shared libs, > the patch below is fairly straightforward but I’ve broken it in two as > I can’t the get re-indentation to display as a single hunk. Hi, we support to

Re: [PATCH 07/11] libcrypto: get compiling with BoringSSL

2017-10-29 Thread Andreas Schneider
On Sunday, 10 September 2017 05:12:50 CET Jon Simons wrote: > With this change, libcrypto.c will compile with BoringSSL. To > get this working here's what I did: > > * Include the libcrypto-boringssl-compat shim header when building >with OPENSSL_IS_BORINGSSL. > > * Bring in a few more

Re: [PATCH 0/4] chachapoly: chacha20-poly1...@openssh.com support

2017-10-12 Thread Andreas Schneider
l it be merge to the master of the main repository ? I will try to. It would be great if you could test it and report back. Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: [PATCH 0/4] chachapoly: chacha20-poly1...@openssh.com support

2017-10-12 Thread Andreas Schneider
/git.libssh.org/users/aris/libssh.git/log/?h=chacha20 Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Vacation

2017-09-12 Thread Andreas Schneider
I will be back mid of October. Will review patches when I'm back. Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: about issue 223

2017-09-11 Thread Andreas Schneider
On Monday, 11 September 2017 18:00:47 CEST 312 wrote: > Thank you for your commit, Andreas. I am going to import libssh as dll,so I > think it's supposed to be LGPL compliant now. And I will try to contribute > somesftp server examples to the libssh repo. Thanks, but the sftp server

Pointers

2017-09-11 Thread Andreas Schneider
stolen from the Samba project ;-) We've added this in Samba after one of the last Security bugs we had ... Thanks, Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: about issue 223

2017-09-11 Thread Andreas Schneider
ok as long as you comply with the LGPL. I guess you're already doing that, right? https://bugs.libssh.org/T44 will be fixed with libssh 0.8. Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: async channel mode

2017-08-25 Thread Andreas Schneider
fore Duke Nukem Forever will be release. Oh wait? ... OK, till someone starts to implement this. I think this means YOU :-) > 2. Is there a way to write to the channel in non-blocking mode? > Currently ssh_channel_write() says it's blocking... Yeah, a lot of work ahead ... Andreas

Re: [PATCH] add mbedtls crypto support

2017-08-10 Thread Andreas Schneider
On Wednesday, 9 August 2017 13:46:52 CEST Juraj Vijtiuk wrote: > On Tue, Aug 08, 2017 at 05:30:07PM +0200, Andreas Schneider wrote: > > Hi Juraj, > > > > thank you very much for your contribution to libssh. As the patch is > > really > > huge and I have

Re: [PATCH] add mbedtls crypto support

2017-08-08 Thread Andreas Schneider
ode review tool we would like to use for these things :-) You can create an account or use an existing github account to login. Thanks, Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: [INSTALL issue] missing header files poll.h and config.h

2017-08-03 Thread Andreas Schneider
at least two header files I had to copy to /usr/include/libssh > manually: > poll.h > config.h > > Thank you for such a powerful library! Playing around with it for a week > already and find it very useful! Those are internal header files, so they are not installed. Why do you need

Re: Fwd: server API, I can not get authorization by key

2017-08-02 Thread Andreas Schneider
! The server example: https://git.libssh.org/projects/libssh.git/tree/examples/samplesshd-cb.c shows how to do it for password, you need to add a callback for public key authentication ... Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: Issule several commands using non-interactive remote shell

2017-08-01 Thread Andreas Schneider
tutorial. However you should be able to find examples in the maling list archive. You need your own protocol like ./command && echo OK || echo KO To know if a command has been executed or failed ... Andreas -- Andreas Schneider GPG-ID: CC014E3D w

Re: SSH server: Problem with polling of pipes created for reading stdout/stderr of child process using libssh API

2017-08-01 Thread Andreas Schneider
gt; https://pastebin.com/i5QLf1Gn The page has been removed. I think you have to turn on logging and try to find out what is going on. It could also be a bug in libssh. Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: [PATCH] libcrypto: add NULL-check for EVP_CIPHER_CTX_cleanup

2017-07-20 Thread Andreas Schneider
the patch, pushed. I will review your other patches next week. -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: [PATCH 5/5] misc: relax fatal errors in ssh_analyze_banner

2017-07-18 Thread Andreas Schneider
On Thursday, 13 July 2017 00:40:52 CEST Jon Simons wrote: > Aris, what do you think? Should we make it configureable via an option or just be more graceful? Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Re: [PATCH] libcrypto-compat: fix HMAC_CTX_free for OpenSSL < 1.1.0

2017-07-14 Thread Andreas Schneider
On Thursday, 13 July 2017 00:23:03 CEST Jon Simons wrote: > Hi Jon, thanks for the patches. The gcrypt build doesn't work anymore. https://test.libssh.org/viewBuildError.php?buildid=41092 Could you please take a look. Thanks, Andreas -- Andreas Schneider

Re: Issue accessing https://git.libssh.org

2017-06-28 Thread Andreas Schneider
On Wednesday, 28 June 2017 15:40:00 CEST Tilo Eckert wrote: > Am 28.06.2017 um 13:42 schrieb Andreas Schneider: > > On Wednesday, 28 June 2017 12:43:14 CEST Tilo Eckert wrote: > >> Hi, > > > > Hi Tilo, > > > >> I am experiencing a re-occuring iss

Re: Writing an SFTP Server Using lobs she

2017-06-20 Thread Andreas Schneider
_FX_OP_UNSUPPORTED". The better way would be to reimplement the sftp-server using callbacks like the rest of the ssh server we have. Then all you have to do is to define the callblacks. Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

Bugtracker

2017-06-20 Thread Andreas Schneider
: https://secure.phabricator.com/book/phabricator/article/arcanist/ The new bugtracker is at https://bugs.libssh.org/ The old one is read only and will be removed once we moved all the files. Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org

Re: Writing an SFTP Server Using lobs she

2017-06-19 Thread Andreas Schneider
or any examples or help! Hi, the problem is that the sftp server should be rewritten to use callbacks like the rest of the server. We didn't have the time to do that yet. Help in that area is much appreciated. ou need to use messages to deal with sftp. sftp_get_client_message() is what y

Re: [Patch] Windows sockets version 2.2

2017-06-07 Thread Andreas Schneider
chment. See https://git.libssh.org/projects/libssh.git/tree/SubmittingPatches Thanks, Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.orga...@cryptomilk.org

<    1   2   3   4   5   6   7   >