Maybe ICMP doesn’t support fragmentation and you need to use ping –f to tell
it not to fragment?

 

Bill

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Martin Birkebæk, IO-Connect ApS
Sent: Monday, April 07, 2008 10:26 AM
To: [email protected]
Subject: [lwip-users] lwip 1.3.0 "ping of death"

 

Hi list,

 

I have succesfully ported lwip 1.3.0 to LPC2468. Lwip is running in a
threaded environment, FreeRTOS. I have a basic example running, with a
webserver.

 

I have enabled ip reassembly, see my lwipopts.h file attached to this mail.

 

I have a webbrowser running, which is requesting a webpage from the
webserver each second, and I am pinging the system continually, through the
command

Ping <ip> -t

 

The system is running ok. But if I ping the system with a lot of data bytes,
i.e. ping <ip> -l 2048. The system crashes.

I end up in an data abort exception. The reason for this exception, is a
pointer, r, in function ip_reass() is containing an invalid address.

The line in C code is:

 

iprh = (struct ip_reass_helper*)r->payload;                            //
line number: 572 in ip_frag.c

 

What can I do, to avoid this “ping of death” ?

 

P.S.: Please be aware that I have yet to optimize the system regarding
values in lwipopts.h. But that will be a topic for another question on this
list.

 

Regards,

Martin

 

_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to