This is loosely based on the approach given in Practice Of Programming…
1. Let us capture a packet and dump it in as XML/text file
( this is a one time step ) — Generating packet fields with random numbers is also a very good idea…
2. Now read this file and construct the packet
3. Pass the packet thru the system and capture it back as a text/XML file
4. Compare this file with the one we have …
5. If the differ, we broke something
Do 2 to 5 for various files….
What do you all think?
— cheerio atul
