Google Answers Logo
View Question
 
Q: Test procedures for Internet Protocol Suite ( Answered,   0 Comments )
Question  
Subject: Test procedures for Internet Protocol Suite
Category: Computers > Internet
Asked by: bobd-ga
List Price: $20.00
Posted: 25 Jun 2002 12:07 PDT
Expires: 25 Jul 2002 12:07 PDT
Question ID: 33052
The Internet Advisory Board Standards IAB 5, 6, and 7 cover
requirments for the implementation of the Internet Protocol, User
Datagram Protocol, and the Transmission Control Protocol,
respectively.  Are there any publicly available test procedures for an
implementation?

Request for Question Clarification by drjmetz-ga on 17 Jul 2002 08:50 PDT
Can you be more specific?  There are a variety of testing tools for
those different protocols: ping, traceroute, and telnet respectively,
for instance.  Also, what do the 5, 6, and 7 refer to?  The RFCs with
those numbers were obsoleted many many moons ago.  Also, the
organizations with the most say over the standards are IETF and, above
them, the Internet Architecture Board.  What precisely are you trying
to do?
Answer  
Subject: Re: Test procedures for Internet Protocol Suite
Answered By: philip_lynx-ga on 24 Jul 2002 20:05 PDT
 
Hello Bobd,

as the IETF is a wild unruly group, there are not any standard
'reference implementations' that you can test against. Things are
getting more formal now, but my statement is certainly true for the
evolution of IP/ICMP/UDP/TCP.

You ask about publicly available test procedures. In a word, there are
none defined by the IETF/IESG/IAB. Sorry. But all is not so bleak ;)
The current best practice is to carefully read and analyze the
standards and the existing publicly available implementations such as
in NetBSD or OpenBSD, (also compare old versions to new versions and
find out what the motivation for differences are). Once you clearly
understand the matter, you can implement your own. IP, UDP, and ICMP
are easily done, TCP is a little harder.

Once you have your own implementation (and it interacts with itself),
you can test it against the existing implementations. You will observe
that depending on which implementation you test against, performance
behaviour will vary. This tells you that you have some leeway in how
you want to implement your stuff. Make sure to carefully analyze the
state machines and traffic you accept and generate in terms of 'MUST'
and 'MUST NOT' statements in the standards documents.

There is however some advice and tools available for testing your
implementation. They are not a 'standard' but rather FYI documentation
of the IETF. Let me give you a list:

FYI0033 RFC2398 Some Testing Tools for TCP Implementors
This includes a list of 11 or so tools that you can use to test your
TCP (and sometimes UDP / IP) performance.
http://www.rfc-editor.org/cgi-bin/rfcdoctype.pl?loc=FYI&letsgo=33&type=ftp&file_format=txt

FYI0002 RFC1470 FYI on a network management tool catalog: Tools for
Monitoring and Debugging TCP/IP Internets and Interconnected Devices
This contains literally tons of tools that you can use to test many
aspects of
your protocol implementation. Not all of them may still be available,
but I am sure you'll get something...
http://www.rfc-editor.org/cgi-bin/rfcdoctype.pl?loc=FYI&letsgo=2&type=ftp&file_format=txt

Caveats for TCP implementations:
ftp://ftp.isi.edu/in-notes/rfc2525.txt
My personal advice for TCP: Keep it as small and simple as you dare
to. Do none of the optional stuff in a first run.

Good luck with your efforts, and please do not hesitate to ask for
clarification if you need it!

  Philip Lynx




p.s. drjmetz: 5,6,7 refer to STD0005 STD0006 STD0007 respectively, and
are currently RFC 792 (ICMP), RFC 793 (TCP) and RFC 0768 (UDP).

Clarification of Answer by philip_lynx-ga on 28 Jul 2002 02:54 PDT
Hi Bobd,

do you need any more data or feedback? If yes, please do not hesitate
to ask for it. You are paying for this, after all ;-) Or, if you are
happy with the answer as-is, I would very much appreciate your rating.

Thank you very much,

    Philip Lynx
Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy