eclipse-threadx / netxduo

Eclipse ThreadX - NetXDuo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/netx-duo/index.md
MIT License
246 stars 141 forks source link

Enterprise security support over NetXSecure #134

Open cy-jayasankar opened 2 years ago

cy-jayasankar commented 2 years ago

Hi, We are trying to add enterprise security support with NetXDuo network stack and NetXSecure TLS stack and facing following issue.

With enterprise security, TLS handshake needs to be performed with RADIUS server using EAP packets during WiFi connection. NetXSecure API user(enterprise security code) need to get the control over the send and receive functions during the TLS handshake, so that he can create EAP packets over the TLS handshake messages. But currently NetXSecure TLS APIs expects a connected socket from the user and sends the TLS handshake message using the socket pointer. So the enterprise security code does not get control over send and receive functions and cannot create EAP packets for TLS handshake messages. Also during the WiFi connection it is not possible to provide a connected socket to TLS APIs, as the sockets come into picture after the WiFi connection.

Can you please let us know if there is a mechanism to add Enterprise security support with NetXSecure? Also if there is some implementation of Enterprise security over NetXSecure please point me to that code.

Thanks, Jayasankar.

EdouardMALOT commented 5 months ago

Hi @cy-jayasankar,

I am facing a similar issue.

Did you find a way to add EAP to NetX? Did you switch to another TCP/IP stack to handle it ?

Thanks

hwmaier commented 5 months ago

Did you have a look at https://github.com/Infineon/nx-secure-wpa3 ?