Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Friday, April 11, 2008 - 7:12 am

* Matthew Dempsky [2008-04-11 02:37]:

for what?
aside from the fact that carp failover IS blazingly fast already (i do
switchovers during business hours sometimes, and nobody ever noticed
anything), let's look at the typical fwA + fwB secanrio, 3
interfaces: ext, int, and syndev. now the carps on ext and int have
"watchdev" syncdev.
case A: fwA is master, fwB is slave, fwA fails, syncdev going down
tells the carp interface which are backup to become master?
hoe about case B:
fwA is master, fwB is slave, I visit you and cut the syndev cable,
because I like fun.
fwB's slave carp interfaces notice the "watchdev" going down and
go to master. great, now we have two masters. as I have had such a
split brain config in the fast (due to a switch misconfiguration) I can
tell you - that is not fun. really.
But, you'll say, after a short while fwB will switch to BACKUP again,
since it sees fwAs announcements. Yeah, right. But now the switch is
confuzzled on which port the carp mac address actually sits and will,
with a >75% chance, CONTINUE to send traffic to fwB, since that's where
it learned the mac address last. carp interfaces send out gratious arp
when they become master. There is no "i don't have this mac anymore"
type message. Doesn't exist. You lose.

now to the more interesting cases...
case C:
fwA carp: ext1: master, int1: master, ext2: slave, int2: slave
fwB carp: ext1: slave, int1: slave, ext2: master, int2: master
now teh syncdev goes dowm.
oooommmgggg....
it gets more complicated :)

So, what do you gain?
-marginal faster failover, maybe. I have my doubts you actually gain
much. Just one point, the time the switch needs to "move" the mac entry
to the other port is greater than 0 too.

Downsides:
-more code, potentially more bugs
-more complex, more bugs
-really really really bad behaviour when the sync connection is cut
-weird behaviour with multiple carp groups
(and probably more if I spend more time thinking about it)

not worth it. q. e. d.
:)

--
Henning Brauer, hb@bsws.de, henning@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA, Stuart Henderson, (Thu Apr 10, 5:33 pm)
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA, Matthew Dempsky, (Thu Apr 10, 8:32 pm)
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA, Henning Brauer, (Fri Apr 11, 7:12 am)
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA, Matthew Dempsky, (Fri Apr 11, 12:13 pm)
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA, Karsten McMinn, (Fri Apr 25, 7:39 pm)
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA, Steven Surdock, (Fri Apr 25, 9:21 pm)
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA, Henning Brauer, (Fri Apr 11, 12:42 pm)