Additionally, the manpage for ufw 0.20 states that "Currently, ufw is a front-end for iptables-restore, with its rules saved in /etc/ufw/before.rules, /etc/ufw/after.rules and /var/lib/ufw/user.rules. Administrators can customize before.rules and after.rules as desired using the standard iptables-restore syntax.", and this is the customization we make use of to provide the added functionality.
With ufw itself making us do this, we'll have to remove this added functionality from our program then...
IP masking and IP6 require by ufw (https:/ /help.ubuntu. com/8.04/ serverguide/ C/firewall. html) to modify the configuration files directly. As for the rest, we'll look into replacing them with ufw commands.
Additionally, the manpage for ufw 0.20 states that "Currently, ufw is a front-end for iptables-restore, with its rules saved in /etc/ufw/ before. rules, /etc/ufw/ after.rules and /var/lib/ ufw/user. rules. Administrators can customize before.rules and after.rules as desired using the standard iptables-restore syntax.", and this is the customization we make use of to provide the added functionality.
With ufw itself making us do this, we'll have to remove this added functionality from our program then...