Sem - 3: Mini Project
The above code is a simple packet filtering firewall. The firewall looks for TCP, and UDP packets, compares the header information of those to the rules in the rule list(Rules.csv). If any matching rule is found, the required action is performed(accept/ deny). If no exact rule is found to match with the packet header information, the packet is dropped.
- Any Linux distribution
- required python imports(psutil)
git clone [email protected]:preethika-ajay/Python-Firewall.git
cd Python-Firewall
sudo python3 main.py