Skip to main content

3. Protocol Implementation

This TOS can be implemented in routing systems that offer TOS based routing (as can be done with OSPF, see RFCs 1245 through 1247) by assigning costs to links. Establishing the "cost" for different links for this TOS is a local policy function.

In principle services are incomparable when criterion such as those given in the Nature of Requirement section above conflict. For example, a choice between an encrypted broadcast system and an unencrypted fiber optic land line. In practice, link encryption would probably dominate all other forms of protection and physical security as mentioned in criterion 5 above would dominate other land line distinctions.

An example of "costs" at a hypothetical router could be as follows:

        Cost    Type
1 Strong encryption with secure key distribution
2 Physically secure point-to-point line
6 Typical point-to-point line
8 Typical local multi-point media
12 Metropolitan area multi-point media
24 Local radio broadcast
32 Satellite link

Link costs should be chosen so as to be in the same ratio as the probability of interception. Thus the above example costs imply a local policy assumption that interception is 32 times more likely on a satellite link and associated router than on a strongly encrypted line and its associated router. It is not necessary to estimate the absolute probability of interception on any particular link. It is sufficient to estimate the ratio between interception probabilities on different links.

It should be noted that using costs such as the example given above could result in using many more links than if the default type of service were requested. For example, the use of over 50 highly secure links could be better than using two insecure links, such as an unencrypted satellite hop and radio link. However, if the costs have been properly set in proportion to the probability of interception, this larger number of links will be more secure than the shorter default routing. This consideration should make it clear why it is necessary to estimate router security as well as link security. An excessive cost ratio based solely on the security of a communications line could cause packets to go through many routers which were less secure than the lines in question. This necessity to take router characteristics into account is also present for all

other defined TOS values.

It should also be noted that routing algorithms typically compute the sum of the costs of the links. For this particular type of service, the product of the link probabilities of secure transmission would be more appropriate. However, the same problem is present for the high reliability TOS and the use of a sum is an adequate approximation for most uses as noted in RFC 1349.