|
From: | Norberto R. de Goes Jr. |
Subject: | Re: [lwip-users] PPP - TCP |
Date: | Fri, 8 Jan 2016 07:53:33 -0200 |
Hi Sylvain! Thanks for the prompt reply, much appreciated.The version in use is HEAD - july/2015.You asked about incoming bytestream level check. But I understand that the exception is happening at output level, in packets generated by the lwip core. Am I right?Remembering that the UDP protocol use works fine what could validate the serial interface (connection between nodes).Thanks again.2016-01-05 17:51 GMT-02:00 Sylvain Rochet <address@hidden>:_______________________________________________Hi Norberto,
On Tue, Jan 05, 2016 at 11:26:35AM -0200, Norberto R. de Goes Jr. wrote:
> How are you doing?
>
> I am facing a problem in the use PPP-lwip.
> I have a application (app) using lwip stack. The app implements an echo
> message server (messages replier).
> The connection is through the PPP protocol (serial interface) no ethernet
> conection.
> When UDP messages are exchanged all is working fine. But when TCP is used,
> after the second message exchanged, the following error is throwed by the
> lwip:
>
> Assertion "RST not expected here!" failed at line 1033 in
> ../src/lwip_src/lwip/src/core/tcp_out.c
Which lwIP version are you using ? If Git, what's your HEAD hash ? We
don't assert on corrupted packets anymore (we try to remove all asserts
that can be remotely-triggered), it looks like an old code.
At first sight, I don't think PPP is related to the problem here, did
you check at the bytestream level that it is actually a wrongly
formatted incoming TCP packet ? If yes, there is not much we can do
except dropping the packet.
Sylvain
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users--Norberto R. de Goes Jr.
CPqD - DRC
Tel.: +55 19 3705-4241 / Fax: +55 19 3705-6125
address@hidden
www.cpqd.com.br
[Prev in Thread] | Current Thread | [Next in Thread] |