]> Kevux Git Server - fll/commit
Update: fix firewall utility and utilize recently added functionality
authorKevin Day <thekevinday@gmail.com>
Sun, 21 Jul 2019 21:06:13 +0000 (16:06 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 21 Jul 2019 21:06:46 +0000 (16:06 -0500)
commitc5fb611541c0754b504053acfb8ff80ee09844f5
treebfb532604c3c7f478051434909146b54bf30a76f
parentf5750d0144aa93455d5203a58fa7a17447e91f74
Update: fix firewall utility and utilize recently added functionality

There were a few logic flaws in regards to the processing and memory management.
Switch to new logic where f_new_* and f_clear_* is utilized.
Update accodingly to the fll_execute changes.

Update the default configuration files.

Update the debugging code to work as expected.

Replace string cuntions with memory functions, such as replacing strncat with memcpy.

Add some new helper macros.

Delete all custom chains when rewriting rules to prevent problems.
Iptables unfortunately does not provide a way to check and see if a chain already exists.
level_3/firewall/c/firewall.c
level_3/firewall/c/firewall.h
level_3/firewall/c/main.c
level_3/firewall/c/private-firewall.c
level_3/firewall/c/private-firewall.h
level_3/firewall/data/settings/firewall-first
level_3/firewall/data/settings/firewall-last