From 8149fea217bbb498bd9a3b945ca6e9d269eb17cf Mon Sep 17 00:00:00 2001 From: doktornotor Date: Fri, 6 Nov 2015 09:19:40 +0100 Subject: XMLRPC sync fixes and improvements - Add CARP/HA sync option - Add enable/disable checkbox per replication target - Add protocol/port selection - Add timeout setting - Fix literal IPv6 handling for sync targets - Do settings validation and only try to sync when configuration is valid --- config/filer/filer_sync.xml | 112 +++++++++++++++++++++++++++++++------------- 1 file changed, 79 insertions(+), 33 deletions(-) (limited to 'config/filer') diff --git a/config/filer/filer_sync.xml b/config/filer/filer_sync.xml index 0b4124ce..1e3614d0 100644 --- a/config/filer/filer_sync.xml +++ b/config/filer/filer_sync.xml @@ -44,7 +44,7 @@ ]]> filersync - 1.2 + 0.60.6 Filer: Sync /usr/local/pkg/filer.inc @@ -61,50 +61,96 @@ listtopic - temp - Enable Filer configuration sync + XMLRPC Sync - Automatically sync Filer configuration changes. + Enable Sync synconchanges - pfSense will automatically sync changes to the hosts defined below. (Leave blank to use 'admin'.) - checkbox + +
+ Important: While using "Sync to host(s) defined below", only sync from host A to B, A to C but do not enable XMLRPC sync to A. + This will result in a loop! + ]]> +
+ select + + disabled + + + + +
- Remote Servers + Sync Timeout + synctimeout + XMLRPC timeout in seconds. + select + + 250 + + + + + + + + + + Replication Targets none rowhelper - - IP Address - ipaddress - IP Address of remote server. - input - 20 - - - - User Name - username - user name of remote server. - input - 20 - - - Password - password - Password for remote server. - password - 20 - - + + Enable + syncdestinenable + + checkbox + + + Protocol + syncprotocol + + select + HTTP + + + + + + + IP Address/Hostname + ipaddress + + input + 40 + + + Port + syncport + + input + 3 + + + Username (admin) + username + + input + 20 + + + Admin Password + password + + password + 20 +
filer_sync_on_changes(); - - unset($_POST['temp']); - -- cgit v1.2.3