Policy Generation

Project Description

The main purpose of this project is generating a repository of security policies (especially firewalls) to be used in configuration testing and analysis.
Access-control lists are an essential part in the security framework of any system. Researchers are always in need to have a repository of ready made policies for conducting research and development. Such policies, especially firewall policies which are the focus of our work, are needed to perform performance testing as well as configuration analysis. In this paper we introduce two techniques to perform such task. Two main techniques are developed:

Traffic-aware generated policies

The current vesion of the generator runs under windows. We are currently supporting two trace file format, DAG and TSH.
Download the .exe file here.

Command line:
cbGenerator.exe TraceFile NumRules ClusterDensity SplitMethod MaxPackets

Parameters descirption

Generic Output description

Each output file include a set of generated policies with different generation parameters:
- Number of rules
- Rules density (number of packets matching the rule)
- Distance between samples

Each rule is defined by protocol, IP ranges and port ranges.
After each rule set, some properties are provided for the generated policy.
The samples below contains multiple policies, varying according to the free parameters.

Generic output format

DownloadCluster DensityPolicy Size RangeDistance Threshold
Sample 1 105-550from Trace
Sample 2 205-550from Trace
Sample 3 305-550from Trace
Sample 4 10dynamic from trace
Sample 4 10dynamic from trace

IPtables output

IPtables format

DownloadCluster DensityPolicy Size RangeDistance Threshold
Sample 1 500~100from Trace
Sample 2 500~200from Trace





Last updated: 2008-09-05