aboutsummaryrefslogtreecommitdiffstats
path: root/config/pfblockerng
Commit message (Collapse)AuthorAgeFilesLines
* Stop copying countrycodes tarball and also fix a typo on array key name ↵Renato Botelho2015-04-272-3/+2
| | | | s/ccdif/ccdir/
* pfBlockerNG: Do not delete countrycodes.tar.bz2 since it's part of the ↵Renato Botelho2015-04-272-6/+5
| | | | package and will be missed during port removal on 2.3+
* Add run_depends and port_category to pfBlockerNG, also teach it to deal with ↵Renato Botelho2015-04-234-23/+52
| | | | non-PBI paths
* pfBlockerNG - Mods - Create Suppression FileBBcan1772015-03-171-1/+4
| | | | | -Previous version would not clear old suppression file when Alias is empty.
* pfBlockerNG - (c)2015 ModsBBcan1772015-03-1715-22/+22
|
* pfBlockerNG - Mods to pfblockerng_diag_dnsBBcan1772015-03-171-88/+99
| | | | | - Align pfblockerng_diag_dns.php to pfSense diag_dns.php changes - Code style mods.
* pfBlockerNG - Mods to Alerts Tab JS VariableBBcan1772015-02-231-0/+2
| | | | | - Define $mycounter variable to avoid a potential JS error when its empty.
* pfBlockerNG - Alerts Tab cosmetic changesBBcan1772015-02-221-2/+1
| | | | | Remove extra line Add missing semi-colon ;
* pfBlockerNG - Remove Dev version Variable.BBcan1772015-02-221-1/+0
|
* pfBlockerNG - Remove bak file again!BBcan1772015-02-221-2701/+0
| | | | !!!! Remove bak file added by fat fingers!!!!
* pfBlockerNG - Mods for Nano Aliastables ro/rwBBcan1772015-02-222-3/+2712
| | | | Add RW/RO commands for Aliastables Archiving for Nano/Ramdisk Installs.
* pfBlockerNG - Alerts Tab Filter RegexBBcan1772015-02-221-10/+139
| | | | | | 1) Add Filter Regex to Alerts Tab (Based on Firewall Diag Logs & Snort pkg) 2) Change Suppression icon to use "Green +" Icon
* pfBlockerNG - Collect VIP Subnets for Alerts TabBBcan1772015-02-191-1/+4
|
* pfBlockerNG - Mods to Schedule converterBBcan1772015-02-191-8/+8
| | | | | | As spotted by phil.davis - https://github.com/phil-davis/pfsense-packages/commit/c5b497d4ea370e8f076bd95af5259d547894f2fa
* Revert "pfBlockerNG - Mod to IPv4 CIDR Regex"BBcan1772015-02-191-1/+1
| | | | This reverts commit e49ea2af46ed44cd955c1f4513b66ca984c2fc8a.
* Revert "pfBlockerNG - Fix missing Start Hour code"BBcan1772015-02-191-4/+2
| | | | This reverts commit 7a9603b71a68fd1edec153151ce78eff7a17b05f.
* pfBlockerNG - Fix missing Start Hour codeBBcan1772015-02-191-2/+4
|
* pfBlockerNG - Default "Keep Settings" to "on"BBcan1772015-02-181-0/+1
| | | | https://redmine.pfsense.org/issues/4373#change-17404
* pfBlockerNG - Mod to IPv4 CIDR RegexBBcan1772015-02-171-1/+1
|
* pfBlockerNG - Mods to Alerts Tab (IPv6)BBcan1772015-02-171-53/+60
| | | | Improve Alerts Tab for IPv6 entries.
* pfBlockerNG - Remove bak file!BBcan1772015-02-171-866/+0
|
* pfBlockerNG - Mods to Alerts tab for IPv6BBcan1772015-02-172-19/+889
|
* pfBlockerNG - Mods to inc file.BBcan1772015-02-161-4/+4
| | | | | Move the unlink_if_exists outside of the if statement, as it needs to be called independently.
* pfBlockerNG - Improve Alerts Tab (Speed/Efficiency)BBcan1772015-02-161-64/+155
| | | | | | | | | | | | | | | A significant change to the Alerts Tab. This was previously using the pfSense conv_log_filter function which for this purpose was too bulky. Added a new function conv_log_filter_lite to improve the process. 75% improvement in Processing Time/CPU Load ( even with alerts counts >500 ) Improved the Javascript function so that its not called when not required. This was spinning up additional php-fpm processes. Changed !empty to !isset for Deny/Permit/Match Alert Counts. Previously could not enter a "0" value with !empty.
* pfBlockerNG - Fix Aliastable issue on Nano/Ramdisk InstallationsBBcan1772015-02-162-37/+136
| | | | | | | | | | | | | 1. On Nano/Ramdisk Installations, the /var/db/aliastables folder gets deleted on reboot. This causes a 60 second delay per alias. This PR archives the /var/db/aliastable/pfB_*.txt files to the pfBNG pbi /etc folder. On reboot the contents of this archive are restored. 2. Remove the previous Fetch Timeout code. 3. Improve the IPv6 Regex code. 4. Minor text improvements 5. Add conf_mount RW/RO to the sh script. 6. Add the aliastables() function to restore the aliastables files on reboot.
* pfBlockerNG - Alerts Tab ModificationsBBcan1772015-02-131-20/+26
| | | | | | | | 1) Move Hostname lookup to top of script to improve lookup speed. 2) Remove un-necessary Include 3) Use clog instead of grep command 4) If List Column is greater then 17 Characters, Truncate it. 5) Add Timeout to Auto-Hostname Lookup.
* pfBlockerNG - Redmine #4410 fix, Skip comment linesBBcan1772015-02-111-26/+36
| | | | | Add functionality to skip lines beginning with a comment (#) when querying for IP Addresses.
* pfBlockerNG - Move "Keep Settings" Checkbox to top of page.BBcan1772015-02-101-6/+6
| | | | | Move the "Keep Settings" Checkbox below the Enable "pfBlockerNG" checkbox to make it more visible to the user.
* pfBlockerNG - Improve Suppression and IPv6 RegexBBcan1772015-02-101-55/+60
| | | | | | 1) Add 0.0.0.0/32 to Regex for Suppression. 2) Improve IPv4 Regex validation. 3) Move Cron Define/Apply function to last step.
* pfBlockerNG - Cosmetic ChangesBBcan1772015-02-101-48/+48
|
* pfBlockerNG - Remove previously used cc folder referenceBBcan1772015-02-052-2/+3
| | | | | | | | | - Missed removing the /cc folder reference in pfblockerng.xml. No Version bump is required as this is only required for new installations. The countrycodes.tar.bz2 file is provided as a backup in case the user has a download failure from MaxMind Inc. Website.
* pfBlockerNG - Update MaxMind CC ArchiveBBcan1772015-02-041-0/+0
| | | | Add new MaxMind "Anonymous Proxy and Satellite Providers" data.
* pfBlockerNG - Fix Force Cron FunctionBBcan1772015-02-032-18/+25
| | | | | | | | | Changes: 1) When the User selects "Force Cron" and "no updates" are required, the function doesn't complete properly, and didn't restore the Cron Task. 2) XMLRPC Sync add Maxmind "Annonymous Proxy and Satellite Providers"
* pfBlockerNG - Fix Cron Update process and other improvementsBBcan1772015-02-033-27/+38
| | | | | | | | | | | Changes: 1) Add missing $pfbfolder variable to Cron Update function 2) Modify how the include files get loaded. 3) Reputation Tab only requires IPv4, simplify code to use IPv4 only for this function. 4) Update geoipupdate.sh to use the New PBI folder location and remove Archive folders after MaxMind Update process
* pfBlockerNG - Remove bak file added incorrectlyBBcan1772015-02-011-769/+0
| | | | Remove alerts bak file (Added Incorrectly)
* pfBlockerNG - Mods to php file for MaxMind Anon. Proxy/SatelliteBBcan1772015-02-011-314/+210
| | | | | | | | 1) Improve/Condense the code to determine if a List needs to be Updated. 2) Condense the IPv4/V6 code for MaxMind Database Conversion into a single process and add the MaxMind Anon. Proxy and Satellite Providers capability.
* pfBlockerNG - Mods to Alerts File for MaxMind Anon. Proxy/SatelliteBBcan1772015-02-012-2/+772
| | | | | 1) Mods for MaxMind Anonymous Proxy and Satellite Providers 2) Mods to MaxMind Dat file location from /var/db to /usr/pbi folders.
* pfBlockerNG - Mods to Log file for MaxMind Anon. Proxy/SatelliteBBcan1772015-02-011-0/+7
| | | | | 1) Mods for MaxMind Anonymous Proxy and Satellite Providers 2) Add Country Folder viewing capability.
* pfBlockerNG - Mods to Update file for MaxMind Anon. Proxy/SatelliteBBcan1772015-02-011-2/+3
| | | | | | 1) Mods for MaxMind Anonymous Proxy and Satellite Providers. 2) Add str_replace array to remove ") which will break the Auto Log Viewer from functioning.
* pfBlockerNG - Mods to sh file for MaxMind Folder re-locationBBcan1772015-02-011-1/+1
|
* pfBlockerNG - Mods to XML files for MaxMind Anon. Proxy/Satellite ProvidersBBcan1772015-02-016-0/+21
| | | | Mods to XML files for MaxMind Anon. Proxy/Satellite and priv inc file.
* pfBlockerNG - Relocated MaxMind FolderBBcan1772015-02-011-14/+30
| | | | | | | | | | | | | | | | | | | Changes - 1) Relocate MaxMind folder from /var/db to /usr/pbi Folder. Nano and Ramdisk Installations have the /var/db folder wiped on Reboot. 2) Add code to support MaxMind "Anonymous Proxy and Satellite Providers" to inc file. 3) Move $pfb_alias_lists_all below the conditional "IF" statements. 4) Improve Header Name Validation. 5) Install/De-install - Changes to support MaxMind "Anonymous Proxy and Satellite Providers" configuration. Delete previously used Folder location, and remove MaxMind Working files after Installation is completed.
* Temporary fix to add Range to Cidr functionBBcan1772015-01-271-2/+97
| | | | | | | Some IBlock lists have an issue with the existing Range to CIDR function. The Stilez Range to CIDR Function does not exhibit this behaviour. Once the existing Range to CIDR function is fixed/or replaced with the Stilez Function, this PR can be reverted.
* Remove Fat Finger TypoBBcan1772015-01-071-1/+1
|
* Improve Alert Tab - Suppression CodeBBcan1772015-01-071-4/+11
| | | | | When the user clicked "Cancel" in the second JS Prompt, it would not cancel the Suppression process. This change fixes that issue.
* XML ModsBBcan1772015-01-075-20/+28
| | | | | | | | 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)
* Update Maxmind CC Archive and pfblockerng.xmlBBcan1772015-01-072-63/+13
| | | | | | | | | | | | 1. Compressed CC file is provided as a backup in case the Download from the maxmind.com website fails to complete during Installation. 2. Update pfblockerng.xml a) Reflect Compressed Archive file changes. b) Add missing "&amp;id=0" to xml files. c) Cleanup some text. d) Add priv.inc file to xml <additional_files_needed>
* Fix typoBBcan1772014-12-201-1/+1
|
* Mods to sync_xml fileBBcan1772014-12-201-23/+75
| | | | Changes as per the previous commit for XMLRPC sync.
* Mods to INC file.BBcan1772014-12-201-85/+129
| | | | | | | | | | | | | | | | | | | | | | - Move $pfb['cc'] Variable to global array - Edit log_error texts. - Maxmind Update Cron task changes. Cron tasks are now launched via a php script using the 'dc' Argument. - Re-work of the XMLRPC Sync code. - Previous code did not validate IP addresses or Port. - Previous code did not use the "Replication Target" Hosts enabled checkbox setting in Replication Target Lines. - Add htmlspecialchars() to the Password entry - Previous code did not use the correct user - defined "Protocol" entry. - Previous code did not use the $username entry. - Remove the 'post Sync' Host Target code execution as this can collide with a Cron Task or User Forced Update. - Allow user to skip the sync of the "General Tab" Settings. - Clean up all the log_error() texts.. To make the system.log easier to read.