UNTRACKED state
authorJamie Cameron <jcameron@webmin.com>
Wed, 7 Jan 2009 21:10:02 +0000 (21:10 +0000)
committerJamie Cameron <jcameron@webmin.com>
Wed, 7 Jan 2009 21:10:02 +0000 (21:10 +0000)
firewall/CHANGELOG
firewall/edit_rule.cgi
firewall/lang/en

index 9653e69..127e2f3 100644 (file)
@@ -23,3 +23,4 @@ Show SNAT and masquerade inputs in custom NAT chains.
 DNS queries are now allowed when the firewall is setup for web hosting.
 Rule coments using --comment containing spaces or - are now properly parsed.
 When initializing the firewall, the actual ports for Webmin, Usermin and SSHd are used instead of the standard ports.
+Added an option for the UNTRACKED state in rules.
index 42a9367..ea253d0 100755 (executable)
@@ -318,7 +318,7 @@ print "<td><table cellpadding=0 cellspacing=0><tr><td valign=top>",
       &print_mode("state", $rule->{'state'}),"</td>\n";
 print "<td>&nbsp;<select name=state multiple size=4>\n";
 %states = map { $_,1 } split(/,/, $rule->{'state'}->[1]);
-foreach $s ('NEW', 'ESTABLISHED', 'RELATED', 'INVALID') {
+foreach $s ('NEW', 'ESTABLISHED', 'RELATED', 'INVALID', 'UNTRACKED') {
        printf "<option value=%s %s>%s (%s)\n",
                $s, $states{$s} ? "selected" : "",
                $text{"edit_state_".lc($s)}, $s;
index 8799ecb..00bec35 100644 (file)
@@ -170,6 +170,7 @@ edit_state_new=New connection
 edit_state_established=Existing connection
 edit_state_related=Related to existing
 edit_state_invalid=Not part of any connection
+edit_state_untracked=Not tracked
 edit_tos=Type of service
 edit_rtoports=Target ports for redirect
 edit_prange=Port range $1 to $2