These changes don't bring any feature but will make
the firewall not complain.
done
iptables_commit
- touch /var/lock/subsys/firewall
}
function _stop() {
iptables_flush
iptables_commit
- rm -f /var/lock/subsys/firewall
}
name=$(uppercase "$device")
# Accept dhcp traffic
- macro DHCP -A ZONE_${name}_POLICY -i ${device} -j ACCEPT
+ #macro DHCP -A ZONE_${name}_POLICY -i ${device} -j ACCEPT
# Mac filter
: # TODO
# #
###############################################################################
+function zones_red_add() {
+ # $1 = device
+
+ zones_global_add $1
+ zones_policy_red $1
+
+}
+
+function zones_policy_red() {
+ local device
+ local name
+
+ device=$1
+ name=$(uppercase "$device")
+
+ : # TODO
+}