Revision 742844a5
Added by NOYB NOYB over 9 years ago
src/etc/inc/pfsense-utils.inc | ||
---|---|---|
1512 | 1512 |
|
1513 | 1513 |
function pfsense_default_table_entries_size() { |
1514 | 1514 |
$current = `pfctl -sm | grep table-entries | awk '{print $4};'`; |
1515 |
return $current;
|
|
1515 |
return (trim($current));
|
|
1516 | 1516 |
} |
1517 | 1517 |
|
1518 | 1518 |
/* Compare the current hostname DNS to the DNS cache we made |
src/usr/local/www/system_advanced_firewall.php | ||
---|---|---|
621 | 621 |
'proxy' => 'NAT + proxy', |
622 | 622 |
'purenat' => 'Pure NAT', |
623 | 623 |
) |
624 |
))->setHelp('<ul><li>The pure NAT mode uses a set of NAT rules to direct '.
|
|
624 |
))->setHelp('</span><ul class="help-block"><li>The pure NAT mode uses a set of NAT rules to direct '.
|
|
625 | 625 |
'packets to the target of the port forward. It has better scalability, '. |
626 | 626 |
'but it must be possible to accurately determine the interface and '. |
627 | 627 |
'gateway IP used for communication with the target at the time the '. |
... | ... | |
634 | 634 |
'the time the rules are loaded. Reflection rules are not created for '. |
635 | 635 |
'ranges larger than 500 ports and will not be used for more than 1000 '. |
636 | 636 |
'ports total between all port forwards. Only TCP and UDP protocols are '. |
637 |
'supported.</li></ul>Individual rules may be configured to override '. |
|
637 |
'supported.</li></ul><span class="help-block">Individual rules may be configured to override '.
|
|
638 | 638 |
'this system setting on a per-rule basis.'); |
639 | 639 |
|
640 | 640 |
$section->addInput(new Form_Input( |
... | ... | |
728 | 728 |
|
729 | 729 |
print $form; |
730 | 730 |
|
731 |
?> |
|
731 |
?></div>
|
|
732 | 732 |
<script type="text/javascript"> |
733 | 733 |
//<![CDATA[ |
734 | 734 |
events.push(function() { |
... | ... | |
768 | 768 |
</script> |
769 | 769 |
<?php |
770 | 770 |
include("foot.inc"); |
771 |
?> |
Also available in: Unified diff
HTML Compliance - System / Advanced / Firewall and NAT
Bad value 200000↩ for attribute placeholder on element input: Line feed not allowed.
<input class="form-control" name="maximumtableentries" id="maximumtableentries" type="text" placeholder="200000↩">
Element ul not allowed as child of element span in this context.
Contexts in which element ul may be used:
Where flow content is expected.
Content model for element span:
Phrasing content.
Close div tag
Close php tag