Re: openssl-users Digest, Vol 39, Issue 2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: openssl-users Digest, Vol 39, Issue 2

Roushan Ara
currently i am using socket for this implementation in c++ programming. can i use HTTPS post over SSL in c++. need suggestion



Thanks & Regards,
Roushan Ara

On Fri, Feb 2, 2018 at 10:26 AM, <[hidden email]> wrote:
Send openssl-users mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://mta.openssl.org/mailman/listinfo/openssl-users
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of openssl-users digest..."


Today's Topics:

   1. Re: DTLS multiple peer issue on shutdown (Salz, Rich)
   2. Re: DTLS multiple peer issue on shutdown (Grace Priscilla Jero)
   3. Re: DTLS multiple peer issue on shutdown (Salz, Rich)
   4. usage of SSL_read() and SSL_write() for file      transfer
      (Roushan Ara)
   5. Re: usage of SSL_read() and SSL_write() for file transfer
      (Viktor Dukhovni)


----------------------------------------------------------------------

Message: 1
Date: Thu, 1 Feb 2018 15:35:05 +0000
From: "Salz, Rich" <[hidden email]>
To: Grace Priscilla Jero <[hidden email]>,
        "[hidden email]" <[hidden email]>
Subject: Re: [openssl-users] DTLS multiple peer issue on shutdown
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Doesn?t shutdown close the socket?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20180201/ef74f6f7/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 2 Feb 2018 00:04:35 +0530
From: Grace Priscilla Jero <[hidden email]>
To: "Salz, Rich" <[hidden email]>
Cc: "[hidden email]" <[hidden email]>
Subject: Re: [openssl-users] DTLS multiple peer issue on shutdown
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

The shutdown does not close the socket. The peer close is not intimated to
server when there are 2 peers to the server and the server is serving the
other peer.

Thanks,
Grace
On Thu, Feb 1, 2018 at 9:05 PM, Salz, Rich <[hidden email]> wrote:

> Doesn?t shutdown close the socket?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20180202/6098fe2d/attachment-0001.html>

------------------------------

Message: 3
Date: Thu, 1 Feb 2018 18:35:24 +0000
From: "Salz, Rich" <[hidden email]>
To: Grace Priscilla Jero <[hidden email]>
Cc: "[hidden email]" <[hidden email]>
Subject: Re: [openssl-users] DTLS multiple peer issue on shutdown
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Sorry, then, I?ve exhausted my knowledge-base.  Hopefully others will have more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20180201/b9fc857d/attachment-0001.html>

------------------------------

Message: 4
Date: Fri, 2 Feb 2018 10:12:10 +0530
From: Roushan Ara <[hidden email]>
To: [hidden email]
Subject: [openssl-users] usage of SSL_read() and SSL_write() for file
        transfer
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hi All,
currently i am using openssl for client and server communication for file
transfer. i am facing some issue regarding the writing the content of
file.my requirement is i have to send the whole content of some specified
file to server for that i am using SSL_write(). i can achieve this using
SSL_write() in a while loop but my requirement is i have to use single
SSL_write() for sending whole content of file and single SSL_read  at the
server to receive the whole content of the file.because in that message
itself we  have to specify some id so that it can be identified at the
server to indicate that it is file reading. so i need to send single
message with full content of file in a buffer. because of the maximum
limitation of SSL_write() we are not able to send more than 16384 bytes.
Could somebody suggest s how can i use SSL_write() for the writing the
whole content of text file in a single message without using any while loop.

Thanks in Advance.


Thanks & Regards,
Roushan Ara

--


--
*Please consider the Environment before printing this e-mail.*

The information contained in this message (including any attachments) is
confidential and may be privileged or otherwise protected from disclosure.
If you are not the intended recipient, you must not copy this message or
attachment or disclose the contents to any other person.  If you have
received this transmission in error, please notify the sender immediately
by return e-mail and permanently delete this message and any attachments
from your system.  Any dissemination, use, review, distribution, printing
or copying of this message in whole or in part is strictly prohibited.
Please note that e-mails are susceptible to change.

*SKANRAY* <http://www.skanray.com>*(including its group of companies) shall
not be liable for any omission or error in the message, improper or
incomplete transmission of the information contained in this communication
or for any delay in its receipt or damage to your system. * *SKANRAY*
<http://www.skanray.com>*(or its group of companies) does not guarantee
that the integrity of this communication has been maintained or that this
communication is free of viruses, interceptions or interference.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20180202/5c885cfa/attachment-0001.html>

------------------------------

Message: 5
Date: Thu, 1 Feb 2018 23:56:37 -0500
From: Viktor Dukhovni <[hidden email]>
To: "[hidden email]" <[hidden email]>
Subject: Re: [openssl-users] usage of SSL_read() and SSL_write() for
        file transfer
Message-ID: <[hidden email]>
Content-Type: text/plain;       charset=us-ascii



> On Feb 1, 2018, at 11:42 PM, Roushan Ara <[hidden email]> wrote:
>
> currently i am using openssl for client and server communication for file transfer. i am facing some issue regarding the writing the content of file.my requirement is i have to send the whole content of some specified file to server for that i am using SSL_write(). i can achieve this using SSL_write() in a while loop but my requirement is i have to use single SSL_write() for sending whole content of file and single SSL_read  at the server to receive the whole content of the file.because in that message itself we  have to specify some id so that it can be identified at the server to indicate that it is file reading. so i need to send single message with full content of file in a buffer. because of the maximum limitation of SSL_write() we are not able to send more than 16384 bytes.
> Could somebody suggest s how can i use SSL_write() for the writing the whole content of text file in a single message without using any while loop.

Your simplest solution is to use HTTP POST over SSL to create the
illusion of a single message layered over a underlying reliable
bytestream.  Don't write your own code, consider using libcurl
or an HTTPS library that best meets your needs.

--
        Viktor.



------------------------------

Subject: Digest Footer

_______________________________________________
openssl-users mailing list
[hidden email]
https://mta.openssl.org/mailman/listinfo/openssl-users


------------------------------

End of openssl-users Digest, Vol 39, Issue 2
********************************************




Please consider the Environment before printing this e-mail.

The information contained in this message (including any attachments) is confidential and may be privileged or otherwise protected from disclosure.  If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person.  If you have received this transmission in error, please notify the sender immediately by return e-mail and permanently delete this message and any attachments from your system.  Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited.  Please note that e-mails are susceptible to change.
 
SKANRAY(including its group of companies) shall not be liable for any omission or error in the message, improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system.  SKANRAY(or its group of companies) does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interference.

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