lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Elevating existing connection to TLS


From: address@hidden
Subject: Re: [lwip-users] Elevating existing connection to TLS
Date: Tue, 28 Apr 2020 20:07:42 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

Am 28.04.2020 um 17:55 schrieb Josh McAtee:
> Hello!
>
> I was wondering if there was a "simple" way to take an existing TCP
> connection and make it TLS.

I'm not sure I understand what you want?

> For example, STARTTLS in SMTP starts with a non-encrypted connection,
> then switches to encrypted after some back and forth, using the existing
> connection.
> I was looking at the code wondering how to achieve this, and it didn't
> seem clear to me how to do it.
> Anyone have experience with this?

We do have "altcp" where the existing tcp callback API is used slightly
modified and you can put a TLS layer between your appilcation and the
actual tcp connection. The application may thus be unaware of TLS being
used.

Is this what you mean?

Regards,
Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]