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

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

 



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, <openssl-users-request@xxxxxxxxxxx> wrote:
Send openssl-users mailing list submissions to
        openssl-users@xxxxxxxxxxx

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
        openssl-users-request@openssl.org

You can reach the person managing the list at
        openssl-users-owner@openssl.org

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" <rsalz@xxxxxxxxxx>
To: Grace Priscilla Jero <grace.priscilla@xxxxxxxxx>,
        "openssl-users@xxxxxxxxxxx" <openssl-users@xxxxxxxxxxx>
Subject: Re: DTLS multiple peer issue on shutdown
Message-ID: <D9C8C713-A108-4D9A-8925-40BBFAC93A28@xxxxxxxxxx>
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 <grace.priscilla@xxxxxxxxx>
To: "Salz, Rich" <rsalz@xxxxxxxxxx>
Cc: "openssl-users@xxxxxxxxxxx" <openssl-users@xxxxxxxxxxx>
Subject: Re: DTLS multiple peer issue on shutdown
Message-ID:
        <CAGfOHcVfaSRzoWB-3s2Fw8Xku+rKuZSiyUwZfbbpRNEE7vUHPg@mail.gmail.com>
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 <rsalz@xxxxxxxxxx> 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" <rsalz@xxxxxxxxxx>
To: Grace Priscilla Jero <grace.priscilla@xxxxxxxxx>
Cc: "openssl-users@xxxxxxxxxxx" <openssl-users@xxxxxxxxxxx>
Subject: Re: DTLS multiple peer issue on shutdown
Message-ID: <B67B9102-2C9D-41D2-9553-6261DD05CDE3@xxxxxxxxxx>
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 <roushan.ara@xxxxxxxxxxx>
To: openssl-users@xxxxxxxxxxx
Subject: usage of SSL_read() and SSL_write() for file
        transfer
Message-ID:
        <CADkrVDgpd8SxatbZ6nSwcAtAZR+zRYLxdFnRK0rSJur9uKZVJg@mail.gmail.com>
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 <openssl-users@xxxxxxxxxxxx>
To: "openssl-users@xxxxxxxxxxx" <openssl-users@xxxxxxxxxxx>
Subject: Re: usage of SSL_read() and SSL_write() for
        file transfer
Message-ID: <02B15DAF-D23D-4F1E-8595-EE7A5BC7D9B7@xxxxxxxxxxxx>
Content-Type: text/plain;       charset=us-ascii



> On Feb 1, 2018, at 11:42 PM, Roushan Ara <roushan.ara@xxxxxxxxxxx> 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
openssl-users@xxxxxxxxxxx
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

[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