summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
Commit message (Collapse)AuthorAgeFilesLines
* Always make sure php has its own process manager to make lighty happyErmal2013-01-031-1/+1
|
* Avoid duplicate log entries for facilities higher or equal daemon.info. It ↵Renato Botelho2013-01-031-1/+1
| | | | should fix #2626
* Simplify lighty config and tune mod_evasive as needed. Mostly a cherry-pick ↵Ermal2013-01-031-80/+22
| | | | from RELENG_2_0 changes
* Cleanup a bit the syslog generationErmal2012-11-201-16/+11
|
* Remove preload.php which warmed the caches. IT hurts on embedded and really ↵Ermal2012-11-151-6/+0
| | | | does not help that much
* Merge changes required for using the ISC dhclient in pfSense with prefix ↵smos2012-10-121-0/+20
| | | | | | | delegation. This should hopefully be a bit more reliable in the long run. The dhclient6-script could be merged with dhclient-script in the future. Still need to cleanup old adresses and prefixes, as well as LAN prefixes when a old prefix dissapears. This needs some thought and clue to strap together.
* Rather use the system constants as definedErmal2012-10-041-4/+4
|
* Use integer rather than hex to put these values. AMD64 builds do rather ↵Ermal2012-10-041-4/+4
| | | | awkward problems
* Add restrict lines to limit what local clients are allowed to do to the ntp ↵jim-p2012-10-031-0/+2
| | | | server.
* Don't die silently if the time is too far off. Fix from: dhatzjim-p2012-09-231-0/+1
|
* Fix ntp config syntax for the version we're usingjim-p2012-08-251-2/+2
|
* This file won't exist at bootup yet, drop it from the sanity test.jim-p2012-08-211-4/+2
|
* Teach ntpd how to get its time from a local GPS on serial.jim-p2012-08-211-0/+61
|
* Correct mod_evasive setting per CP to confirm to what the CP page ↵Ermal2012-08-011-3/+4
| | | | description says. Resolves #2270
* Refine testErmal2012-08-011-3/+3
|
* Correct generation of lighty config for CP now that zone is passed as parameterErmal2012-08-011-35/+16
|
* Expand cipher list and remove a cipher that Safari on iOS does not like ↵jim-p2012-07-181-1/+1
| | | | after recent lighttpd changes. Fixes #2553
* Fix for this crash report, received after resetting a test system to factory ↵Phil Davis2012-07-081-1/+1
| | | | | | | | | | | | | defaults and setting up initila stuff: i386 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Sat Jul 7 21:34:19 EDT 2012 root@FreeBSD_8.3_pfSense_2.1.snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_wrap.8.i386 Crash report details: PHP Errors: [08-Jul-2012 14:51:29 UTC] PHP Fatal error: Cannot use string offset as an array in /etc/inc/system.inc on line 1274
* Fix system_routing_configure() function so it does not try to add static ↵maho2012-07-061-2/+2
| | | | routes ipv6 subnets to ipv4 gateways or ipv4 subnets to ipv6 gateways while using aliases that includes both ipv4 and ipv6 subnets.
* maxprocperip is defined per zonebcyrill2012-06-091-1/+1
|
* Add blackhole to Null routessmos2012-06-081-2/+6
| | | | Redmine ticket #2471
* Allow for Null routessmos2012-06-041-1/+1
|
* Fix input validation and import test.jim-p2012-05-301-1/+1
|
* Switch to ntpd from ports, add Services > NTP to select interfaces for ↵jim-p2012-05-301-2/+20
| | | | binding. Respect old ntp settings in the process.
* On its own, ntpd does not sync fast enough at bootup, so bring back the ↵jim-p2012-05-161-2/+6
| | | | ntpdate sync but improve it so it can't get stuck forever.
* Clear process signals before exec() or ntpd misbehaves if called from PHP on ↵jim-p2012-05-151-0/+3
| | | | i386.
* Use FreeBSD's ntpd instead in the backendjim-p2012-05-141-30/+9
|
* max_procs adjustments for small memory systems, attempt 2Irving Popovetsky2012-05-101-15/+19
| | | | | | | | | | | | | | | | | | | | | | | Per Jim P's feedback, move max_procs completely out of system_webgui_start() and move all of the memory/procs decision logic to system_generate_lighty_config(). Adjust the captive portal max_procs to reflect the low memory conditions like ALIX which tends to run out of memory quickly due to piggy PHP processes. In real life testing, each PHP process (with APC) can consume up to 64MB RAM. 128MB ALIX systems show an available RAM of 107 MB. 256MB ALIX systems show an available RAM of 228 MB. The logic here is that <128MB systems should never be running more than 1 PHP process, and <256MB systems should run 1 by default, or 2 if captive portal is running. Also give the top-end captive portal 1 more PHP process (6 now) although I think very busy captive portals will probably need more.
* Test if this is an array before using it as an array.jim-p2012-05-061-0/+2
|
* Add support for aliases in DNS Forwarder, fixes #2410Lorenz Schori2012-05-051-0/+6
|
* Move routing (radvd, routed, ospf, bgp) to its own log since these daemons ↵jim-p2012-05-011-2/+6
| | | | can be really spammy at times.
* Move the stop_packages code to a function, and call the function from the ↵jim-p2012-04-301-1/+2
| | | | shell script, and call the function directly for a reboot. Fixes #2402 and ticket #1564
* Include the ntp facility also, should fix ntp loggingjim-p2012-04-171-1/+1
|
* Prevent a invalid argument on a empty arraysmos2012-04-161-0/+2
|
* Fix missing - on route parameterjim-p2012-04-141-1/+1
|
* Merge pull request #90 from vizvayu/masterJim P2012-04-131-4/+6
|\ | | | | Mode selection options for PowerD
| * Added mode selection options for PowerD.Cristian Feldman2012-04-101-4/+6
| |
* | Enable verbosity to actually put something in the logsErmal2012-04-131-1/+1
| |
* | Add brackets to a syslog server if it's an IPv6 IP. (Though FreeBSD's ↵jim-p2012-04-121-3/+11
| | | | | | | | syslogd still won't send to it ... http://www.freebsd.org/cgi/query-pr.cgi?pr=150530&cat=misc )
* | Add alias support to static routes (needs some testing) Ticket #2239jim-p2012-04-111-2/+3
|/ | | | | | | | Conflicts: etc/inc/filter.inc etc/inc/util.inc usr/local/www/system_routes_edit.php
* Expand these checks to include 'dynamic' or they'll never match dynamic ↵jim-p2012-04-041-2/+2
| | | | gateways, leading to issues with routing.
* Move some of the log file tabs around.smos2012-03-291-2/+14
| | | | Add seperate tabs for dnsmasq,unbound as well as gateways.
* fix for: Captive Portal cannot work on master branchDarren Embry2012-03-221-2/+2
| | | | | | | | reverting to listening on 0.0.0.0 seems to work just fine mostly fixes #1700 . http://redmine.pfsense.org/issues/1700
* Set FCGI_CHILDREN to 0 since it does not make sense php to manage itself ↵Ermal2012-03-151-3/+3
| | | | when lighttpd is doing so. This makes it possible to recover from 550-Internal... error.
* Ermal says the new openntpd binary fixes this instead -- Revert "Start ntpd ↵jim-p2012-03-131-1/+1
| | | | | | in the background since we don't need to care about its return data. Speeds up GUI with broken DNS." This reverts commit 89d291ec25c12ed5744c63679270d1a13b5c6b3a.
* Start ntpd in the background since we don't need to care about its return ↵jim-p2012-03-131-1/+1
| | | | data. Speeds up GUI with broken DNS.
* Add the ability to disable static routes without deleting themWarren Baker2012-03-021-0/+5
|
* Correctly match ntpd syslog messagesErmal2012-03-021-2/+2
|
* only skip adding default gateway if OLSR is actually enabled, and log why ↵Chris Buechler2012-02-221-1/+2
| | | | you're skipping it, otherwise it's tons of "fun" to dig in and figure out what's going on.
* Change SNMP binding option to work on any eligible interface/VIP. Fixes #2158jim-p2012-02-011-1/+1
|
OpenPOWER on IntegriCloud