Skip to content

ccs-computing-w19/firewall_reloaded

Repository files navigation

firewall_reloaded

A host-based linux firewall system similar to IPTables or nftables.

Uses the netfilter framework to handle and respond to packets that require action.

Rules will be defined in a configuration file, and will be able to be changed through the command line.

The goal is to begin with a basic packet filtering approach, and move on to more complex filtering through methods such as stateful analysis.

Created on linux kernel 4.19

Set up

Debian systems:

sudo apt-get install build-essential linux-headers-`uname -r`

Run

make; sudo insmod lkmfirewall.ko options="Enter IP or port" ip="Enter an IP addr" ./fwhelper

Editing Rules

Run ./fwhelper and add/delete rules as needed The configuration file of config.dat can also be edited by itself where rules must be entered in the format of `Source IP Port`

Remove from running modules

sudo rmmod lkmfirewall

About

LKM firewall using the netfilter framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published