summaryrefslogtreecommitdiffstats
path: root/etc/inc
Commit message (Collapse)AuthorAgeFilesLines
* fix IPv6 static routes, is_ipaddrv6 returns true for strings including aChris Buechler2014-12-031-3/+2
| | | | CIDR mask, which then ended up broken.
* Change our default resolv-retry back to OpenVPN's default. Changing thisChris Buechler2014-12-031-1/+1
| | | | | | didn't help the ticket where it was intended to help, which was later fixed differently. This change in defaults is problematic in a lot of scenarios, go back to the way things were before. Ticket #3894
* Merge pull request #1357 from DasTestament/patch-1Chris Buechler2014-12-021-1/+1
|\
| * Update filter.incDmitriy K.2014-12-011-1/+1
| | | | | | | | | | Add missing gettext. p.s: Is it really needed to log? Lots of rules causes lots of spam on ifaces without gw. Such kind of this logging should be controllable by user via option at least.
* | reload Unbound here, fixes some instances of PD-assigned v6 IPs missing from ↵Chris Buechler2014-12-021-0/+3
| | | | | | | | unbound.conf
* | If get_interface_ip(v6) is passed an IP, return the IP.Chris Buechler2014-12-022-6/+19
| | | | | | | | | | | | Properly set up interface binding for v6 link local IPs. Ticket #4021 except had to comment out the fix for now because of #4062 to avoid config breakage.
* | Preserve exit code lost from s/exit/return/Ermal LUÇI2014-12-021-1/+1
| |
* | Cleanup whitespace.Ermal LUÇI2014-12-021-3/+1
| |
* | Remove exit from as much as possible backend codeErmal LUÇI2014-12-022-9/+9
| |
* | Comment out copy paste of v4 code. No need to delete arp entries on v6.Ermal LUÇI2014-12-021-1/+1
| |
* | Comment out copy paste of v4 code. No need to delete arp entries on v6.Ermal LUÇI2014-12-021-1/+1
| |
* | also take into account the "all" option in Unbound Network Interfaces whenChris Buechler2014-12-011-2/+2
|/ | | | setting 127.0.0.1 into resolv.conf.
* Unlink temporary xml file to avoid filling up space with junk filesErmal LUÇI2014-12-011-0/+4
|
* Only set i_dont_care_about_security_and_use_aggressive_mode_psk=yes where ↵Chris Buechler2014-11-291-4/+10
| | | | there is a P1 with aggressive+PSK enabled. Log a warning when such a configuration is in use.
* Correctly delete xml file after restore and conversion to rrdPhil Davis2014-11-291-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.
* Fix bracketing of if statement in unboundPhil Davis2014-11-291-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 PDChris Buechler2014-11-281-1/+1
|
* Add input validation on vpn_ipsec_settings.php. Fixes #4052.Chris Buechler2014-11-281-1/+1
|
* Skip v6 WANs in Unbound access-control. Ticket #4023Chris Buechler2014-11-281-1/+3
|
* fix v6 access-control in Unbound, Ticket #4023Chris Buechler2014-11-281-1/+2
|
* Ticket #4009 Force serial console whenever the installer told us so.Ermal LUÇI2014-11-281-0/+3
|
* check if Unbound is enabled in addition to dnsmasq for v6 DNS assignment. ↵Chris Buechler2014-11-281-3/+3
| | | | Fixes #4051
* Fix input validation for DNS resolver when localhost is enabled in ↵Chris Buechler2014-11-281-7/+12
| | | | resolv.conf and "all" chosen in Network Interfaces. While here, set something other than '' when all is chosen.
* Correct some logic and remove temporary filesErmal LUÇI2014-11-281-1/+2
|
* Make restore one by one to help ↵Ermal LUÇI2014-11-281-8/+12
| | | | https://forum.pfsense.org/index.php?topic=84693.0
* Correct typo on variable. Should help ↵Ermal LUÇI2014-11-281-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 Botelho2014-11-283-6/+7
| | | | and use it in appropriate places, it fixes #4049
* Fix sapi name check to detect if it's on console, ticket #4049Renato Botelho2014-11-281-4/+4
|
* Remove the . here they just confuse things as in Ticket #4049. Also check ↵Ermal LUÇI2014-11-281-9/+1
| | | | that the script is called from console to trigger the convertion and mounting of floppy.
* Remove these booting settings since are uselessErmal LUÇI2014-11-281-3/+0
|
* Remove these booting settings since are uselessErmal LUÇI2014-11-281-2/+0
|
* Bring back the old way of waiting for 3 times of 10seconds on bootup for a ↵Ermal LUÇI2014-11-281-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 typeErmal LUÇI2014-11-281-7/+1
|
* Cleanup some code and use function for easier managementErmal LUÇI2014-11-281-25/+3
|
* Add option to disable auto-added access-control entries for users who want ↵Chris Buechler2014-11-271-38/+40
| | | | to manually manage ACLs. Ticket #4023
* Fixes #4040 for pppoe use static route with -iface option to help when more ↵Ermal LUÇI2014-11-272-4/+35
| | | | than one pppoe has the same gateway. Also kill states when reloading apinger to catch up with new route
* Make the parsing of setkey -d(SAs) more reliable. Fixes #4043Ermal LUÇI2014-11-271-18/+19
|
* Correct logic of skipping for gif/gre/bridge on top of _vips. Even though ↵Ermal LUÇI2014-11-271-3/+3
| | | | this is not anymore a problem in 10 since the vip is on the physical interface but for now its ok.
* Put the safety belts for rrds on its proper location. No need to create /tmp ↵Ermal LUÇI2014-11-272-7/+13
| | | | and change permissions on these paths
* Fix Unbound host_entries.conf warnings on console during bootPhil Davis2014-11-271-7/+20
| | | | | system_hosts_generate() tried to make /var/unbound/host_entries.conf at various times in the boot sequence before the main Unbound start code was called. But these early calls to unbound-related things did not have any check to see if /var/unbound was created yet. I pulled out the code to create /var/unbound into a separate routine, create_unbound_chroot_path, then call that before any of the file_put_contents. That gets rid of the console error messages during boot, and also will correct any future issue with the sequence of calls to any of these routines.
* Setup rrd dir before calling create_gateway_quality_rrdPhil Davis2014-11-271-7/+7
| | | | | | Stops error: ERROR: opening '/var/db/rrd/WAN_DHCP-quality.rrd': No such file or directory in system log during boot. Forum: https://forum.pfsense.org/index.php?topic=84627.0
* Use the undocumented -q options of devd to reduce spamming on logs. pfSense ↵Ermal LUÇI2014-11-271-1/+3
| | | | scripts do their logging so not necessary to have devd in there.
* Do not run this during bootupErmal LUÇI2014-11-271-1/+2
|
* OptimizeErmal LUÇI2014-11-271-4/+1
|
* Do not run this code during upgrade and if ost is booting upErmal LUÇI2014-11-271-4/+8
|
* Actually comment this code out since it causes more troubles than solves for ↵Ermal LUÇI2014-11-261-1/+3
| | | | any type
* Just indent code to make it more readble.Ermal LUÇI2014-11-261-102/+98
|
* Make at least the code correct here even though it does not make sense on ↵Ermal LUÇI2014-11-261-1/+2
| | | | what it does!
* Mute this since only spams logs when interface is not thereErmal LUÇI2014-11-261-1/+1
|
* Move these functions nearby since thy are relatedErmal LUÇI2014-11-261-18/+18
|
OpenPOWER on IntegriCloud