https://github.com/patsaoglou/firewall
A simple firewall service utilizing netfilter hooks and proc pseudo files in the Linux Κernel space to block/log network traffic
https://github.com/patsaoglou/firewall
firewall kernel-module linux linux-kernel lkm netfilter netfilter-hook networking operating-systems systems-programming thread
Last synced: about 1 month ago
JSON representation
A simple firewall service utilizing netfilter hooks and proc pseudo files in the Linux Κernel space to block/log network traffic
- Host: GitHub
- URL: https://github.com/patsaoglou/firewall
- Owner: patsaoglou
- License: mit
- Created: 2024-10-14T02:47:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-22T11:43:52.000Z (about 1 year ago)
- Last Synced: 2025-04-30T16:31:12.909Z (11 months ago)
- Topics: firewall, kernel-module, linux, linux-kernel, lkm, netfilter, netfilter-hook, networking, operating-systems, systems-programming, thread
- Language: C
- Homepage:
- Size: 71.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Firewall
- In this repository I share the source files of a project I was planning to start in the summer when I was reading the Kernel Programming Book by Kaiwan N Billimoria which at the end I didn't work
on because of vacation and later in september because of workload.
- Plans to continue working on it.
# Initial system design
.jpg>)
# Resources
- Kernel Programming Book by Kaiwan N Billimoria
- Registering procfs entries: https://www.cs.cmu.edu/afs/grand.central.org/archive/twiki/pub/Main/SumitKumar/procfs-guide.pdf
- NetFilterExample: [https://infosecwriteups.com/linux-kernel-communication-part-1-netfilter-hooks-15c07a5a5c4e](https://blogs.oracle.com/linux/post/introduction-to-netfilter)
- Netfilter walkthrough: https://people.computing.clemson.edu/~westall/853/notes/netfilter.pdf
- Deep dive in netfilter API applications : https://phrack.org/issues/61/13.html
- Netlink examples: https://github.com/mwarning/netlink-examples