Copyright (C) 2011 Marcello Coutinho
All rights reserved.
*/
/* ========================================================================== */
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/* ========================================================================== */
]]>
Describe your package hereDescribe your package requirements hereCurrently there are no FAQ items provided.pfblockerlists1.0Firewall: pfBlocker/usr/local/pkg/pfblocker.incGeneral/pkg_edit.php?xml=pfblocker.xml&id=0Lists/pkg.php?xml=pfblocker_lists.xmlTop Spammers/pkg_edit.php?xml=pfblocker_topspammers.xml&id=0Africa/pkg_edit.php?xml=pfblocker_Africa.xml&id=0Asia/pkg_edit.php?xml=pfblocker_Asia.xml&id=0Europe/pkg_edit.php?xml=pfblocker_Europe.xml&id=0North America/pkg_edit.php?xml=pfblocker_NorthAmerica.xml&id=0Oceania/pkg_edit.php?xml=pfblocker_Oceania.xml&id=0South America/pkg_edit.php?xml=pfblocker_SouthAmerica.xml&id=0XMLRPC Sync/pkg_edit.php?xml=pfblocker_sync.xml&id=0AliasaliasnameDescriptiondescriptionActionactionUpdate FrequencycronNetwork ranges / CIDR listslisttopicAlias Namealiasname
Example: Badguys
Do not include pfBlocker name, it's done by package. International, special or space caracters will be ignored in firewall alias names. ]]>input20List Descriptiondescriptioninput90none
'Url or local file' - Add direct link to list (Example: Ads,
Spyware,
Proxies )
Note:
Compressed lists must be in gz format.
Downloaded or local file must have only one network per line and could follows PeerBlock syntax or this below:
Network ranges: 172.16.1.0-172.16.1.255
IP Address: 172.16.1.10
CIDR: 172.16.1.0/24
]]>rowhelperFormatformatselectUrl or localfileurlinput75List ActionDeny Inbound
Select action for network on lists you have selected.
Note: 'Deny Both' - Will deny access on Both directions.
'Deny Inbound' - Will deny access from selected lists to your network.
'Deny Outbound' - Will deny access from your users to ip lists you selected to block.
'Permit Inbound' - Will allow access from selected lists to your network.
'Permit Outbound' - Will allow access from your users to ip lists you selected to block.
'Disabled' - Will just keep selection and do nothing to selected Lists.
'Alias Only' - Will create an alias with selected Lists to help custom rule assignments.
While creating rules with this list, keep aliasname in the beggining of rule description and do not end description with 'rule'.
custom rules with 'Aliasname something rule' description will be removed by package.]]>actionselectUpdate frequencycronNever
Select how often List files will be downloaded]]>selectCustom listlisttopicCIDRcustom
Example: 192.168.1.0/24]]>textarea5010base64
pfblocker_php_install_command();
pfblocker_php_deinstall_command();
pfblocker_validate_input($_POST, &$input_errors);
sync_package_pfblocker();