Legal Information
PC Knowledge Base - Create a test plan

Good Knowledge Is Good2Use

You need to plan to test both the implementation of the firewall system and the policy being implemented by the system. To test the implementation of the system:

An example of a test scenario is to assume that the host system on which the firewall software runs has an unrecoverable hardware failure that prevents it from performing any packet forwarding, such as might occur if the network adapter failed. A way to test this failure might be to simply unplug the network from the interface to simulate the failure.

An example of a recovery strategy would be to maintain a totally redundant firewall system, switching to the redundant host when failures occur to minimise the time period during which packet transmittal is affected.

Testing the policy installed in the system is more difficult. It is not feasible to exhaustively test an IP packet filter configuration; there are too many possibilities. We recommend that instead of exhaustive tests, you use boundary tests. In these tests, you identify boundaries in your packet filter rules and then sample test the regions immediately adjacent to each boundary.

To do this for each rule, you identify every boundary in the rule. In general, each constrained parameter in a rule contributes either one or two boundaries. The space being partitioned is a multidimensional packet attribute space.
Common attributes include:

Basically, every attribute of a packet that can be independently checked in a packet filter rule defines one dimension of this space.
For example, a rule that permits TCP packets from any host to your Web server host on port 80 has checked three attributes (protocol, destination address, and destination port) which partitions the attribute space into three regions: TCP packets to Web server at ports less than 80, port 80, and ports greater than 80.
For each region, you generate some test traffic that you have engineered to stay within that region. You verify that the firewall either rejects or forwards all traffic for a given region. Within a single region, all traffic should be rejected or forwarded; that is the purpose for partitioning the packet attribute space.

For a complex set of rules, this can be a tedious process and may not be practical. If it is not practical to test the rules, request that several people review them and ask one person to explain to the others what each rule does.
The test plan needs to include

You also need to describe the tools you intend to use (such as scanners, monitoring tools, and vulnerability detection tools) and the tests you intend to run using those tools.



Search Knowledge Base Feedback
If you like our web site refer a friend.
Your friends name.
Your friends email address.
Your Name
Your Email Address


© Copyright 1998-1999 GOOD2USE