Get Free Synopsis PDF
We will prepare a detailed synopsis for your college submission. Includes problem statement, objectives, DFD, ER diagram, and more.
This project builds a tool that analyses an existing firewall rule set (such as iptables rules exported from a lab router) to detect redundant, shadowed, or conflicting rules that either weaken security or unnecessarily slow down packet processing. It then suggests an optimised, reordered rule set and verifies that the optimised version produces identical filtering behaviour to the original using automated test traffic. This addresses a real operational problem where firewall rule sets grow messy and error-prone over time.
Problem Statement
Firewall rule sets in real deployments tend to accumulate redundant or conflicting entries over years of ad-hoc changes, creating both security gaps and performance overhead. An automated analysis and optimisation tool teaches students to reason rigorously about rule ordering and coverage, a skill directly applicable to real network administration.
Objectives
Study firewall rule anomalies: redundancy, shadowing, and conflicts
Build a parser for standard firewall rule formats (e.g. iptables)
Implement detection algorithms for redundant and shadowed rules
Generate an optimised, reordered rule set preserving original filtering behaviour
Verify behavioural equivalence between original and optimised rule sets using test traffic
Modules
Rule Set Parser
Parses firewall rule definitions (e.g. iptables format) into an internal representation.
Anomaly Detector
Identifies redundant, shadowed, and conflicting rules within the rule set.
Optimisation Engine
Produces a reordered, deduplicated rule set addressing detected anomalies.
Equivalence Verifier
Replays test traffic against both rule sets to confirm identical filtering behaviour.
Reporting Module
Summarises detected anomalies and the resulting optimisation for review.
Expected Output
A tool that, given a sample messy rule set with deliberately planted redundancies and conflicts, produces an optimised rule set verified to behave identically on a battery of test traffic.
Future Scope
The tool could be extended to support additional firewall platforms (e.g. pf, Windows Firewall rule export) beyond iptables.