A Constraint-Based Approach to Diagnosing Software Problems in Computer Networks

Distributed software problems can be particularly mystifying to diagnose, for both system users and system administrators. Modelbased diagnosis methods that have been more commonly applied to physical systems can be brought to bear on such software systems. A prototype system has been developed for diagnosing problems in software that controls computer networks. Our approach divides this software into its natural hierarchy of layers, subdividing each layer into three separately modeled components: the interface to the layer above on the same machine, the protocol to the same layer on a remote machine, and the configuration. For each component knowledge is naturally represented in the form of constraints. User interaction modeling is accomplished through the introduction of constraints representing user assumptions, the finite-state machine specification of a protocol is translated to a standard CSP representation and configuration tasks are modeled as dynamic CSPs. Diagnosis is viewed as a partial constraint satisfaction problem (PCSP). A PCSP algorithm has been adapted for use as a diagnostic engine. This paper presents a case study illustrating the diagnosis of some problems involving the widely used FTP and DNS network software.

[1]  Marc Riese Model-based diagnosis of communication protocols , 1993 .

[2]  Mark A. Miller Troubleshooting TCP/IP , 1992 .

[3]  Douglas Comer,et al.  Internetworking with TCP/IP , 1988 .

[4]  Rina Dechter,et al.  Empirical evaluation of diagnosis as optimization in constraint networks , 1992 .

[5]  Yow-Jian Lin,et al.  A Constrained Approach for Temporal Intervals in the Analysis of Timed Transitions , 1991, PSTV.

[6]  Sanjay Mittal,et al.  Towards a Generic Model of Configuraton Tasks , 1989, IJCAI.

[7]  Luca Console,et al.  Readings in Model-Based Diagnosis , 1992 .

[8]  P. M. Wognum,et al.  Diagnosing and Solving Over-Determined Constraint Satisfaction Problems , 1993, IJCAI.

[9]  Eugene C. Freuder,et al.  Introduction to the Special Volume on Constraint-Based Reasoning , 1992 .

[10]  Paul Albitz,et al.  DNS and BIND , 1994 .

[11]  Ming T. Liu,et al.  A Test Suite Generation Method for Extended Finite State Machines Using Axiomatic Semantics Approach , 1992, PSTV.

[12]  Rachida Dssouli,et al.  Diagnosing Multiple Faults in Finite State Machines , 1993 .

[13]  Eugene C. Freuder,et al.  Partial Constraint Satisfaction , 1989, IJCAI.

[14]  Craig Hunt TCP/IP Network Administration , 1992 .

[15]  Douglas Comer,et al.  Internetworking with TCP/IP (2nd ed.), vol. I , 1991 .

[16]  Paul V. Mockapetris,et al.  Domain names: Concepts and facilities , 1983, RFC.

[17]  Jon Postel,et al.  File Transfer Protocol , 1985, RFC.

[18]  Brian Falkenhainer,et al.  Dynamic Constraint Satisfaction Problems , 1990, AAAI.