Re: Query regarding MSG_NOSIGNAL with SSL_Write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Great article. Who is the author?

 

Sent from Mail for Windows 10

 

From: Viktor Dukhovni
Sent: Thursday, April 27, 2017 11:54 AM
To: openssl-users@xxxxxxxxxxx
Subject: Re: Query regarding MSG_NOSIGNAL with SSL_Write

 

On Thu, Apr 27, 2017 at 12:32:42PM +0000, Salz, Rich via openssl-users wrote:

 

> > Does openssl  provide any way to set MSG_NOSIGNAL on sendmsg (Underlying TCP/IP socket layer) ?

>

> No.  You will have to modify the code yourself.

 

Actually, it is possible to do the I/O in application code, using

any "write some data down a socket" API of the application's choice.

 

    https://www.openssl.org/docs/man1.0.2/crypto/BIO_s_bio.html

 

In particular, the OP could use sendmsg() to move data between the

SSL layer and the network.

 

For a complete example, see network_biopair_interop() function in

Postfix 2.3 (recent Postfix releases no longer use this approach).

 

    https://github.com/vdukhovni/postfix/blob/postfix-2.3/postfix/src/tls/tls_bio_ops.c

 

--

                Viktor.

--

openssl-users mailing list

To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

 

-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux