Move { and } to same line.
Rework includes/require. This saves about 4 megabytes.Simplify get_memory(). Tested on mips/i386
add links to IPsec logs under IPsec status and other pages
Reviewed-by: scott@ and billm@
Include functions.inc which will then include ipsec.inc
Unbreak ipsec. ipsec.inc is needed to set the various drop down box values such as 'IP Address, Encryption Algo, etc.. Someone needs a big pointy hat.
Fix interface list usage
WARN: Please ask before introducing old code on what have changed!
Fix ipsec vpn phase1 post code so that we correctly try to delete the old static route if required.
Move the IPsec pinghost option from phase1 to phase2. Correct somebugs that were preventing the local address from being selected.
Migrate IPsec certificate management to centralized system.
Cleanup ipsec interfaces a bit and make sure they are displayed in tabs for consistency.
Add initial support for granular IPsec SPD changes.
Fix a few minor problems with the IPsec configuration interface. Make surewe don't copy the ikeid when duplicating a phase1 entry. Simplify the codethat deletes all associated phase2 entries when a phase1 is deleted. I wasand still am learning the finer points of php.
Add CSS header
Rework most of the OpenVPN support. The interfaces have been updated tonot use the pkg system and the configuration has been migrated to anopenvpn prefix. The centralized user and certificate manager is now usedto support the openvpn configurations. Most of the files removed in this...
Only read ipsec phase1 configuration values that are relvent for theconfigured authentication method. This silences harmless php warnings.Reported by Scott Ullrich.
Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls2) Accurate generation of privilege definitions from source3) Merging the user and group privileges into a single set4) Allow any privilege to be added to users or groups w/ inheritance...
Introduce a new and improved version of IPsec mobile client support. Themobile client tab is now used to configure user authentication (Xauth) andclient configuration (mode-cfg) options. User authentication is currentlylimited to system password file entries. This will be extended to support...
Overhaul IPsec related code. Shared functions have been consolidated intoa new file named /etc/ipsec.inc. Tunnel definitions have been split intophase1 and phase2. This allows any number of phase2 definitions to becreated for a single phase1 definition. Several facets of configuration...