Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Operating Systems Security Software The Internet BSD

Firewall Failover With pfsync And CARP 60

Daniel Hartmeier writes "OpenBSD developer Ryan McBride explains the new firewall redundancy features in the upcoming OpenBSD 3.5 release in his article Firewall Failover with pfsync and CARP. CARP (Common Address Redundancy Protocol) is a free alternative to the patent-encumbered VRRP, responsible for electing masters in a firewall cluster, while pfsync syncronizes packet filter state information among nodes. The combination allows to replace single-point-of-failure firewalls with clusters of two (or more) nodes, which continue to filter ongoing and new connections when nodes fail. Additional features like arpbalance allow one to share a single IP address for multiple servers, transparently balancing load among them, and adapting to servers failing. Pre-order for OpenBSD 3.5 has started, CDs will ship May 1st."
This discussion has been archived. No new comments can be posted.

Firewall Failover With pfsync And CARP

Comments Filter:
  • Re:Mailto link? (Score:5, Insightful)

    by dhartmei ( 664843 ) <daniel@benzedrine.cx> on Tuesday March 30, 2004 @03:11PM (#8717190) Homepage Journal
    @openbsd.org addresses are already readily available for harvesters through cvsweb, mailing list archives and usenet gates, putting one in a /. posting couldn't make things any worse.

    The upside is that after a certain amount of spam received, people get really good at filtering it. That's where the motivation behind some of the anti-spam features in OpenBSD comes from, I guess :)

  • Sad. (Score:5, Insightful)

    by MisterP ( 156738 ) * on Tuesday March 30, 2004 @05:13PM (#8718621)
    It's kinda of sad that something this cool gets so little discussion on a site like Slashdot. I guess it will be news when CARP gets ported to linux and iptables gets ip state sync'ing across hosts.

  • Re:I wonder... (Score:5, Insightful)

    by Homology ( 639438 ) on Tuesday March 30, 2004 @05:54PM (#8719127)
    I wonder how a "little" p2 can filter 40MB/s of packets. when it seems like the same p2 will bog down in other stuff (im not talking about a gui)

    can you explain this?

    The grandparent wrote 40Mb/s, like in 40 mega bit, and a PII can handle this. However, you should have a good NIC and not one of those pisspor Realtek that offloads the work to the CPU.

  • by harikiri ( 211017 ) on Tuesday March 30, 2004 @10:12PM (#8721426)
    ...and this looks really attractive to me. Our environment comprises of Nokia IPSO-based firewalls running Checkpoint, so I'm very familiar with VRRP.

    However, as excellent as this looks, I can only shudder in horror at the thought of migrating any of our existing rulesets across to openbsd/pf, let alone distributed management of policies across several 'clusters' of firewalls we have.

    Yes my friends. I'm asking for a GUI. FW Builder [fwbuilder.org] is a good start, but it still needs work (porting to Windows would be a good start). Migration tools from Checkpoint (or other commercial firewalls) would be another good addition.

    PS, I ask for Windows support not for my sake, but so that my co-workers would be able to use it. However, this criticism is levelled at FW Builder.

    OpenBSD/pf/CARP has provided a brilliant technical starting block, but it needs these additional tools to make inroads into enterprise organisations.

  • by hdw ( 564237 ) on Wednesday March 31, 2004 @03:00AM (#8723010)
    PF is not hard to understand and distributing common rules and specific rules is super easy and secure, with tools that come with a default install of OpenBSD (scp).

    I have no problem understanding pf rules or distribution via scp (or cvs, works very well).

    But it's not about understanding pf rules, it's about keeping track of, often hairy, network and system topology, of various security policies and in many cases a horde of users that need authentication (and that forget their PINs, break their tokens, move between sites ...).
    All perfectly possible to handle by editing the rules by hand and push out with scp but only together with hordes others docs keeping track of all the needed fluff.
    Then add that changes to the ruleset should be fully traceable and often have to pass thru several pairs of hands and eyes before we even reach the firewall admin. So we really need something easier to the eye than pf rules.

    A good, database driven, firewall admin GUI is a very good thing, and it a vital part of enterprise security.

    Any enterprise which hires network or firewall admin staff who can't understand pf.conf after reading the fine docco, needs to look into why their hiring policies are such a failure, so as to allow them to hire a fraud.

    Oh, come on, step down to the land of the living.

    People get shifted around at every reorganisation, suddenly all security is in one global department, 6 months later it's back to the local sites, then it's outsourced, then it's insourced again and 'firewall admins' aren't just carefully selected high profile security pros, they come from all over the place.

    // hdw
    ps.
    I think I'll go back and look one of my old projects again, OpenBSD/pf/altq/carp is really getting ready for primetime.
    ds.
  • by sirket ( 60694 ) on Wednesday March 31, 2004 @09:26PM (#8732143)
    There is absolutely no benefit to a GUI at all

    This is a idotic comment. I've been a firewall admin for years. I admin CheckPoint, PIX, NetScreen, ipfw, ipf, and pf firewalls.

    Have you ever tried to configure a fully meshed VPN topology between 30 sites by hand? Are you really going to sit there and write 900 rules by hand and expect to do it without making a mistake?

    What about defining a group of objects on one firewall (say a cluster of web servers) and then going to implement a rule on a different firewall that uses that web server group? With a central GUI, you can define the object once and not worry about changing it in 5 places or making a mistake when you copy it over to another firewall. (Yes this can be done with scripts but if you are going to write a whole management interface, why not stick a GUI on top of it to make browsing rules easier?)

    What about when you need to print out the rule sets for a compliance officer or your CEO?

    What about when you have have 25 firewalls and you forgot to backup the rule set on a firewall that just died. Wouldn't it be nice to have a management box with all the rule sets stored locally?

    There are about 50 good reasons to have a GUI and very few reasons not to have one. As long as you can configure the boxes from the command line and the GUI doesn't generate gibberish rules, then it is an excellent addition to a great firewall package.

    -sirket
  • by sirket ( 60694 ) on Wednesday March 31, 2004 @09:38PM (#8732318)
    So what you're saying is "I don't want to do my job, cause that's too much work."?

    No. What he is saying is that unlike you, he is not an idiot. He recognizes how easy it is to make a typo when you have to enter the same rule and object definition on 25 firewalls. He recognizes the security advantages of a simple clean way to view firewall rules to help avoid a mistake in the ruleset.

    The biggest information security threat to any company is the arrogance of its admins. Instead of bitching about a GUI a good firewall admin would welcome additional tools to help manage his or her firewalls. As long as the GUI doesn't stop you from editing rules by hand, why not make use of its ability to display your rules in a different way?

    -sirket
  • by Bensmum ( 766488 ) on Wednesday March 31, 2004 @10:42PM (#8732965) Homepage
    Seriously, aren't listening. You don't have to enter the same rule and object definitions over and over, that's exactly what I am saying. You make a single template, and then any firewall from there is just changing some variables like $ext_if or $local_net. Plus there are lots of things you don't have to do with pf, like making a whole set of rules to stop spoofing, with pf you can just do antispoof on $ext_if. I am not complaining about a GUI tool, I am saying the parent poster is dumb for complaining about the lack of a GUI, when he hasn't even bothered to learn how the thing works, to see if he even needs one.
  • by sirket ( 60694 ) on Thursday April 01, 2004 @02:06AM (#8734149)
    Perhaps you should to do your job instead of bitching on Slashdot. Maybe you've heard the expression "A picture is worth a thousand words?"

    GUI's can convey more information in less time and do so more accurately than a text based rule set can. If used correctly, it is a valuable asset.

    You think apache isn't as good as IIS because they don't have a GUI too? Oh, wait, there are *THOUSANDS* of tools to manage, edit, and distribute text based config files. Its no more difficult to admin dozens of firewalls than it is to admin dozens of webservers.

    Yeah because web servers and firewalls have lots of things in common. I am constantly making changes to my web server configuration (hasn't changed in over a year) whereas I am never asked to change my firewall configuration (3 times this week by one customer). You may be so arrogant as to believe you never make a mistake. I am not so deluded. I write my rule sets using the config files and I use the GUI to verify the changes. Other times I use the GUI to lay the groundwork for a more complex rule set and then I edit the resulting rules by hand to get exactly what I want. Ever try writing CheckPoint rules without the editor? I use to do it all the time but I always checked them with the GUI to be sure they were right.

    No one here is talking about creating your typical useless Windows GUI. Ever use the Borderware firewall GUI? It was a masterpiece.

    A GUI editor is a tool, and when used right it makes you more efficient. I can't help it if you have your head so far up your ass you can't recognize a good thing when you see it.

    -sirket
  • by sirket ( 60694 ) on Thursday April 01, 2004 @02:17AM (#8734193)
    You're assuming I want a simple rule set that can be templated. That isn't how most firewalls work. They share objects, but rarely do they share rules. Can this be done through macros and from the command line? Of course it can. The problem is that when you are updating your firewall during the 1 hour 3 am maintenance window it is easy to make a mistake that you just overlook because you've been staring at rule sets all day. Different data representations (A GUI) are critical to making sure that you understand exactly what your rule set is doing. A GUI is also useful for building intial rule sets and for prototyping changes. Finally, a GUI prevents you from making a typo (at least in terms of syntax). It's not a big deal if you verify your rule sets each time (good advice no matter what) but a GUI won't let you make these mistakes in the first place.

    As long as the GUI doesn't prevent you from editing the raw rules, then it should be a welcome addition to any admins toolkit.

    I am saying the parent poster is dumb for complaining about the lack of a GUI, when he hasn't even bothered to learn how the thing works, to see if he even needs one.

    You don't know anything about the parent poster. You've never met him and you don't know what he or she knows and doesn't know. For all you know you've been insulting Bill Cheswick. Or perhaps he is just one of the many overworked admins out there who would like to see a tool that would make his job just a tiny bit quicker so that he can go home on time and actually see his family before sunset.

    -sirket
  • by Bensmum ( 766488 ) on Thursday April 01, 2004 @11:55AM (#8737172) Homepage
    I don't recognize a good thing because its not a good thing. This isn't a difficult concept. Just because you make the claim that a GUI is somehow required and you can't function without one doesn't make it so. If you insist on claiming that open source firewall solutions aren't good enough because they don't provide a GUI, how about you back it up with some facts, instead of just insulting the people who are giving you this stuff *for free*. Talk about a "world owes me" attitude.

    And its not that I am so arrogant that I never make a mistake, its that I *test* changes to see if they work, the new rulest is applied for 30 seconds to see if it works, and automatically reverted to the old rule set after that. If it did work, I update it for real. A GUI isn't going to help with this.

Remember, UNIX spelled backwards is XINU. -- Mt.

Working...