rfxn / advanced-policy-firewall

Advanced Policy Firewall (APF)
GNU General Public License v2.0
93 stars 46 forks source link

conf.apf documentation problem for IFACE_TRUSTED #2

Open interworx opened 10 years ago

interworx commented 10 years ago

The conf.apf says:

Trusted Network interface(s); all traffic on defined interface(s) will by-pass

ALL firewall rules, format is white space or comma separated list.

IFACE_TRUSTED=""

It appears that comma separated is not actually supported however. There's no error, but it just doesn't work.

files/firewall does: if [ ! "$IFACE_TRUSTED" == "" ]; then for i in echo $IFACE_TRUSTED; do

which doesn't take comma separated into account, and I don't see any place else that tries to.