next up previous contents
Next: Interaction with the base Up: The ProtoWrap wrapper implementation Previous: Database of study   Contents


Basic architecture

In order to allow us to grow to a potentially complex system of wrappers, we need the basic ProtoWrap wrapper to be easily extendable, have an interface as simple as possible to understand, deal with and extend, and only to implement the most basic rules upon which all other rules will be based.

The base ProtoWrap wrapper is implemented as an object class, so that future, protocol-specific derived classes will be able to override its behavior, specifically the rule matching section.

Our base wrapper, thus, will be called with the following object properties:

Keep in mind that, unless testReply is set to bidirectional checking, all the tests will be applied only to the data coming from the client to the server. The server will be allowed to send back to the client any data it wishes. The wrapper is not meant to be a traffic validator, only a helper for the server's security. testReply is provided for the cases where special states should be monitored at the wrapper and for the rare cases in which a response should be modified before getting to the client.


next up previous contents
Next: Interaction with the base Up: The ProtoWrap wrapper implementation Previous: Database of study   Contents
Gunnar Wolf
2001-03-12