Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Small cleanup for readability | Vince | 2012-10-10 | 1 | -1/+1 |
| | | | Small cleanup for readability | ||||
* | Net masking math was off by 1 | Vince | 2012-10-10 | 1 | -1/+1 |
| | | | Net masking math was off by 1 | ||||
* | Fixing duplicate IP/Range entries | darkain | 2012-10-09 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | Because all three cases (CIDR, IP Range, and Single IP Address) are always tested, it is possible that more than one will have a positive match. Examples: 172.16.0.0/12 matches both for CIDR and Individual IP Address 169.254.0.0-169.254.255.255 matches for both Address Range and Individual IP By doing if, elseif, elseif instead of if, if, if testing, the later tests will only be performed if the former tests fail. Because the Individual IP Address test will return a result, even for CIDRs and IP Ranges, that test has been moved to the end of the elseif list. | ||||
* | IP Range to CIDRs not calculating properly | darkain | 2012-10-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | Several IP address ranges were being calculated improperly. Examples: 10.0.0.0-10.255.255.255 became 160.0.0.0/8 65.113.241.0-65.113.241.255 became 130.227.226.0/24 72.165.61.0-72.165.61.255 became 145.74.122.0/24 The use of complicated string and regular expressions to calculate netmasks has been replaced with basic and proper bit masking. | ||||
* | Fix equals check for pfblocker rule loading | Phil Davis | 2012-10-02 | 1 | -1/+1 |
| | | | Sorry guys - I missed out an equals sign here, the logic ended up only applying rules to the first interface, and not for others. | ||||
* | Stop pfblocker rules being added twice | Phil Davis | 2012-09-29 | 1 | -9/+18 |
| | | | | If users move rules around in the GUI, the the rules for 1 interface can end up in separate blocks in config.xml. This causes pfBlocker code to put a set of pfBlocker rules before each separate block of rules for an interface, as they are processed out of config.xml. The code here fixes that, ensuring that pfBlocker rules are only added once to an interface, the first time the interface is found in a rule. | ||||
* | pfblocker - Include boot process check | marcelloc | 2012-06-04 | 1 | -148/+159 |
| | |||||
* | Revert "pfBlocker - Include boot process check" | marcelloc | 2012-06-04 | 1 | -422/+472 |
| | | | | This reverts commit 4149a349b894688723810e4886c95205dc34058f. | ||||
* | pfBlocker - Include boot process check | Marcello Coutinho | 2012-06-04 | 1 | -472/+422 |
| | |||||
* | Merge pull request #232 from phil-davis/master | Marcello Coutinho | 2012-03-28 | 1 | -406/+452 |
|\ | | | | | Code formatting of pfblocker.inc | ||||
| * | Add bracketing to "if" and "foreach" statements. Make tab indenting ↵ | Phil Davis | 2012-03-28 | 1 | -406/+452 |
| | | | | | | | | consistent throughout. This should make it easier to debug in future, as it is now easy to see which code is nested in which loops. | ||||
* | | Generalize more references | jim-p | 2012-03-27 | 1 | -2/+2 |
|/ | |||||
* | Avoid getting pfBlocker rules duplicated on some interfaces if there are ↵ | Phil Davis | 2012-03-27 | 1 | -2/+8 |
| | | | | floating rules with interface="" mixed in the config filter rule list. | ||||
* | Include foreach loop in "if (is_array($config['aliases']['alias']))" test, ↵ | Phil Davis | 2012-03-15 | 1 | -17/+18 |
| | | | | otherwise warnings are reported when the array is empty. | ||||
* | Put pfblocker.inc back the way it was. I didn't mean to change it in this fork. | Phil Davis | 2012-03-14 | 1 | -18/+17 |
| | |||||
* | Update config/pf-blocker/pfblocker.inc | Phil Davis | 2012-03-14 | 1 | -17/+18 |
| | |||||
* | pfBlocker - include php memory limit set to 250Mb when amd64 is detected | marcelloc | 2012-02-20 | 1 | -0/+4 |
| | |||||
* | pfBlocker - fix alias array check before loop, fix duplicates on autmatic ↵ | marcelloc | 2012-02-19 | 1 | -36/+38 |
| | | | | rules and update country lists | ||||
* | pfblocker - version 1.0.1 with minor fixes | Marcello Coutinho | 2011-12-19 | 1 | -0/+23 |
| | |||||
* | pfBlocker - Fix update_frequency cron call | marcelloc | 2011-11-11 | 1 | -11/+20 |
| | |||||
* | pfBlocker - version 0.1.4.6 with fixes in float rules check and about gui info | marcelloc | 2011-11-11 | 1 | -2/+5 |
| | |||||
* | pfBlocker - version 0.1.4.5 is out with lists update frequency and widget ↵ | Marcello Coutinho | 2011-11-11 | 1 | -15/+38 |
| | | | | rule package count | ||||
* | pfBlocker - include connection timeout to fetch calls | Marcello Coutinho | 2011-11-06 | 1 | -0/+6 |
| | |||||
* | pfBlocker - fixes in boot process, embedded platform and url table get file ↵ | Marcello Coutinho | 2011-11-05 | 1 | -16/+29 |
| | | | | package function | ||||
* | pfBlocker - version 0.1.4 changes alias/lists/rules engine and gui | Marcello Coutinho | 2011-11-01 | 1 | -275/+327 |
| | |||||
* | pfBlocker - fix table reload and txt load file | Marcello Coutinho | 2011-10-30 | 1 | -2/+14 |
| | |||||
* | pfBlocker - include table-entries size validation check | marcelloc | 2011-10-29 | 1 | -5/+38 |
| | |||||
* | pfBlocker - version 0.1.2 with widget and more fixes | marcelloc | 2011-10-28 | 1 | -10/+12 |
| | |||||
* | pfBlocker - fix whitelist check | marcelloc | 2011-10-28 | 1 | -2/+2 |
| | |||||
* | pfBlocker - more improvements | marcelloc | 2011-10-28 | 1 | -5/+7 |
| | |||||
* | pfBlocker-dev - fix alias creation check for outbound traffic | marcelloc | 2011-10-28 | 1 | -1/+1 |
| | |||||
* | pfBlocker-dev - version 0.1.1 with countryblock and ipblocklist together | marcelloc | 2011-10-27 | 1 | -41/+149 |
| | |||||
* | pfBlocker-dev - update files and dir references | marcelloc | 2011-10-27 | 1 | -85/+85 |
| | |||||
* | pfblocker-dev - rename files | marcelloc | 2011-10-27 | 1 | -0/+402 |