In TCP/IP stack,problem with payload of icmp
The query is pertaining to the ping mechanism.
1) the ping sends and ICMP echo request,which in reply
gets ICMP reply packet,
But,the 32 bytes of data that is payload of this packet during echo request,is returned back in echo reply packet.
can anyone shed some light on wot can be the reason,
this 32 bytes of data is returned, back,bcoz the contents of this data are not checked at all.
wot exactly is the purpose of keeping this 32 bytes of data in the payload while ICMP echo reply msg.
2) and also i'd like to know wot exactly is the purpose of
DF(dont fragment) flag in the IP header(other than finding the MTU
of any router/host by sending repeated ping of different sizes)
when we know that enabling DF flag will lead to packet discard???
regards
rakesh
Last edited by raklo; 08-02-2007 at 01:00 AM.
|