]> Kevux Git Server - fll/commit
Bugfix: direction option was confusing because it was mixed with chains
authorKevin Day <thekevinday@gmail.com>
Wed, 14 Jan 2015 10:19:01 +0000 (04:19 -0600)
committerKevin Day <thekevinday@gmail.com>
Wed, 14 Jan 2015 10:23:07 +0000 (04:23 -0600)
commitefb25e49141d20fcf80314a102b8e6f8c39059f1
treee37394963279794d6d2a78f6debc32ed3dfaaca1
parent6c7f8b0e30b03510289cc5ce3478b518ef3b266b
Bugfix: direction option was confusing because it was mixed with chains

- Separate direction command into two separate commands: direction, and chain.
- The chain command mimics iptables chains and is automatically populated by the custom lists (aka: custom chains).
- When direction is set to something other than none, then the active ethernet device is used.
- Code cleanup and changes were performed while working on this.
- Added basic support for debugging, define _en_firewall_debug_ to enable custom debugging parameter.
level_3/firewall/c/firewall.c
level_3/firewall/c/firewall.h
level_3/firewall/c/private-firewall.c
level_3/firewall/data/settings/example-device-firewall
level_3/firewall/data/settings/firewall-first
level_3/firewall/data/settings/firewall-last
level_3/firewall/data/settings/firewall-other