• DocumentCode
    1982957
  • Title

    The geometric efficient matching algorithm for firewalls

  • Author

    Rovniagin, Dmitry ; Wool, Avishai

  • Author_Institution
    Sch. of Electr. Eng., Tel Aviv Univ., Ramat-Aviv, Israel
  • fYear
    2004
  • fDate
    6-7 Sept. 2004
  • Firstpage
    153
  • Lastpage
    156
  • Abstract
    Firewall packet matching can be viewed as a point location problem: each packet (point) has 5 fields (dimensions) which need to be checked against every firewall rule in order to find the first matching rule. We consider a packet matching algorithm, which we call the geometric efficient matching (GEM) algorithm. The GEM algorithm enjoys a logarithmic matching time performance, easily beating the linear time required by the naive matching algorithm. However, the algorithm\´s theoretical worst-case space complexity is O(n4) for a rule-base with n rules. Based on statistics from real firewall rule-bases, we created a model that generates random, but non-uniform, rule-bases. We evaluated GEM via extensive simulation using this rule-base generator. Subsequently, we integrated GEM into the code of the Linux "iptables" open-source firewall. Our GEM-iptables implementation supports a throughput which is at least 5-10 times higher than that of the unoptimized iptables. Our implementation was able to match over 30,000 packets-per-second even with 10 thousand rules.
  • Keywords
    authorisation; computational complexity; computer networks; Linux iptables open-source firewall; firewall packet matching; geometric efficient matching algorithm; logarithmic matching time performance; naive matching algorithm; point location problem; rule-base generator; space complexity; Access control; Bandwidth; Linux; Modems; Open source software; Statistics; TCPIP; Telecommunication traffic; Wool;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Electrical and Electronics Engineers in Israel, 2004. Proceedings. 2004 23rd IEEE Convention of
  • Print_ISBN
    0-7803-8427-X
  • Type

    conf

  • DOI
    10.1109/EEEI.2004.1361112
  • Filename
    1361112