Noone has ever written a Linux firewall from scratch, other than the one inside of the Linux kernel. There are many "firewalls" which are just interfaces for pf or iptables but ours will truly be self-contained and it even runs completely in userland/ring 3. Exciting stuff!
In this Cyber Security project you will learn a lot of network technology, how internet traffic works and how you use it in your C code. You will also learn things such as raw sockets, promiscious interfaces, netlink and unix domain sockets.
#programming #advancedc #project #coders #sockets #unix domain sockets #firewall #cybersecurity #security #ipc #linux #unix #iptables #pf #pfsense #filter
Become a member of this channel and receive multiple benefits, check out:https://www.youtube.com/channel/UC6Q8NDGqQ2eJ7QXX693ikdw/join
00:00:00 What is a firewall?
00:05:09 Project design sketch
00:07:13 CODE: Introduction
00:14:43 Firewall config
00:29:13 Defining datatypes
00:51:41 ACLs
01:11:00 "birdcage-ui" demo
01:22:00 Dynamic arrays
01:29:1 Constructor, add function
02:02:05 Pretty-printer
02:17:45 Troubleshooting
03:00:49 The 🍒