Commit Graph

8624 Commits

Author SHA1 Message Date
Scott Ullrich
fdf4e791dc Set net.inet.carp.log=1. Ticket #1038 2010-11-29 15:27:30 -05:00
jim-p
1bab0df1b7 Add suggested fix from ticket #1037 2010-11-29 08:50:38 -05:00
Erik Fonnesbeck
f3c91cb5ac Reintroduce this optimization, but use the correct return value this time. 2010-11-28 19:19:27 -07:00
Scott Ullrich
d04e808277 Unbreak sysctl handling. 2010-11-28 20:27:53 -05:00
Scott Ullrich
84cf0b3ebf Use exec() 2010-11-28 19:55:35 -05:00
Scott Ullrich
690d24af8c Add pfSsh.php externalconfiglocator playback script 2010-11-28 19:04:34 -05:00
Scott Ullrich
8850a528f9 Nuke newline 2010-11-28 18:10:37 -05:00
Scott Ullrich
c58b5f44ea Skip slices on bootup device 2010-11-28 18:05:53 -05:00
Scott Ullrich
70bea648be Cleanup 2010-11-28 17:34:47 -05:00
Scott Ullrich
b3405363b9 Use product name 2010-11-28 17:30:18 -05:00
Scott Ullrich
651a686774 Use head binary and eliminate a pipe to avoid broken pipe warning 2010-11-28 17:17:21 -05:00
Scott Ullrich
6edc4c0c5c Fix misc errors. File now restores and throws an alert when completed. 2010-11-28 16:59:59 -05:00
Scott Ullrich
a620ea3634 Add php header 2010-11-28 16:23:28 -05:00
Scott Ullrich
58ba038ae5 Handle slices 2010-11-28 14:26:50 -05:00
Scott Ullrich
46dd9586f2 Only check / and /config for config.xml. Otherwise you might step on a nanobsd installation. 2010-11-28 14:13:23 -05:00
Scott Ullrich
206f684d91 Adding external configuration loader which will look on all found disks except bootup disk for config.xml. If tconfig.xml is found on an external disk then it tests the roobobj to ensure its a valid file then calls test_config() to ensure it is a valid xml file. Once the file is validated a backup_config() is called to backup the current configuration and finally the file is installed using restore_backup() 2010-11-28 14:03:51 -05:00
Ermal
0ba17c67a0 Ooops add missing or. 2010-11-27 14:47:49 +00:00
Scott Ullrich
b9bc333b44 Increase suhosin maximum memory to avoid this error: ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/etc/inc/config.inc', line 59) 2010-11-26 18:06:07 -05:00
Erik Fonnesbeck
990d7c037c Check for pfsense root object name in config.xml as a fallback if the configured name is not found. 2010-11-26 15:57:55 -07:00
Ermal
befad72821 Ticket #1037. Move environment manipulation to the authentication script since escaping slashes is not so easz on dynamic built paths. 2010-11-26 21:54:44 +00:00
Ermal
bad2989788 No need to go through the array when the key can be tested directly. 2010-11-26 21:35:21 +00:00
Ermal
adc96206c6 Remove temporary hack which spams console during boot. 2010-11-26 21:26:51 +00:00
Ermal
9a7f673188 Use php_uname where possible. 2010-11-26 20:54:17 +00:00
Ermal
7a7551569a Do not exec but use php_uname 2010-11-26 20:03:23 +00:00
Ermal
cfa62e06c7 include broadcast address to allow dhcp to work. 2010-11-26 12:20:30 +00:00
Ermal
979c816c6d Do not guess the defaultgw this is static info. 2010-11-25 12:31:08 +00:00
Ermal
e1b17c7a63 Ticket #1037. Add suggestion in the ticket for using the CA supplied to openvpn for authenticating to SSL LDAP. 2010-11-25 11:57:01 +00:00
Scott Ullrich
fedab9987c Nuke trailing c/r 2010-11-24 13:08:10 -05:00
Scott Ullrich
6bd471ee40 Nuke trailing c/r 2010-11-24 13:04:52 -05:00
Scott Ullrich
31c3942c4b Set memory to 256M on amd64 2010-11-24 13:03:34 -05:00
Scott Ullrich
d9114ce0a2 Ensure returned item is an array. 2010-11-23 13:54:54 -05:00
Scott Ullrich
19f101d7d8 Return CARP IP Addresses in get_configured_ip_addresses() 2010-11-23 13:52:57 -05:00
Ermal
bafe2769ff Remove this since it does not make anymore sense after code arrangements. 2010-11-23 16:58:42 +00:00
Ermal
a0b205f0d2 Do not output done. because it does not related overall to the output messages. 2010-11-23 16:57:22 +00:00
Ermal
4ed5ad5a91 Ticket #1023. Correct carp status even on the status page. 2010-11-23 12:57:32 +00:00
Ermal
108cfddf3e Ticket #1023. Correct the widget code bringing it full speed with latest carp code. 2010-11-23 12:47:27 +00:00
Ermal
83ae810386 Try 3 times to resolve the host to ip before giving up. Leave a proper log if we fail to resolve. Ticket #943. 2010-11-23 11:33:17 +00:00
Ermal
51d0f81698 Use full path to command binaries. 2010-11-23 11:32:22 +00:00
Erik Fonnesbeck
a2b6c52f72 Add option to control automatic creation of NAT rules which assist forwarding rules that send traffic out to the same subnet it originated from. 2010-11-22 11:38:59 -07:00
Erik Fonnesbeck
4389352c75 In filter_generate_reflection_nat, generate a rule with the actual subnet instead of using the interface:network shortcut. Ticket #737 2010-11-22 05:27:13 -07:00
Scott Ullrich
b3a4ff7ca5 Add newlines 2010-11-21 17:40:14 -05:00
Scott Ullrich
279f4da868 nuke ; 2010-11-21 16:26:35 -05:00
Scott Ullrich
558dda01da Remove hw.bce.tso_enable item it is loader.conf only per jimp 2010-11-21 16:22:56 -05:00
Scott Ullrich
f41b7bdf17 Remove bce item it is loader.conf only per jimp 2010-11-21 16:21:46 -05:00
Scott Ullrich
fb182cb2ca Define hw.bce.tso_enable 2010-11-21 16:20:20 -05:00
Erik Fonnesbeck
ed32aef778 Don't consider the HTTP referrer check as passing if it was skipped. Ticket #1027 2010-11-21 10:36:10 -07:00
Erik Fonnesbeck
0f806ecab4 Upon restoring a config, replacing whole sections, or editing config.xml in edit.php, prevent possible accidental lockout from DNS rebind and HTTP referrer checks by disabling them until reboot or the next time they pass, whichever comes sooner. Ticket #1027 2010-11-21 10:23:34 -07:00
Scott Ullrich
feae85bc7e Increase vfs.read_max to 32. See http://ivoras.sharanet.org/blog/tree/2010-11-19.ufs-read-ahead.html .. This can help dramatically if using Squid or any other packae that does a lot of hard disk reads. 2010-11-20 14:40:15 -05:00
jim-p
c049daefa8 Disable this test, it was causing some package file downloads to be skipped for me, and nothing else seems to set/use this variable anywhere. 2010-11-20 00:19:16 -05:00
jim-p
e39243843f Reorder some code and combine the nobind test with the lport code to ensure only the needed options are used in any given combination. 2010-11-19 10:44:54 -05:00