Allow ipalias with carp as parent interface to be synchronized.
Ticket #959. Keep local items at the top of vip section
Be consistent on shifting array during authentication. Also check for array to avoid strange errors.
Actually the passed config sections are part of index 1 of the array. This fixes config sync of vips as well.
Fix config synchronization. Also unbreak the config when erroring out because it will loop indefinitely.
Fix line because of copy/pasto.
Its too late and this is optional.
Actually we expect an array to be returned.
Hello xmlrpc to another function!
Whitespace fixes to make this readble.
Ticket #975. Rearrange code a little.
Ticket #959: keep local ipalias and proxyarp vip's during a XMLRPC restore
No need to triger a vips re-configure explicitly but rather detect this during config merges. This is the best way to do this after fixing Ticket #601.
Ticket #601. If 'virtualip' section is going to be restored or merged through xmlrpc bring down all vips which will be brough up later on from the configure_carp call. This ensures that the peers on the cluster stay current to each other.
Not neccessary to call this here since vips_configure does this automatically.
Fix printf/sprintf mixups.
Merge remote branch 'mainline/master'
Conflicts: usr/local/www/services_dhcp_edit.php
Optionally sync users and groups via xmlrpc. Fixes #650
Resync DNS forwarder post-sync. Fixes #117
Backout this commit, it was never intended to be committed
Conflicts: usr/local/www/carp_status.php usr/local/www/diag_nanobsd.php usr/local/www/services_captiveportal_ip_edit.php
Implement gettext() calls on xmlrpc.php
Adding utility to show and maintain overflow tables
Restart dhcpd and OpenVPN on backup box. Fixes #646 - Helps ticket #645 but that still needs work.
Correct carp_configure_doc
Correctly reload carp interfaces via xmlrpc
vslb.inc is already included by functions.inc
Its 2010
Clean up file formatting. Fix typo. Add (C)
Return 'Authentication failed' instead of a non standard type which results in kindOf() errors.
When exec_php is called detect i the variable toreturn is present and if so forumulate it into a xmlresponse in order to return structured data.
Unbreak configuration sync. Resolves #182
s/interfaces_carp_configure/interfaces_carp_setup/
Require filter.inc and shaper.inc
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...
move relayd to after all gateways are configured - it'll be happier, trust me
Setup gateways monitor after a rpc sync
s/slbd/relayd/ move to after filter is configured
Eliminate interfaces_carp_bring_up_final()
PHP5 fixes. Allow XMLRPC sync to work.
Add product_copyright re-branding supportAdd product_copyright_years re-branding supportAdd product_website re-branding supportAdd product_email re-branding support
Work sponsored-by: Centipede Networks
sync from RELENG_1_2
Fix check_firmware_version descriptionAll XMLRPC functions should be authenticatedMFC: ASAP
Prevent a configuration sync loop from occuring when a cluster has two nodes.
Use array_merge_recursive_unique()
Use array_merge_recursive
Use array_combine()
Add pfsense.merge_config_section which can merge two keys together via XMLRPC sync instead of killing the prior section. This is useful when merging subkeys of installedpackets for example.
Restart pool after XMLRPC sync.
Ticket #924
Setup routes after loading filter on CARP sync hosts.
Add ajaxStarted which will tell if Ajax has started.
Correct errors found by eclipse
Remove #!/usr/local/bin/php
Sync w/ head
MFC 8018backup_config_section doesn't take a hash.
Bring up interfaces after sycning
Adjust carp bootup sequence. Do not down the interfaces and later up them.
Clean up and bring to spec. * Make signatures prettier. * Define $XML_RPC_erruser = 200 * Make $xmlrpc_g array with handy objects.
Clean up TODO.
Require valid authorization to reload CARP interfaces.
Correct doc comment for cap configure
Expose interfaces_carp_configure_xmlrpc()
Update our XMLRPC server to work with the new security update. This cleans up several hacks resulting from poor documentation ;)
Add pfsense.get_notices.
Remove weird mwexec().
Remove /tmp/config.cache to force a resync of configuraiton
No more xmlparse_pkg.
Fix reboot method.
Add RPC wrapper to rc.reboot. This method requires password authentication.
Include guiconfig.inc so we can use auth.inc
Minor cleanup.
Include XMLRPC helper functions and remove unnecessary code.
Remove pfsense.auto_upgrade until fixed.
Expose pfsense.auto_update and pfsense.check_firmware_version.
Whoops, forgot to increment the array counter.
Allow multicallish functionality in pfsense.restore_config_section.
Include XML parser functions.
Fix array offset (first param starts at 0 after auth).
Add (basic) authentication handler and clean up a bit.
Add $Id$ tag
Add TODO.
Expose filter_configure().
Properly handle signatures and docstrings for method introspection.
Fix XMLRPC server.
Update XMLRPC server. * Stub in docstrings and signatures (still fixing the latter). * Add xmlrpc_params_to_php and xmlrpc_array_to_php to convert XMLRPC_Value objects into a PHP array. * Still missing: struct handling, more functions!
Stub in XMLRPC support (basic md5 authentication, signatures, and wrapper for backup_config_section and restore_config_section). Methods currently exposed are pfsense.backup_config_section and pfsense.restore_config_section.