diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-11 03:42:12 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-11 03:42:12 +0000 |
commit | d9eeccbdfdb5cf9ccc137abe22a287f35863e1c9 (patch) | |
tree | fa1898b2bb8076257300d2d3934722936d43ca27 /usr/local/www/firewall_rules.php | |
parent | f0bbc0db7933d08a769a80e3928774abac509294 (diff) | |
download | pfsense-d9eeccbdfdb5cf9ccc137abe22a287f35863e1c9.zip pfsense-d9eeccbdfdb5cf9ccc137abe22a287f35863e1c9.tar.gz |
Add RFC 1918 block indicator from m0n0wall 1.21
Diffstat (limited to 'usr/local/www/firewall_rules.php')
-rwxr-xr-x | usr/local/www/firewall_rules.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php index 10038fa..f229cd8 100755 --- a/usr/local/www/firewall_rules.php +++ b/usr/local/www/firewall_rules.php @@ -212,6 +212,31 @@ include("head.inc"); <td width="22%" class="listhdr">Description</td> <td width="10%" class="list"></td> </tr> +<?php if (($if == "wan") && isset($config['interfaces']['wan']['blockpriv'])): ?> + <tr valign="top" id="frrfc1918"> + <td class="listt"></td> + <td class="listt" align="center"><img src="block.gif" width="11" height="11" border="0"></td> + <td class="listlr" style="background-color: #e0e0e0">*</td> + <td class="listr" style="background-color: #e0e0e0">RFC 1918 networks</td> + <td class="listr" style="background-color: #e0e0e0">*</td> + <td class="listr" style="background-color: #e0e0e0">*</td> + <td class="listr" style="background-color: #e0e0e0">*</td> + <td class="listr" style="background-color: #e0e0e0">*</td> + <td class="listbg" style="background-color: #e0e0e0">Block private networks</td> + <td valign="middle" nowrap class="list"> + <table border="0" cellspacing="0" cellpadding="1"> + <tr> + <td><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_left_d.gif" width="17" height="17" title="move selected rules before this rule"></td> + <td><a href="interfaces_wan.php#rfc1918"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit rule" width="17" height="17" border="0"></a></td> + </tr> + <tr> + <td align="center" valign="middle"></td> + <td> </td> + </tr> + </table> + </td> + </tr> +<?php endif; ?> <?php $nrules = 0; for ($i = 0; isset($a_filter[$i]); $i++): $filterent = $a_filter[$i]; if ($filterent['interface'] != $if) |