Ticket #392 (closed Bug report: fixed)
unable to clear firewall rule upon user logout
|Reported by:||anonymous||Owned by:|
|Priority:||high||Milestone:||Not yet assigned to a Milestone|
I have located a bug in fw_iptables.c (gateway version 1.1.3) that would caused problems when a user logouts. In line 461 the iptables_do_command is wrong. The correct one is
"-t mangle -D " TABLE_WIFIDOG_INCOMING " -d %s -j ACCEPT"
"-t mangle -D " TABLE_WIFIDOG_INCOMING " -d %s -j DENY",
since this rule is supposed to clear the ACCEPT rule created before, and need to clear it by issuing -D command with identical ruleset.