Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove exit and also properly close open files | Ermal LUÇI | 2014-12-02 | 2 | -5/+8 |
| | |||||
* | Lock rc.linkup based on interface to avoid races in between up/down events ↵ | Ermal LUÇI | 2014-12-02 | 1 | -1/+4 |
| | | | | which might create a loop. This is more a timing issue but better enforce serialization here. check_reload_status forces this but not between start and stop but just between similar events. Probably need to bring more inteligence there. | ||||
* | Avoid calling exit in backend now that fpm is used for php since its a ↵ | Ermal LUÇI | 2014-12-02 | 1 | -6/+7 |
| | | | | pesimization and can break calling scripts assumption on locks. | ||||
* | Comment out copy paste of v4 code. No need to delete arp entries on v6. | Ermal LUÇI | 2014-12-02 | 1 | -1/+1 |
| | |||||
* | Comment out copy paste of v4 code. No need to delete arp entries on v6. | Ermal LUÇI | 2014-12-02 | 1 | -1/+1 |
| | |||||
* | also take into account the "all" option in Unbound Network Interfaces when | Chris Buechler | 2014-12-01 | 1 | -2/+2 |
| | | | | setting 127.0.0.1 into resolv.conf. | ||||
* | Revert "/etc/ssl/cert.pem was obsoleted by mistake, remove it" | Renato Botelho | 2014-12-01 | 1 | -0/+1 |
| | | | | | | Since /usr/local/ssl/cert.pem is in place now, it can be obsoleted This reverts commit bb788b8ceb3337b62401819378ec3070deb18966. | ||||
* | /etc/ssl/cert.pem was obsoleted by mistake, remove it | Renato Botelho | 2014-12-01 | 1 | -1/+0 |
| | |||||
* | Unlink temporary xml file to avoid filling up space with junk files | Ermal LUÇI | 2014-12-01 | 1 | -0/+4 |
| | |||||
* | Only set i_dont_care_about_security_and_use_aggressive_mode_psk=yes where ↵ | Chris Buechler | 2014-11-29 | 1 | -4/+10 |
| | | | | there is a P1 with aggressive+PSK enabled. Log a warning when such a configuration is in use. | ||||
* | Merge pull request #1356 from phil-davis/patch-3 | Renato Botelho | 2014-11-29 | 1 | -1/+1 |
|\ | |||||
| * | Correctly delete xml file after restore and conversion to rrd | Phil Davis | 2014-11-29 | 1 | -1/+1 |
|/ | | | | When doing "Generating RRD graphs" at bootup, the data is restored from /cf/conf/rrd.tgz into xml format files in /var/db/rrd. Those xml files are then convert to rrd files. After that, the xml files should be deleted - but the xml file path was not quite right, so they were not being deleted. This fixes it. | ||||
* | Merge pull request #1355 from phil-davis/patch-2 | Renato Botelho | 2014-11-29 | 1 | -2/+2 |
|\ | |||||
| * | Fix bracketing of if statement in unbound | Phil Davis | 2014-11-29 | 1 | -2/+2 |
|/ | | | | | | Stops message: Warning: in_array() expects parameter 2 to be array, null given in /etc/inc/unbound.inc on line 607 The problem was introduced when lines 607-608 were added without adding these brackets. IMHO programming standards should include ALWAYS using brackets for "if" and other similar statements. That way this sort of code addition accident does not happen. But I guess there are others who have different opinions. | ||||
* | fix syntax on prefix6 for DHCPv6 PD | Chris Buechler | 2014-11-28 | 1 | -1/+1 |
| | |||||
* | validate MTU and MSS as integers, and don't allow MSS larger than pf will ↵ | Chris Buechler | 2014-11-28 | 1 | -4/+7 |
| | | | | accept to avoid broken rulesets. | ||||
* | Add input validation on vpn_ipsec_settings.php. Fixes #4052. | Chris Buechler | 2014-11-28 | 2 | -2/+58 |
| | |||||
* | Skip v6 WANs in Unbound access-control. Ticket #4023 | Chris Buechler | 2014-11-28 | 1 | -1/+3 |
| | |||||
* | fix v6 access-control in Unbound, Ticket #4023 | Chris Buechler | 2014-11-28 | 1 | -1/+2 |
| | |||||
* | Ticket #4009 Force serial console whenever the installer told us so. | Ermal LUÇI | 2014-11-28 | 1 | -0/+3 |
| | |||||
* | check if Unbound is enabled in addition to dnsmasq for v6 DNS assignment. ↵ | Chris Buechler | 2014-11-28 | 1 | -3/+3 |
| | | | | Fixes #4051 | ||||
* | Fix input validation for DNS resolver when localhost is enabled in ↵ | Chris Buechler | 2014-11-28 | 2 | -10/+15 |
| | | | | resolv.conf and "all" chosen in Network Interfaces. While here, set something other than '' when all is chosen. | ||||
* | Merge pull request #1354 from phil-davis/patch-2 | Ermal | 2014-11-28 | 1 | -5/+9 |
|\ | |||||
| * | Process RRD backup compression in var | Phil Davis | 2014-11-28 | 1 | -5/+9 |
| | | | | | | | | | | | | | | | | Prior to this the RRD xml files were added uncompressed to the archive in /cf/conf and then that archive was compressed at the end. My /cf partition is only 50MB. The uncompressed archive of all the xml files is already 35MB. With a few config backups, or a few more VLANs (xml files) I will soon run into the 50MB limit. This change creates each xml from rrd one at a time, then compresses that 1 xml into a tgz in /var/db/rrd, deletes the xml then loops to the next rrd file. At the end of the loop, there are a bunch of /var/db/rrd/*.tgz files, which are small (they take up <2MB on my system, from XMLs that total 35MB). They are then unpacked and put into 1 /cf/conf/rrd.tgz in a single command. Thus there is no time when 35MB of xml content has to be stored anywhere. This should work for systems with a lot of RRD files that turn into XML and then TGZ one at a time. | ||||
* | | Correct some logic and remove temporary files | Ermal LUÇI | 2014-11-28 | 1 | -1/+2 |
| | | |||||
* | | Make restore one by one to help ↵ | Ermal LUÇI | 2014-11-28 | 1 | -8/+12 |
|/ | | | | https://forum.pfsense.org/index.php?topic=84693.0 | ||||
* | Process the rrd files one by one to fix ↵ | Ermal LUÇI | 2014-11-28 | 1 | -2/+8 |
| | | | | https://forum.pfsense.org/index.php?topic=84693.0. Restore will come after | ||||
* | Correct typo on variable. Should help ↵ | Ermal LUÇI | 2014-11-28 | 1 | -1/+1 |
| | | | | https://forum.pfsense.org/index.php?topic=84451.0 | ||||
* | Add a parameter on platform_booting to help detect if it's on GUI on console ↵ | Renato Botelho | 2014-11-28 | 3 | -6/+7 |
| | | | | and use it in appropriate places, it fixes #4049 | ||||
* | Fix sapi name check to detect if it's on console, ticket #4049 | Renato Botelho | 2014-11-28 | 1 | -4/+4 |
| | |||||
* | Remove the . here they just confuse things as in Ticket #4049. Also check ↵ | Ermal LUÇI | 2014-11-28 | 1 | -9/+1 |
| | | | | that the script is called from console to trigger the convertion and mounting of floppy. | ||||
* | Remove these booting settings since are useless | Ermal LUÇI | 2014-11-28 | 1 | -3/+0 |
| | |||||
* | Remove these booting settings since are useless | Ermal LUÇI | 2014-11-28 | 1 | -2/+0 |
| | |||||
* | Remove these booting settings since are useless | Ermal LUÇI | 2014-11-28 | 2 | -6/+0 |
| | |||||
* | Bring back the old way of waiting for 3 times of 10seconds on bootup for a ↵ | Ermal LUÇI | 2014-11-28 | 1 | -6/+4 |
| | | | | ppp type interface to come up. while here also do bringup of virtual interfaces only when not booting | ||||
* | Use function for determining if its ppp type | Ermal LUÇI | 2014-11-28 | 1 | -7/+1 |
| | |||||
* | Cleanup some code and use function for easier management | Ermal LUÇI | 2014-11-28 | 1 | -25/+3 |
| | |||||
* | Merge pull request #1352 from phil-davis/patch-8 | Renato Botelho | 2014-11-28 | 1 | -1/+1 |
|\ | |||||
| * | Fixup misleading comment | Phil Davis | 2014-11-28 | 1 | -1/+1 |
| | | | | | | | | This comment was misleading - this is the IP of whatever interface that is being processed, not just WAN IP. Might as well fix while noticed, to save someone else from misunderstanding in future. The curwanip var is really "Current Interface IP" and could be called curinterfaceip, but I was not about to search/replace all that at this point, since it is only a var name. | ||||
* | | Merge pull request #1351 from phil-davis/patch-7 | Renato Botelho | 2014-11-28 | 1 | -1/+1 |
|\ \ | |||||
| * | | Fix module name in top comment | Phil Davis | 2014-11-28 | 1 | -1/+1 |
| |/ | | | | | A bit of rubbish to update while I notice it. | ||||
* | | Add input validation to Unbound advanced settings page. Ticket #4050 | Chris Buechler | 2014-11-28 | 1 | -0/+40 |
| | | |||||
* | | Validate as integers, not just numeric, to prevent possible breakage. | Chris Buechler | 2014-11-28 | 1 | -2/+2 |
| | | |||||
* | | Add option to disable auto-added access-control entries for users who want ↵ | Chris Buechler | 2014-11-27 | 2 | -39/+54 |
|/ | | | | to manually manage ACLs. Ticket #4023 | ||||
* | Unset any previous dat | Ermal LUÇI | 2014-11-27 | 1 | -0/+1 |
| | |||||
* | Use the pfsense module functions rather than execing. Fixes also possible ↵ | Ermal LUÇI | 2014-11-27 | 1 | -6/+6 |
| | | | | attack vectors. | ||||
* | Fixes #4040 for pppoe use static route with -iface option to help when more ↵ | Ermal LUÇI | 2014-11-27 | 2 | -4/+35 |
| | | | | than one pppoe has the same gateway. Also kill states when reloading apinger to catch up with new route | ||||
* | Use the pfsense module functions rather than execing. Fixes also possible ↵ | Ermal LUÇI | 2014-11-27 | 3 | -5/+12 |
| | | | | attack vectors. | ||||
* | use correct variable here | Chris Buechler | 2014-11-27 | 1 | -1/+1 |
| | |||||
* | Make the parsing of setkey -d(SAs) more reliable. Fixes #4043 | Ermal LUÇI | 2014-11-27 | 1 | -18/+19 |
| |