Re: [lwip-users] Building mbedtls using LWIP library

2017-04-18 Thread Ajay Bhargav (SiWi)
Hi Anmol, You are replying to wrong thread. This thread (regarding mbedtls) is created by Shruthi. - Ajay Bhargav From: Anmol Sehgal Sent: Wednesday, April 19, 2017 11:18 AM To: Mailing list for lwIP users Subject: Re: [lwip-users] Building mbedtls using LWIP library Hi, Thank for your

Re: [lwip-users] Building mbedtls using LWIP library

2017-04-18 Thread Anmol Sehgal
Hi, Thank for your responses but my query is regarding compiling the lwip-2.0.2 through NDK-build for android platform, as we want to use lwip-2.0.2 to implement L2TP protocol for the vpn connection. We downloaded the working git project for LWIP-1.4.1 from the URL:

Re: [lwip-users] Building mbedtls using LWIP library

2017-04-18 Thread goldsi...@gmx.de
Jan Menzel wrote: Can you tell me more what improvements you're implementing and how this will effect the interface to mbedtls? No improvements really. I have added an indirection layer to the tcp callback API that allows to plug in layers between the application (e.g. HTTP server) and TCP.

Re: [lwip-users] Building mbedtls using LWIP library

2017-04-18 Thread goldsi...@gmx.de
Noam Weissman wrote: As far as I know 1.41 was the stable version used for a long time before 2.xx That's correct. Nevertheless, it's so old by now that I wouldn't suggest anyone to upgrade to it. Upgrading to version 2 is *strongly* suggested as it includes many more bugfixes and new

Re: [lwip-users] Building mbedtls using LWIP library

2017-04-18 Thread Jan Menzel
On 18.04.2017 16:03, Simon Goldschmidt wrote: [...] > If you want to use mbedTLS with lwIP's callback API, have a look into current > git master, I'm just working on that. No way to integrate that back into > 1.4.x though. Can you tell me more what improvements you're implementing and how

Re: [lwip-users] Building mbedtls using LWIP library

2017-04-18 Thread Noam Weissman
Simon, I meant 1.41 ... my mistake :-( As far as I know 1.41 was the stable version used for a long time before 2.xx Noam. -Original Message- From: lwip-users [mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of Simon Goldschmidt Sent: Tuesday, April 18, 2017 5:04 PM

[lwip-users] Need help compiling LWIP

2017-04-18 Thread Anmol Sehgal
Hi Sylvain, We are trying to compile LWIP-2.0.2 library, which we downloaded from the URL: http://download.savannah.nongnu.org/releases/lwip/lwip-2.0.2.zip We also downloaded the working git project for LWIP-1.4.1 from the URL: https://github.com/digitalsorcery/LWIPAndroidJNI And in a similar

Re: [lwip-users] Building mbedtls using LWIP library

2017-04-18 Thread Noam Weissman
Hi Shruthi, As a continuation to Jan mail... I am using mbedTLS 2.42 + LwIP 2.02 and it works for me... after some straggling :-) I strongly suggest upgrading to LwIP 1.42 as a minimum. As far as I know there were many fixes from 1.40 to 1.42 mbetTLS has a net_socket.c+h file that is the

Re: [lwip-users] Building mbedtls using LWIP library

2017-04-18 Thread Jan Menzel
Hi Shruthi! I'm using mbedtls and lwip on an embedded devices so I can only help integration both if there are no other tcp/ip-stacks around. Basically mbedtls interfaces to any tcp/ip-stack using bsd-socket API. This is archived using the file net.c, which comes with mbedtls such,

[lwip-users] Building mbedtls using LWIP library

2017-04-18 Thread shruthi
Hi, I am using the LWIP stack(1.4.0 version) as a *tap device (tap0)* on my Linux system. I have a simple TCP server-client application running on the LWIP stack. Now I want to add TLS over TCP, and I found that mbedTLS is one of the recommended libraries to add TLS support on LWIP. Could you