130 likes | 299 Views
Towards Optimal Firewall Rule Ordering Utilizing Directed Acyclical Graphs. Author: Ashish Tapdiya, Errin W. Fulp Publisher: ICCCN 2009 Presenter: Yu-Ping Chiang Date: 2009/09/30. Outline. Related work – Directed Acyclical Graph (DAG) Sub-Graph Merging (SDM) Algorithm
E N D
Towards Optimal Firewall Rule Ordering Utilizing Directed Acyclical Graphs Author: Ashish Tapdiya, Errin W. Fulp Publisher: ICCCN 2009 Presenter: Yu-Ping Chiang Date: 2009/09/30
Outline • Related work – Directed Acyclical Graph (DAG) • Sub-Graph Merging (SDM) • Algorithm • Non-optimal ordering • Time complexity • Experimental results • Number of breaks • Percentage improvement
Directed Acyclical Graph (DAG) • DAG G = (R,E) • R = rules • E exists if • . • i < j
Outline • Related work – Directed Acyclical Graph (DAG) • Sub-Graph Merging (SGM) • Algorithm • Non-optimal ordering • Time complexity • Experimental results • Number of breaks • Percentage improvement
Sub-Graph Merging (SGM) • Definition • Sub-graph of rule ri : G(ri) • Ex: G(r2) = {r1, r2}, G(r4) = {r1, r2, r4} • Sum of probability of G(ri) : X(ri) • Ex: X(r2) = 0.0645+0.161 = 0.2255 • Cardinality of G(ri): C(ri) • Ex: C(r2) = 2
Sub-Graph Merging (SGM) • Definition • DEP • Ex: • PROB(ri) • R(π) • Ex: R(π) = 0.0645*1 + 0.161*2 + … + 0.029*5 = 3.5487
Sub-Graph Merging - Algorithm 0.11275 0.1614 0.0645 0.14515 0.2
Sub-Graph Merging - Algorithm R(π) = 3.5487 R(π) = 3.4839
SGM – non-optimal ordering 0.072886 0.058533 0.2 0.096061 0.09094
SGM – time complexity O(n) O(n) O(n)
Outline • Related work – Directed Acyclical Graph (DAG) • Sub-Graph Merging (SDM) • Algorithm • Non-optimal ordering • Time complexity • Experimental results • Number of breaks • Percentage improvement
Percentage improvement • Average number of rule comparisons was used to evaluate performance