[haiku-gsoc] [HCD] ICMP errors handling & propagation project

  • From: <philippe.houdoin@xxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Wed, 18 Jun 2008 12:18:18 +0200

Yin wrote on haiku-developement mailinglist:
> Sorry that I haven't seen this mail until now. I am Yin Qiu and I am glad
> that you are interested in mentoring my project.

Don't be sorry, as I screw like a noob by not subscribing earlier the 
haiku-gsoc mailinglist.

Anyway, let's catch up.

Could you tell me what do you've done so far regarding ICMP error handling and 
propogation?
Do you have dive in the network stack code to see how it can be implemented, 
what support already there could be reused, what's missing? 
Last year, IIRC, Hugo Santos, a GSoC 2007 student, introduced two new hooks to 
net_protocol API: error() and error_reply(). I've not understand how it was 
expected to be used, but for the moment that's pretty much all I can point you 
at.

A good starting point would be code in 
trunk/src/add-ons/kernel/network/protocols/icmp/, to see what level of ICMP 
feature is already there (minimal only).

Regarding specifications, RFC792 is the ICMP bible, but others sources can be 
usefull too, like chapter 3.2.2 of RFC1122 in particular which list all ICMP 
features required by any Internet Host to be a good network host citizen.
http://en.wikipedia.org/wiki/Internet_Control_Message_Protocol

François may have more indepth knowledge to share, though.
Or Axel, who was Hugo mentor...

Bye,
  Philippe.




Other related posts: