Make initial changes to allow pfSense to work in a jail.
This mostly avoids starting things that will not work and gets theinitial config. Most of the pfSense functionality will not work(pf rules, routing, etc) but it can be used for testing.
Start NTPd after dns since its a requirment and latest changes should help with delays people are reporting. Reminded-by: Jim
Correct event calling during bootup for rc.newipsecdns and also convert the command executed during an ipsec even to go through check_reload_status which will prevent races on calling rc.newipsecdns. Which might lead to many filterdns processes.
Switch this to check_reload_status event to see if it solves any possible issues of nohup blocking signals to be delivered to filterdns proces.
Drop the ntpdate sync in favor of using ntpd -s, which should have the same net effect without needing the shell script that has been prone to hanging.
Backing this out to see if it unbreaks NanoBSD upgrades with packages involved. Revert "Workaround for conf_mount_rw/ro during boot to only allow it to change at the start and end. Fixes #1279"
This reverts commit 548be1fd6697ab115cbb29d61bc5507744488094.
Workaround for conf_mount_rw/ro during boot to only allow it to change at the start and end. Fixes #1279
Trigger a VPN tunnel reload after configuring IPsec, it will handle all the hostname tunnels after boot finishes
After finishing the installation clear the flag for package sync.
Warn users a different way if packages are being reinstalled in the background. Only lock out package pages, still print a giant warning on the others. (Some people were getting stuck in this state http://forum.pfsense.org/index.php/topic,32531.0.html )
Lock firmwarelock when upgrading packages
Ticket #317. Unconditionally synchronize users on bootup this might prevent some reports of ssh keys not being there.
Do not unlink file, it's handled by behind the scenes pkg-utils.inc code
Fix typo
Include pkg-utils.inc
Reinstall packages on bootup during console. Ticket #1156
Start relayd after routing has been started.
Use full path to binary and silence errors if any on unlink.
Move all dynamic dns update processes under the same even 'reload dyndns' since it makes sense to do so.
Do the filter reload before vpn and some other services which get impacted or impact filter reload. Let alone that they do not impact filter reload at all.
Bring interfaces up only if there is a mismatch to allow them to be reassigned.
Recent move (d32d3970d58683d02f89073103eb595eaa8f395f) of routed/ items required additional files to be updated to reflect correct path.
unbreak rc.bootup
Bring gitsync to the new check_reload_status behaviour.
Use the new events mechanisms to dispatch events.
Revert "Remove redundant call to system_dhcpleases_configure. It is called in services_dnsmasq_configure."
This reverts commit 5f0b6a8f2aa3e5875188cd6720d037ef25503bca.
Remove redundant call to system_dhcpleases_configure. It is called in services_dnsmasq_configure.
Fixes #837. Fix the startup of dhcpleases during bootup. Also start the dhcpd service earlier there is not reason no to!
When booting up do not try to configure ovpn[c|s] interfaces if present also try to configure openvpn eariler just after the interfaces have been setup.
Fix comment to match what is actually doing.
Setup polling per interface rather only at bootup. This is a proper fix and a optimization on large interface cases. Also setup_microcode and polling defaults before configuring interfaces.
Use require_once here
Move all console related configuration items to config.console.inc. This will mean that these items are not included when the webConfigurator is being used and only on bootup on the console.
Save the old shutdown binary in an attempt to smooth a firmware upgrade that crosses to/from 32/64-bit.
Add an LED pattern function for assigning interfaces, and enable its use. When finished, switch back to the bootup pattern.
Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp
Conflicts: etc/inc/interfaces.inc etc/inc/pfsense-utils.inc
Fixes #374. Actually reload teh dhcpleases utility whenever the hosts files is regenerated to avoid problems.
Start sshd early on boot so it is availble as soon as the first ip is configured.
First steps for 3g serviceproviders support
o Move xml2array from rrd.inc to pfsense-utils.inc because it'll be used on non-rrd related placeso Add necessary require_once() calls to pfsense-utils.inc on places that are calling xml2array()o Add serviceproviders.xml, obtained from [1]...
Remove spurious call to mute console.
Add newline
Add missing ;
Add (C)ontinue option for the impatient
Re-create the hosts file on bootup after configuring all the interfaces. Ticket #567
Move this up in the boot sequence, the reset button check relies on its existence.
Add missing functions and move check earlier since this only checks on bootup
Add reset button support to alix/wrap. Obtained-from: m0n0wall
Ticket #295. Use empty to prevent some ghost entries in some configurations.
Make /var/run/booting exist for more of the actual booting process. Ticket #53.
Improve startup time by delaying dyndns synching.
Remove update_dns_cache.sh it seems to have been used for hostnames in the filter ruleset which now is handled quite differently.
Match conf_mount_rw with conf_mount_ro call.
Do not spread checking for value accross code. Do it in the function that is supposed to do it.
Remove test code.
Fix double include.
Add neccessary include.
Ticket #317. Synchronize user info on bootup.
Use the globals for minimum RAM warning, drop limit a little to accommodate 128 MB RAM systems
Adding script to parse dhcpd log file and populate /etc/hosts so that we can move to a newer dnsmasq. in addition, the current dnsmasq isc parsing is broken so there is not a choice to move either way. Ticket #79
Start syslogd after interfaces are configured. Ticket #196
Unbreak console lockout on bootup and in gitsync (pfSsh.php) Resolves #195
Do not show motd
Decouple filter.inc from functions.inc. There is no need to process filter functions most of the time. Include filter.inc where it is needed
Rework includes/require. This saves about 4 megabytes.Simplify get_memory(). Tested on mips/i386
Set booting to true.. not TRUE
Reviewed-by: scott@ and billm@
Create resolv.conf before loading rules. Resolves #21
Include functions.inc which will then include ipsec.inc
Unbreak IPSEC!
Make the LEDs strobe to indicate initialization/bootup.Part of feature #17
Remove openvpn.inc from functions.inc since its just a subsystem that does not need to be present on all of the includes.
Addd missing */
Add configurable option to enable glxsb.
Unset $g['booting'] instead of setting it to false.
Move RO operation down in rc and revert rc.bootup commit
Call conf_mount_ro(); after bootup
Revert "Rename cvssync to gitsync"
This reverts commit 62b035ce5f41c8342f0eea0b78e5878ff467e525.
Rename cvssync to gitsync
Port voucher login ability on CaptivePortal from M0n0Wall.
Various locking fixes are done with the import and this means that as of now pfSense has a better performin/behaving CP than m0n0wall.
Start sshd after the interfaces and routing have been configured.
Increase timeout to 9. Add chr(8) backspace mojo
Carriage return if no option selected on recovery console
Use passthru()
Ace-in-the-hole-from: JimP
Actually detect all key presses, cleanup code a bit.
Do not launch with tcsh -c, it appears to work at first glance without it.
Do not CR and increase stty timeout instead of adding sleep(1)
Use tcsh and env to set TERM
Add a \n to get the users attention
Do not backspace for now and sleep (1) second in between while loop
Use cons25
Use ^H
Do not \n
Full path to /bin/stty
Make text prettier and increase timeout to 4 seconds
Cleanup my hick ky english
Add I for installer option
Prompt for recover before parsing config