Re: s6-tlsd immediately sending EOF during TLS handshake

2020-02-13 Thread ilaia
> Could you please try with the latest gits and see if you still
> experience the crash?

Unfortunately, LibreSSL is still crashing for me with the latest gits,
and in the exact same way. I have an strace on hand if you want, though
I don't know if that might reveal very much:
https://privatebin.net/?3babca3a786afef5#Lz5jGZQ4ueNhS81D9E2EhH4mJTerhP782ytXLy9Y6eh

—ilaia



Re: s6-tlsd immediately sending EOF during TLS handshake

2020-02-12 Thread ilaia
Update: just to try it, I rebuilt the current release of s6-networking
against BearSSL, and things are working perfectly…

So I guess that means there is either a bug in LibreSSL (oh no), or in
s6-networking's LibreSSL code?

—ilaia


Re: s6-tlsd immediately sending EOF during TLS handshake

2020-02-12 Thread ilaia
(Apologies, I accidentally replied directly to Laurent instead of the
mailing list, and only just noticed.)

> Did you build s6-networking against bearssl or libressl, and which
> version are you using?

Sorry, should have mentioned that. libressl, v3.0.2, as provided by Void
Linux

> Can you please do a "strace -vf -s 256" of your command line, and
> pastebin it somewhere? that would help pinpoint where the segfault is
> happening and what led to it. Thanks!

https://privatebin.net/?7bfc69985ca1ec4c#Dt4ejFDtxEMrsd4AJaRXSCvVEC3u1AxKqKYABYZ7uxrS

(Oh, also:

> On an unrelated note, your server command line should end with something
> like "cat" instead of "exit 0" if you want to test that it echoes what
> the client is sending. :)

(I appreciate the comment, but I was *specifically* just looking for
what happened during the handshake, so I wasn't really concerned about
what the forked-off program was doing.)

—ilaia