Revision f8ec8de4
Added by Renato Botelho about 15 years ago
usr/local/www/diag_resetstate.php | ||
---|---|---|
51 | 51 |
filter_flush_state_table(); |
52 | 52 |
if ($savemsg) |
53 | 53 |
$savemsg .= " "; |
54 |
$savemsg .= "The state table has been flushed successfully.";
|
|
54 |
$savemsg .= gettext("The state table has been flushed successfully.");
|
|
55 | 55 |
} |
56 | 56 |
} |
57 | 57 |
|
58 |
$pgtitle = array("Diagnostics","Reset state");
|
|
58 |
$pgtitle = array(gettext("Diagnostics"), gettext("Reset state"));
|
|
59 | 59 |
include("head.inc"); |
60 | 60 |
|
61 | 61 |
?> |
... | ... | |
68 | 68 |
<tr><td> |
69 | 69 |
<?php |
70 | 70 |
$tab_array = array(); |
71 |
$tab_array[0] = array("States", false, "diag_dump_states.php");
|
|
72 |
$tab_array[1] = array("Reset States", true, "diag_resetstate.php");
|
|
71 |
$tab_array[0] = array(gettext("States"), false, "diag_dump_states.php");
|
|
72 |
$tab_array[1] = array(gettext("Reset States"), true, "diag_resetstate.php");
|
|
73 | 73 |
display_top_tabs($tab_array); |
74 | 74 |
?> |
75 | 75 |
</td></tr> |
... | ... | |
80 | 80 |
<td width="22%" valign="top" class="vtable"> </td> |
81 | 81 |
<td width="78%" class="vtable"> <p> |
82 | 82 |
<input name="statetable" type="checkbox" id="statetable" value="yes" checked> |
83 |
<strong>Firewall state table</strong><br>
|
|
83 |
<strong><?= gettext("Firewall state table"); ?></strong><br>
|
|
84 | 84 |
<span class="vexpl"><br> |
85 |
Resetting the state tables will remove all entries from
|
|
86 |
the corresponding tables. This means that all open connections
|
|
87 |
will be broken and will have to be re-established. This
|
|
88 |
may be necessary after making substantial changes to the
|
|
89 |
firewall and/or NAT rules, especially if there are IP protocol
|
|
90 |
mappings (e.g. for PPTP or IPv6) with open connections.<br>
|
|
85 |
<?=gettext("Resetting the state tables will remove all entries from " .
|
|
86 |
"the corresponding tables. This means that all open connections " .
|
|
87 |
"will be broken and will have to be re-established. This " .
|
|
88 |
"may be necessary after making substantial changes to the " .
|
|
89 |
"firewall and/or NAT rules, especially if there are IP protocol " .
|
|
90 |
"mappings (e.g. for PPTP or IPv6) with open connections."); ?><br>
|
|
91 | 91 |
<br> |
92 |
</span><span class="vexpl">The firewall will normally leave
|
|
93 |
the state tables intact when changing rules.<br>
|
|
92 |
</span><span class="vexpl"><?=gettext("The firewall will normally leave " .
|
|
93 |
"the state tables intact when changing rules."); ?><br>
|
|
94 | 94 |
<br> |
95 |
NOTE: If you reset the firewall state table, the browser
|
|
96 |
session may appear to be hung after clicking "Reset".
|
|
97 |
Simply refresh the page to continue.</span></p>
|
|
95 |
<?=gettext("NOTE: If you reset the firewall state table, the browser " .
|
|
96 |
"session may appear to be hung after clicking "Reset". " .
|
|
97 |
"Simply refresh the page to continue."); ?></span></p>
|
|
98 | 98 |
</td> |
99 | 99 |
</tr> |
100 | 100 |
<tr> |
101 | 101 |
<td width="22%" valign="top"> </td> |
102 | 102 |
<td width="78%"> |
103 |
<input name="Submit" type="submit" class="formbtn" value="Reset">
|
|
103 |
<input name="Submit" type="submit" class="formbtn" value="<?=gettext("Reset"); ?>">
|
|
104 | 104 |
</td> |
105 | 105 |
</tr> |
106 | 106 |
</table> |
Also available in: Unified diff
Sync with mainline, diag_* files were missing