Commit Graph

80 Commits

Author SHA1 Message Date
Ermal
a8200dbfe7 Ticket #975. Rearrange code a little. 2010-10-27 20:56:57 +00:00
pierrepomes
b019222ac2 Ticket #959: keep local ipalias and proxyarp vip's during a XMLRPC restore 2010-10-26 20:29:50 -04:00
Ermal
2de2abe00c 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. 2010-08-20 16:21:11 +00:00
Ermal
19b5c3e7f6 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. 2010-08-20 13:04:08 +00:00
Ermal
68e1bc0f21 Not neccessary to call this here since vips_configure does this automatically. 2010-08-20 12:54:56 +00:00
Erik Fonnesbeck
3a3fb8eaba Fix printf/sprintf mixups. 2010-08-11 16:15:13 -06:00
Renato Botelho
f16ba51e6d Merge remote branch 'mainline/master'
Conflicts:
	usr/local/www/services_dhcp_edit.php
2010-08-03 10:54:45 -03:00
jim-p
0ce726624d Optionally sync users and groups via xmlrpc. Fixes #650 2010-08-02 17:17:46 -04:00
jim-p
62c4d0fb3e Resync DNS forwarder post-sync. Fixes #117 2010-08-02 16:54:04 -04:00
Scott Ullrich
a771c04477 Backout this commit, it was never intended to be committed 2010-08-02 16:14:56 -04:00
Vinicius Coque
72423b73c7 Merge remote branch 'mainline/master'
Conflicts:
	usr/local/www/carp_status.php
	usr/local/www/diag_nanobsd.php
	usr/local/www/services_captiveportal_ip_edit.php
2010-07-30 16:06:28 -03:00
Rafael Lucas
de63649b55 Implement gettext() calls on xmlrpc.php 2010-07-29 09:36:59 -03:00
Scott Ullrich
e702e6c959 Adding utility to show and maintain overflow tables 2010-07-28 22:32:26 -04:00
jim-p
c3fef0c9b4 Restart dhcpd and OpenVPN on backup box. Fixes #646 - Helps ticket #645 but that still needs work. 2010-06-11 14:08:13 -04:00
Scott Ullrich
7c7c8be264 Correct carp_configure_doc 2010-06-11 13:42:28 -04:00
Scott Ullrich
efe7562e16 Correctly reload carp interfaces via xmlrpc 2010-06-11 13:40:56 -04:00
Scott Ullrich
da7aa26dae vslb.inc is already included by functions.inc 2010-06-11 12:52:22 -04:00
Scott Ullrich
d1a6552b71 Its 2010 2010-01-09 23:40:19 -05:00
Scott Ullrich
0e19e0e4a2 Clean up file formatting. Fix typo. Add (C) 2010-01-09 23:39:47 -05:00
Scott Ullrich
b298dd06f9 Return 'Authentication failed' instead of a non standard type which results in kindOf() errors. 2010-01-09 14:40:03 -05:00
Scott Ullrich
2c0dd581c5 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. 2009-12-30 21:27:02 -05:00
sullrich
0674f16385 Unbreak configuration sync. Resolves #182 2009-11-28 17:06:13 -05:00
Ermal Lui
0a595d8419 s/interfaces_carp_configure/interfaces_carp_setup/ 2009-11-24 13:44:42 +00:00
Scott Ullrich
7a927e67a5 Require filter.inc and shaper.inc 2009-11-21 19:28:00 -05:00
Matthew Grooms
6b07c15ad8 Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance
5) Cleaning up the related WebUI pages
2008-08-01 06:30:34 +00:00
Bill Marquette
651c32e24c move relayd to after all gateways are configured - it'll be happier, trust me 2008-07-08 21:28:29 +00:00
Seth Mos
41e6d4bda1 Setup gateways monitor after a rpc sync 2008-07-08 21:25:28 +00:00
Bill Marquette
32259bc195 s/slbd/relayd/ move to after filter is configured 2008-07-08 21:22:52 +00:00
Scott Ullrich
0e79d356d1 Eliminate interfaces_carp_bring_up_final() 2008-07-07 00:59:30 +00:00
Scott Ullrich
dd98e33080 PHP5 fixes. Allow XMLRPC sync to work. 2008-05-27 00:59:31 +00:00
Scott Ullrich
c3638879b2 * Add xmlrpc declarations missed in last commit
* MFC exec_shell() package related function
* MFC exec_php() package related function
2008-02-14 04:57:26 +00:00
Scott Ullrich
82ae5cfc97 * Add merge_installedpackages_section_xmlrpc() call used for merging
specific <installedpackages><AREANAME> sub items without replacing
  the entire <installedpackages> area with just this item
* Adjust TinyDNS sync to use this new method to avoid replacing the
  entire destination <installedpackages> area which also whipes
  out all other installd package information.
2008-02-14 04:27:51 +00:00
Scott Ullrich
36d0358b56 Add product_copyright re-branding support
Add product_copyright_years re-branding support
Add product_website re-branding support
Add product_email re-branding support

Work sponsored-by: Centipede Networks
2007-12-16 20:43:26 +00:00
Bill Marquette
63c59458a0 sync from RELENG_1_2 2007-10-14 22:32:08 +00:00
Bill Marquette
b4d19b4667 Fix check_firmware_version description
All XMLRPC functions should be authenticated
MFC: ASAP
2007-10-14 16:21:00 +00:00
Scott Ullrich
ff66495424 Prevent a configuration sync loop from occuring when a cluster has two nodes. 2007-05-01 17:47:52 +00:00
Scott Ullrich
ee87d92965 Use array_merge_recursive_unique() 2007-02-13 23:10:14 +00:00
Scott Ullrich
383a3d3aec Use array_merge_recursive 2007-01-25 00:18:05 +00:00
Scott Ullrich
841c1f84be Use array_combine() 2007-01-24 23:46:53 +00:00
Scott Ullrich
dc1cd85d6f 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. 2007-01-24 23:39:56 +00:00
Scott Ullrich
d93bf3a587 Restart pool after XMLRPC sync.
Ticket #924
2006-04-21 17:36:04 +00:00
Scott Ullrich
e700437bdf Setup routes after loading filter on CARP sync hosts. 2006-04-19 20:25:46 +00:00
Scott Ullrich
670fe8496e Add ajaxStarted which will tell if Ajax has started. 2006-01-16 22:33:24 +00:00
Scott Ullrich
8fd749cc33 Correct errors found by eclipse 2006-01-15 03:35:19 +00:00
Scott Ullrich
e54d4de6d5 Remove #!/usr/local/bin/php 2006-01-02 23:46:18 +00:00
Scott Ullrich
03d898313b Sync w/ head 2005-11-30 03:43:55 +00:00
Scott Ullrich
171966c9eb MFC 8018
backup_config_section doesn't take a hash.
2005-11-25 21:18:21 +00:00
Scott Ullrich
985e98eed5 Bring up interfaces after sycning 2005-09-30 21:19:04 +00:00
Scott Ullrich
19aeae7fb6 Adjust carp bootup sequence. Do not down the interfaces and later up them. 2005-09-24 20:47:31 +00:00
Colin Smith
8da3de3403 Clean up and bring to spec.
* Make signatures prettier.
	* Define $XML_RPC_erruser = 200
	* Make $xmlrpc_g array with handy objects.
2005-09-18 23:15:24 +00:00