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 here Describe your package requirements here Currently there are no FAQ items provided. pfblockerlists 1.0 Firewall: pfBlocker /usr/local/pkg/pfblocker.inc pfBlocker
Firewall
pfblocker_lists.xml
General /pkg_edit.php?xml=pfblocker.xml&id=0 Lists /pkg.php?xml=pfblocker_lists.xml Top Spammers /pkg_edit.php?xml=pfblocker_topspammers.xml&id=0 Africa /pkg_edit.php?xml=pfblocker_Africa.xml&id=0 Asia /pkg_edit.php?xml=pfblocker_Asia.xml&id=0 Europe /pkg_edit.php?xml=pfblocker_Europe.xml&id=0 North America /pkg_edit.php?xml=pfblocker_NorthAmerica.xml&id=0 Oceania /pkg_edit.php?xml=pfblocker_Oceania.xml&id=0 South America /pkg_edit.php?xml=pfblocker_SouthAmerica.xml&id=0 XMLRPC Sync /pkg_edit.php?xml=pfblocker_sync.xml&id=0 Alias aliasname Description description Action action Update Frequency cron Network ranges / CIDR lists listtopic Alias Name aliasname Example: Badguys
Do not include pfBlocker name, it's done by package.
International, special or space caracters will be ignored in pfsense alias name.
]]>
input 20
List Description description input 90 none '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 ]]>
rowhelper Format format select Url or localfile url input 75
List Action Deny Inbound
Select action for network on lists you have selected.

Note:
'Deny Inbound' - Will deny access from selected countries to your network.
'Deny Outbound' - Will deny access from your users to countries you selected to block
'Permit Inbound' - Will allow access from selected countries to your network.
'Permit Outbound' - Will allow access from your users to countries you selected to block
'Alias Only' - Will create an alias with selected countries to help custom rule assignments.
'Disabled' - Will just keep selection and do nothing to selected countries.
]]>
action select
Update frequency cron Never
Select how often pfsense will download List files]]>
select
Custom list listtopic CIDR custom Example: 192.168.1.0/24]]> textarea 50 10 base64
pfblocker_php_install_command(); pfblocker_php_deinstall_command(); pfblocker_validate_input($_POST, &$input_errors); sync_package_pfblocker();