diff options
author | BBcan177 <bbcan177@gmail.com> | 2015-01-07 13:05:25 -0500 |
---|---|---|
committer | BBcan177 <bbcan177@gmail.com> | 2015-01-07 13:05:25 -0500 |
commit | 16b1354f5ded71763ee05a9ceae298c5e48f566a (patch) | |
tree | b1329f1f7d94333ad2c6d9719d7fb290d7b126ea /config/pfblockerng/pfblockerng.php | |
parent | fb67de7e8ecd2f8550e3824541fd64a7a4ee8277 (diff) | |
download | pfsense-packages-16b1354f5ded71763ee05a9ceae298c5e48f566a.tar.gz pfsense-packages-16b1354f5ded71763ee05a9ceae298c5e48f566a.tar.bz2 pfsense-packages-16b1354f5ded71763ee05a9ceae298c5e48f566a.zip |
XML Mods
1) Add missing "&id=0" lines
2) sync.xml - Text modifications
2) Sync.xml - Add Username to the GUI
3) Remove un-necessary Field Names
4) Update pfblockerng.php (XML file builder code)
Diffstat (limited to 'config/pfblockerng/pfblockerng.php')
-rw-r--r-- | config/pfblockerng/pfblockerng.php | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/config/pfblockerng/pfblockerng.php b/config/pfblockerng/pfblockerng.php index 79f6c108..4d2ad3bf 100644 --- a/config/pfblockerng/pfblockerng.php +++ b/config/pfblockerng/pfblockerng.php @@ -879,11 +879,11 @@ $xml = <<<EOF </tab> <tab> <text>IPv4</text> - <url>/pkg.php?xml=/pfblockerng/pfblockerng_v4lists.xml</url> + <url>/pkg.php?xml=/pfblockerng/pfblockerng_v4lists.xml&id=0</url> </tab> <tab> <text>IPv6</text> - <url>/pkg.php?xml=/pfblockerng/pfblockerng_v6lists.xml</url> + <url>/pkg.php?xml=/pfblockerng/pfblockerng_v6lists.xml&id=0</url> </tab> <tab> <text>Top 20</text> @@ -936,7 +936,7 @@ $xml = <<<EOF </field> <field> <fielddescr>LINKS</fielddescr> - <fieldname>none</fieldname> + <fieldname></fieldname> <description><![CDATA[<a href="/firewall_aliases.php">Firewall Alias</a> <a href="/firewall_rules.php">Firewall Rules</a> <a href="diag_logs_filter.php">Firewall Logs</a>]]> </description> <type>info</type> @@ -1168,11 +1168,11 @@ $xmlrep = <<<EOF </tab> <tab> <text>IPv4</text> - <url>/pkg.php?xml=/pfblockerng/pfblockerng_v4lists.xml</url> + <url>/pkg.php?xml=/pfblockerng/pfblockerng_v4lists.xml&id=0</url> </tab> <tab> <text>IPv6</text> - <url>/pkg.php?xml=/pfblockerng/pfblockerng_v6lists.xml</url> + <url>/pkg.php?xml=/pfblockerng/pfblockerng_v6lists.xml&id=0</url> </tab> <tab> <text>Top 20</text> @@ -1218,14 +1218,14 @@ $xmlrep = <<<EOF </field> <field> <fielddescr>LINKS</fielddescr> - <fieldname>none</fieldname> + <fieldname></fieldname> <description><![CDATA[<a href="/firewall_aliases.php">Firewall Alias</a> <a href="/firewall_rules.php">Firewall Rules</a> <a href="diag_logs_filter.php">Firewall Logs</a>]]> </description> <type>info</type> - </field> + </field>? <field> <fielddescr><![CDATA[<strong>Why Reputation Matters:</strong>]]></fielddescr> - <fieldname>why</fieldname> + <fieldname></fieldname> <type>info</type> <description><![CDATA[By Enabling '<strong>Reputation</strong>', each Blocklist will be analyzed for Repeat Offenders in each IP Range. <ul>Example: x.x.x.1, x.x.x.2, x.x.x.3, x.x.x.4, x.x.x.5<br /> @@ -1237,7 +1237,8 @@ $xmlrep = <<<EOF Its Important to select a Broad Range of Blocklists that cover different types of Malicious Activity.<br /><br /> You *may* experience some False Positives. Add any False Positive IPs manually to the<br /> <strong>pfBlockerNGSuppress Alias</strong> or use the "+" suppression Icon in the Alerts TAB<br /><br /> - To help mitigate False Positives 'Countries' can be '<strong>Excluded</strong>' from this Process. (Refer to Country Code Settings)]]> + To help mitigate False Positives 'Countries' can be '<strong>Excluded</strong>' from this Process. (Refer to Country Code Settings) + <br /><br />Enabling <strong>De-Duplication</strong> is highly recommended before utilizing 'Reputation' processes.]]> </description> </field> <field> |