A formal logic approach to firewall packet filtering analysis and generation

Article

DOI: 10.1007/s10462-009-9147-0

Cite this article as:
Govaerts, J., Bandara, A. & Curran, K. Artif Intell Rev (2008) 29: 223. doi:10.1007/s10462-009-9147-0

Abstract

Recent years have seen a significant increase in the usage of computers and their capabilities to communicate with each other. With this has come the need for more security and firewalls have proved themselves an important piece of the overall architecture, as the body of rules they implement actually realises the security policy of their owners. Unfortunately, there is little help for their administrators to understand the actual meaning of the firewall rules. This work shows that formal logic is an important tool in this respect, because it is particularly apt at modelling real-world situations and its formalism is conductive to reason about such a model. As a consequence, logic may be used to prove the properties of the models it represents and is a sensible way to go in order to create those models on computers to automate such activities. We describe here a prototype which includes a description of a network and the body of firewall rules applied to its components. We were able to detect a number of anomalies within the rule-set: inexistent elements (e.g. hosts or services on destination components), redundancies in rules defining the same action for a network and hosts belonging to it, irrelevance as rules would involve traffic that would not pass through a filtering device, and contradiction in actions applied to elements or to a network and its hosts. The prototype produces actual firewall rules as well, generated from the model and expressed in the syntax of IPChains and Cisco’s PIX.

Keywords

Formal logic Internet security Fire walls Logic programming Network modelling 

Copyright information

© Springer Science+Business Media B.V. 2009

Authors and Affiliations

  1. 1.The Open UniversityMilton KeynesUK
  2. 2.School of Computing and Intelligent Systems, Faculty of Computing and EngineeringUniversity of UlsterLondonderryNorthern Ireland, UK

Personalised recommendations