Commit Graph

134 Commits

Author SHA1 Message Date
Phil Davis
ce77a9c4bd Fix lineup of copyright lines
and module names and other bits of formatting and typos in header
comment sections.
2015-01-01 15:11:15 +05:45
Renato Botelho
ed2d13436a Welcome 2015 2014-12-31 16:22:00 -02:00
Renato Botelho
d0bf02bdbd Move this check before full sync to disable dnsmasq/unbound in the first time it's sync'd 2014-12-26 12:21:33 -02:00
Renato Botelho
f29fd4d08d Add dnsmasq and unbound config sections to full sync, it fixes #4076 that is caused because boolean config fields are not disabled on secondary 2014-12-26 12:20:57 -02:00
Renato Botelho
c25caf5b01 Add DNS Resolver to the list of services to be sync'd on HA, make sure it and DNS Forwarder are not enabled simultaneously. It fixes #4067 2014-12-15 17:16:48 -02:00
Ermal LUÇI
e3cffd6cef Properly remove IPv6 carp vips as reported from https://forum.pfsense.org/index.php?topic=84392.0 2014-11-21 11:20:46 +01:00
Jim Thompson
dd447bde2b modify copyright statement to reflect reality 2014-11-10 22:49:50 -06:00
Ermal
8ff85c397c rename interfaces_carp_setup to interfaces_sync_setup and call it during bootup since it does not only relate to carp interfaces. 2014-10-15 01:39:56 +02:00
Renato Botelho
846dc21c3d Fix operator 2014-09-10 15:39:01 -03:00
Renato Botelho
85b3c59786 Do not reconfigure dhcpd twice on secondary after config sync. Fixes #3797 2014-08-29 14:30:38 -03:00
Phil Davis
bbceec685f Use function_exists test 2014-05-11 16:34:30 -07:00
Phil Davis
7553877692 Use require_once in more places 2014-05-09 06:12:03 -07:00
Warren Baker
d1116f3b4d Ensure config is global here 2014-04-28 22:12:53 +02:00
Warren Baker
137460a706 Ensure to reconfigure Unbound for filter configuration on XMLRPC 2014-04-28 22:12:16 +02:00
Ermal
7238e0cfc8 Remove references to _vip interface and provide proper configuration for carp on FreeBSD 10. Still some places to deal with this and certainly missing upgrade code 2013-11-28 18:36:18 +00:00
jim-p
611f2910bd Make sure to account for IP aliases on lo0 here, or they get duplicated on each CARP sync 2013-09-11 14:33:17 -04:00
jim-p
f6339216b7 s/require/require_once/g for filter.inc to avoid redeclaration errors in some rare cases. 2013-08-28 13:54:30 -04:00
Ermal
174a331e19 Also take dhcpv6 into consideration even here. 2013-08-15 09:02:34 +00:00
Ermal
fb0eb20bb9 Actually do not allow the loop to continue. Related to Ticket #1928 2013-06-12 17:46:12 +00:00
Renato Botelho
c4bd43ccba Copy full dhcpd conf from master to slave. Fixes #2600 2013-02-22 14:22:40 -03:00
Renato Botelho
d026178fa6 Make sure we create / delete SPDs and SADs on secondary node when it changes on primary. Fixes #2303 2013-02-22 11:56:34 -03:00
Renato Botelho
a1fb7d61c4 Fully sync filter and nat sections. Fixes #2362 2013-02-13 17:19:52 -02:00
Ermal
c87f4b7092 Fixes #1928. Disallow sync loop only for certain types of calls but not for exec_[php|shell]. Also fix CARP loop detection to use correct variable 2013-01-30 10:57:00 +00:00
Renato Botelho
3dacbd7c6d Remove a couple of call-time pass-by-reference for interface_ipalias_configure() 2013-01-14 11:38:12 -02:00
Ermal
3e662cb0b2 Get rid of carpdev, it will never be 2012-06-07 08:51:16 +00:00
Ermal
7b47bd4c3c Make vips vhid be unique per parent interface! 2012-04-05 20:22:01 +00:00
Darren Embry
f97a5b0419 Move CARP settings from pkg XML to a real PHP page
https://redmine.pfsense.org/issues/647
2012-03-22 21:25:58 -04:00
jim-p
1b99e1e53a Some sections should just be copied and not merged or we end up unable to sync the deletion of the last item in a section. 2011-12-12 14:49:02 -05:00
Scott Ullrich
3dd2a27826 Log when XMLRPC auth fails so that the brute force lockout will kick in. 2011-08-28 13:06:42 -04:00
Ermal
2708a5cf16 NEw functiong does_vip_exist() which works for carp and ipalias type vips to help in carp sync issues. Fixes #1598 2011-06-14 11:36:20 +00:00
Ermal
63f81fbd88 Do not assume that every merge is about vips. Found-by: Jim 2011-06-13 18:16:03 +00:00
Ermal
19ed162443 unset after checking that no reconfiguring is needed. 2011-06-13 15:04:59 +00:00
Ermal
92ca32ccbe Actually make this code more readble. 2011-06-08 18:22:04 +00:00
Ermal
d1e0382258 Remove the entry from old entries even when there are no changes to prevent marking them down. 2011-06-08 18:21:00 +00:00
Ermal
7fc6c00573 Generate proper index for unsetting so we do not destroy all the vips in the backup. 2011-06-08 07:29:33 +00:00
Scott Ullrich
f9d7c5b3c4 Use array_overlay() 2011-05-31 14:42:22 -04:00
Scott Ullrich
0b581a8acf Use array_extend 2011-05-31 14:28:13 -04:00
Scott Ullrich
485b1ca5ce Remove debugging code 2011-05-31 13:47:53 -04:00
Scott Ullrich
db748384c1 Add merge handler code 2011-05-31 13:45:16 -04:00
jim-p
aa6699fbea Fix config sync issue. Resolves #1547 Fixed-by: Ermal 2011-05-20 10:27:29 -04:00
Ermal
c415a55bd3 Micro optimization. 2011-05-18 21:56:13 +00:00
Ermal
f51d4f989e Ticket #1534, #1433. Remove custom sync code for vip, since it array_merge() replaces same keys data when merging. But make the code for reloading only changed vips after merge better and some more checks. 2011-05-18 21:31:35 +00:00
Ermal
516114406b Ticket #1534, #1433. Properly merge carp interfaces and do not reload carp interfaces that have not change any configuration parameter. Also make merge_config_section_xmlrpc() an alias for restore_config_section_xmlrpc() since that what it is. 2011-05-18 21:11:10 +00:00
Ermal
67d78c87c9 Ticket #1534. Serialize all the xmlrpc requests coming to the firewall. Seems such request can stomp into each other and create either corruption of xmlrpc request or other issues. 2011-05-17 21:18:33 +00:00
Ermal
4e8c89fdbe Allow ipalias with carp as parent interface to be synchronized. 2011-02-01 19:09:37 +00:00
Pierre POMES
00752d5a82 Ticket #959. Keep local items at the top of vip section 2010-12-11 15:31:57 -05:00
Ermal
4d775dd000 Be consistent on shifting array during authentication. Also check for array to avoid strange errors. 2010-12-10 19:35:59 +00:00
Ermal
a79c72d709 Actually the passed config sections are part of index 1 of the array. This fixes config sync of vips as well. 2010-12-10 19:04:48 +00:00
Ermal
0567899d3d Fix config synchronization. Also unbreak the config when erroring out because it will loop indefinitely. 2010-12-10 18:34:56 +00:00
Ermal
01b1cc6aff Fix line because of copy/pasto. 2010-12-10 00:53:02 +00:00