
A custom Linux-based firewall tool built for deep packet inspection, rule-based traffic control, and protocol anomaly detection using Netfilter and low-level kernel hooks.
Kernel Recon Shield is designed to analyze and filter packets at the kernel level using Netfilter hooks. It aims to give developers and security enthusiasts more visibility and control over network traffic by handling packet inspection directly in the Linux kernel.
This is a learning-focused repo where core concepts like handling TCP flags (ACK, XMAS, NULL), rule enforcement, and basic logging are implemented in a clean, modular way.
- Netfilter hook integration at
NF_INET_PRE_ROUTING
- Packet inspection logic in kernel space
- Detection and logging of suspicious TCP flags (ACK, NULL, XMAS scans)
- Rule-based filtering framework
- Logging decisions and suspicious traffic to
dmesg
Note: Only use this on isolated environments or virtual machines. Kernel modules can crash your system if used incorrectly.
git clone https://github.com/ojasks/Kernel-Recon-Shield.git
cd Kernel-Recon-Shield
make