• DocumentCode
    2379431
  • Title

    Fast firewall implementations for software and hardware-based routers

  • Author

    Qiu, Lilli ; Varghese, George ; Suri, Subhash

  • fYear
    2001
  • fDate
    11-14 Nov. 2001
  • Firstpage
    241
  • Lastpage
    250
  • Abstract
    Routers must perform packet classification at high speeds to efficiently implement functions such as firewalls and diffserv. Classification can be based on an arbitrary number of fields in the packet header. Performing classification quickly on an arbitrary number of fields is known to be difficult, and has poor worst-case complexity. In this paper, we re-examine two basic mechanisms that have been dismissed in the literature as being too inefficient: backtracking search and set pruning tries. We find using real databases that the time for backtracking search is much better than the worst-case bound; instead of Ω((logN)k-1), the search time is only roughly twice the optimal search time. Similarly, we find that set pruning tries (using a DAG optimization) have much better storage costs than the worst-case bound. We also propose several new techniques to further improve the two basic mechanisms. Our major ideas are: (i) backtracking search on a small memory budget, (ii) a novel compression algorithm, (iii) pipelining the search, (iv) the ability to trade-off smoothly between backtracking and set pruning. We quantify the performance gain of each technique using real databases. We show that on real firewall databases our schemes, with the accompanying optimizations, are close to optimal in time and storage.
  • Keywords
    authorisation; backtracking; computer networks; data compression; packet switching; pattern classification; pipeline processing; telecommunication network routing; telecommunication security; DAG optimization; backtracking search; complexity; compression algorithm; databases; diffserv; fast firewall implementations; hardware-based routers; packet classification; pipelining; search time; set pruning tries; software routers; storage costs; Access control; Compression algorithms; Cost function; Databases; Diffserv networks; Filters; Pipeline processing; Resource management; Spine; Sun;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Network Protocols, 2001. Ninth International Conference on
  • Print_ISBN
    0-7695-1429-4
  • Type

    conf

  • DOI
    10.1109/ICNP.2001.992904
  • Filename
    992904