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 | |
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')
-rw-r--r-- | config/pfblockerng/pfblockerng.php | 19 | ||||
-rw-r--r-- | config/pfblockerng/pfblockerng_sync.xml | 17 | ||||
-rw-r--r-- | config/pfblockerng/pfblockerng_top20.xml | 4 | ||||
-rw-r--r-- | config/pfblockerng/pfblockerng_v4lists.xml | 4 | ||||
-rw-r--r-- | config/pfblockerng/pfblockerng_v6lists.xml | 4 |
5 files changed, 28 insertions, 20 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> diff --git a/config/pfblockerng/pfblockerng_sync.xml b/config/pfblockerng/pfblockerng_sync.xml index 06ea40db..856af2f4 100644 --- a/config/pfblockerng/pfblockerng_sync.xml +++ b/config/pfblockerng/pfblockerng_sync.xml @@ -77,11 +77,11 @@ </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> @@ -190,21 +190,28 @@ </options> </rowhelperfield> <rowhelperfield> - <fielddescr>IP-Address</fielddescr> + <fielddescr>Target IP Address</fielddescr> <fieldname>varsyncipaddress</fieldname> <description><![CDATA[IP Address of the destination host.]]></description> <type>input</type> <size>15</size> </rowhelperfield> <rowhelperfield> - <fielddescr>Port</fielddescr> + <fielddescr>Target Port</fielddescr> <fieldname>varsyncport</fieldname> <description><![CDATA[Choose the sync port of the destination host.]]></description> <type>input</type> <size>3</size> </rowhelperfield> <rowhelperfield> - <fielddescr>Admin Password</fielddescr> + <fielddescr>Target Username (admin)</fielddescr> + <fieldname>varsyncusername</fieldname> + <description><![CDATA[Enter the Username Account for Authentication]]></description> + <type>input</type> + <size>15</size> + </rowhelperfield> + <rowhelperfield> + <fielddescr>Target Password</fielddescr> <fieldname>varsyncpassword</fieldname> <description><![CDATA[Password of the user "admin" on the destination host.]]></description> <type>password</type> diff --git a/config/pfblockerng/pfblockerng_top20.xml b/config/pfblockerng/pfblockerng_top20.xml index 7d2cf033..4974c488 100644 --- a/config/pfblockerng/pfblockerng_top20.xml +++ b/config/pfblockerng/pfblockerng_top20.xml @@ -77,11 +77,11 @@ </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> diff --git a/config/pfblockerng/pfblockerng_v4lists.xml b/config/pfblockerng/pfblockerng_v4lists.xml index 17f1a14d..ce92f4be 100644 --- a/config/pfblockerng/pfblockerng_v4lists.xml +++ b/config/pfblockerng/pfblockerng_v4lists.xml @@ -80,12 +80,12 @@ </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> <active/> </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> diff --git a/config/pfblockerng/pfblockerng_v6lists.xml b/config/pfblockerng/pfblockerng_v6lists.xml index 2a381451..6f507057 100644 --- a/config/pfblockerng/pfblockerng_v6lists.xml +++ b/config/pfblockerng/pfblockerng_v6lists.xml @@ -80,11 +80,11 @@ </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> <active/> </tab> <tab> |