Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

pfSense 1.0 Firewall Released

Posted by kdawson on Sat Oct 14, 2006 03:42 AM
from the protected-by-daemons dept.
Chris Daniel writes, "pfSense, a FreeBSD-based firewall LiveCD distribution, has reached its official 1.0 release. Based on m0n0wall, pfSense offers firewalling, traffic shaping, VPNs, load balancing, and a nice package-management system for adding extra functionality, among many other useful built-in features. The project has been ongoing for two years, and pfSense has already been in production use in a number of locations well before the 1.0 release." Find a download mirror here.
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • CURRENT? (Score:4, Interesting)

    by scott_karana (841914) on Saturday October 14 2006, @03:47AM (#16434543)
    Why Freebsd 6.1-CURRENT, I wonder? STABLE is bleeding edge enough for most, and I quite imagine that they could just use base 6.1.
    • Re: (Score:2, Insightful)

      by Anonymous Coward
      There are other issues at play here which still exist in -STABLE. The lead developer has a good sense of what is right, that and he is a FreeBSD committer himself.

      In short, -CURRENT works better for us.
  • SmoothWall (Score:4, Informative)

    by mahesh_gharat (633793) on Saturday October 14 2006, @04:22AM (#16434659)
    Have a look at SmoothWall at http://www.smoothwall.org/ [smoothwall.org]
    It's based on GNU/Linux and provides at par or better features and it is there for almost 4-5 years now.
    • SmoothWall?? IPCop! (Score:5, Informative)

      by PurPaBOO (604533) on Saturday October 14 2006, @04:46AM (#16434741) Homepage
      You only get the better features in Smoothwall if you pay for the corporate version.

      You could try IPCop instead, a fork of smoothwall.

      I use IPCop instead of pfsense for some installations as it has support for the Bewan PCI ADSL modem.
      • by Drasil (580067) on Saturday October 14 2006, @06:46AM (#16435091)

        I've used both Smoothwall and then IPCop for extended periods on my own home router box (an old P200/128MB). I have now been using M0n0wall for a couple of years and I am very happy with it. It doesn't have the silly coloured NIC idea, I can just add new subnets as I require and name them myself. I find it more powerful and intuitive than IPCop in other ways too. IPCop served me well for a long time but I don't think it's quite on the same level as M0n0wall, I can't comment on the non-free versions of Smoothwall.

        As for pfSense, it looks interesting, I may well give it a try

      • Show me how to do incoming load balancing for web servers in IPCop and you'll make me a happy man. As it is, I'm planning to migrate to pfsense to get this feature.
    • Re:SmoothWall (Score:5, Informative)

      by MattBurke (58682) on Saturday October 14 2006, @06:54AM (#16435115) Homepage
      Only if you discount firewalling as a feature.

      The code behind iptables is disgusting. It doesn't even do a proper job of stateful tracking. Read and compare the source code if you don't believe me - There are many things which linux does in about 10 lines of code but run into hundreds or thousands of lines in the pf source because pf does the job properly
      • Can you give some examples? I'm not trying to be snotty; I'm genuinely curious. I love pf's syntax waaaay better than iptables, esp. for firewalls w/more than two NICs, but I'd be interested to know how the underlying code compares. (Not a prograammer, though I can read C w/effort, so other opinions are valuable to me.)
        • Re: (Score:3, Interesting)

          Here's the OpenBSD link [openbsd.org] Search for pf_test_state_tcp - it's abotu 2/3 the was down the page

          After 30 minutes of searching I couldn't find the Linux equivalent. It's either in one of the files here [kernel.org] or maybe here [kernel.org]. Maybe. OK I'm showing my ignorance somewhat here but I don't understand why there's a whole heap of stuff all over the place. Anyhow, netfilter's state matching basically about 4 lines which just checks a packet against a list of ip,srcport,dstport. Sorry I'd have been able to find it if I had a lin
    • Last time I tried Smoothwall (18 months ago) the UI was so bad I gave up on it and chose pfsense instead. I hope it has improved since.
    • Yeah right ;/

      Need to be said: Hate the license :D
  • Sorry, I'll take my Linksys WRT54GS (v3) running OpenWRT [openwrt.org] or dd-wrt [dd-wrt.com]. Small, quiet, and wireless!
    • Re: (Score:3, Interesting)

      Sure.

      Mind you, the "target market" leans a little more toward small/mid-size office than home office.

      Though I'm sure the hobby-minded with lots of spare older PCs will give it a shot.

      Myself, for hy home network, I'm stickin' with mah Linksys.
    • How many simultaneous connections can this handle? I suppose it might be really dependant on the NICs instead of the software.

      I know routers like the WRT54GL v1.1 choke after 64 or so connections.
    • Sorry, I'll take my Linksys WRT54GS (v3) running OpenWRT or dd-wrt. Small, quiet, and wireless!

      And this [soekris.com] isn't?

      Works much better, too, to say nothing of the other advantages.
    • Re: (Score:2, Informative)

      pfSense is quite capable of running on either Soekris SBCs [soekris.com] or PC Engine WRAPs [pcengines.ch], which to use your phrase, are both "small, quiet and wireless!" ;) Granted, the WRT54s are cheaper, but both the Sokeris and WRAP boards offer more flexibility.

    • DD-WRT has some trouble, at least on my setup. It intermittently bugs out in certain things, for example I can't get my port forwarding to work. I have set it as a DMZ in my modem/router but some forwarded ports will work while others won't. Too bad, it really is an excellent piece of equipment (or would be, if it worked).
  • by udippel (562132) on Saturday October 14 2006, @04:49AM (#16434751)
    I opened the links, since I was keen on finding out (even using) the thingy.

    But, no. The minimal ("Do not even attempt to use it on anything less !") hardware is beyond my means (and beyond my expectation, even for traffic shaping and stuff):
    All platforms: 128 megabytes of ram
    Embedded: 128 megabyte compact flash card
    Full installation: 2gb hard drive or larger
    LiveCD: USB Keychain for configuration storage

    That's simply a tiny little bit too much. I surely get the similar setting with OpenBSD on boxes with lower specs.

    Okay, let's get it going. I love compact flash. Alas: "Larger flash sizes can be used but pfSense will not use the space over the 128 MB limit".
    "The Snort package requires a LOT of memory, only install this when the sytem has 1 GB ram or over."

    Any need to go further ? To me, at least, not. I rather move on ... .

    • Most though not all current embedded hardware used for m0n0wall that can be had for about $200 meets the pfsense embedded requirements.
      • Lots of folks have their own small server running at home 24x7 already any way

        I do. What is 'small' ? To me, it is P75 / P300 and 128 MB of RAM. Your turn to run a VM on it and said pfSense.
        Have you read http://wiki.pfsense.com/wikka.php?wakka=ReleaseCa v eats [pfsense.com] ? I am running a P233 with 64 MB RAM and get around 40 Mbits. Not as VM, of course, but plain OpenBSD.
        On my Soekris 4801 I get a good 24 Mbits with http://www.zelow.no/floppyfw/ [zelow.no] inclusive TC; from a floppy (if I so wanted).

        And when I start looki

  • PPTP pass-through? (Score:4, Informative)

    by pmsr (560617) on Saturday October 14 2006, @05:33AM (#16434895)
    pfSense is an amazing product that does without hiccups what firewalls costing hundreds or even thousands of dollars do. But it has a limitation: it can't handle more than one simultaneous PPTP pass-through session to the same server. Plenty of cheap routers (based in Linux) do this. But granted, that Linux PPTP masquerading kernel module is a little beauty.

  • I'd actually like to see more systems like this provide plugins exposing options for setting up configurations to simulate unreliable network connections. I used monowall quite extensively a few years ago, and it exposed a traffic shaper option to delay packets a defined amount of time, but that alone isn't sufficient for a proper simulation. And why anyone would set that to anything other than 0 when using it for firewall purposes is beyond me.

    If you're going to try to shape traffic in manners like that, i
    • For traffic shaping there is always netem http://linux-net.osdl.org/index.php/Netem [osdl.org]
      If not for you have a look at nistnet URL:http://www-x.antd.nist.gov/nistnet/>
      and dummynet.
    • That's what ipfw and dummynet(4) are for; while it's more typically used for rate limiting, it can also be used for randomly delaying (and thus reordering)/dropping packets. You can also filter packets through userspace daemons using divert sockets, which is how natd works; you can munge a packet pretty much however you want from there.

      There's also netgraph(4) which is quite flexible aiui.
  • minor p2p glitch (Score:3, Informative)

    by Anonymous Coward on Saturday October 14 2006, @07:05AM (#16435181)
    After months of regular use I can say pfSense is a great firewall. One minor problem (and the only one) I encountered is the inability to work with the Kademlia p2p network: the client appears as always firewalled even after days though all other ports are correctly routed and the mule client gets a high id. The problem disappears as soon as I route the same ports through a different firewall.
    • This deserves investigating, I think. I'm seeing the same with pf on a custom-built NetBSD. I always blamed Kademlia because this is the only thing that doesn't work right and I have no other filter to transparently replace the current one.

      If pf really had serious issues with certain types of UDP traffic, it should get fixed.
  • by paulius_g (808556) on Saturday October 14 2006, @07:08AM (#16435195) Homepage
    Is it only me, but... I always like to have a console (or otherwise called a terminal) accessible on the boxes that I own. I want to be able to SSH them and change configs, hack it up, or just play around. The reason why I'm still with IPcops is that it has a full Linux console accessible locally and also via SSH. M0n0wall doesn't. So how about pfSense, does it or doesn't it?

    Any comments on it? I know that I'm not _supposed_ to install stuff on a firewall, but gosh, it's a full-blown computer that just there.

    I'm currently using IPcops, but I've heard great things about BSD. The recent IPcops updates have been breaking things. But it's working out great in my environment. And, I guess I'll need to plug, but I even have a webcam which shows all my networking equipments and computers in my basement: http://thelab.servegame.com:8080/view/index.shtml [servegame.com]
    (The IPCop box is the lower-right one, the one to the left of it is a Windows box that's never up (Hey, guess why ;-) and the upper right one is my storage server.
    • I currently only use the PC version but as far as I know you can SSH into any of the pfsense variations assuming you enable it and have the appropriate firewall rule allowing access. The console only quote for the embedded version probably refers to a lack of display and keyboard support.
  • VM? (Score:3, Insightful)

    by kafka47 (801886) on Saturday October 14 2006, @08:23AM (#16435465) Homepage

    Would love to see this on a downloadable VM. Any takers?

    /K

    • Re: (Score:3, Informative)

      The dev version already is.

      I've installed into Qemu before without issues. This is actually a pretty common thing on the irc chans.
      • While it might be good for testing and such, what is the true value of running it in a VM when you are using your hardware network interfaces anyway ? To me that sort of defeats the purpose ..
  • by AmiMoJo (196126) <mojo&world3,net> on Saturday October 14 2006, @12:31PM (#16437389) Homepage
    I don't know why they are doing a 1.0 release right now. While there are many nice things in pfSense, most of them are replicated in the much more stable m0n0wall on which it is based. The pfSense only features tend not to work too well.

    For example, the traffic shaping is broken. I have a 10Mb/512Kb cable connecction (NTL) and have been totally unable to get traffic shaping to do anything. There are many more like me on the forums. It seems to work for some people on some connections, but is far from robust and universal. The rules that the wizard creates are not right either, and always need modifying. Hardly 1.0 standard I feel.

    There are other issues too, like the fact that embedded web upgrades don't work, or that the queues display does not show accurate stats (particularly on drops).

    I'm going to decomission my 650MHz P3 that is currently running pfSense and replace it with a much lower power Netgear Rangemax router. Really, the only things that the pfSense box has over the Netgear one is traffic shaping and the ability to handle a larger number of connections. The former doesn't work and the latter is irrelevent.
        • I have to agree with the parent. The pfSense team's attitude seems to be that it must be the users fault for mis-configuring it. They tell you to go read the documentaion (which is frankly rubbish, especially on traffic shaping) or some useless forum posts.
  • That was the main piece missing in monowall.. ( that and a nice installer for PC hardware users ).

    • Re: (Score:3, Informative)

      by Anonymous Coward
      monowall is just a firewall, this does traffic shaping/QoS, lots more services.
      • Re: (Score:2, Insightful)

        So does firewall, it has even have a traffic shape wizard... I'm a big fan of Monowall bt I'm going to give this a go, if it has more support for hardware compared to Monowall, I might consider switching to it and use my useless wireless PCI card.
    • Re: (Score:3, Insightful)

      > So why do they release a new distro, instead of contribing to mWall?

      Because they have "radically different goals" than monowall. This is in the second sentence in http://www.pfsense.com/ [pfsense.com]
    • Re: (Score:3, Interesting)

      by Anonymous Coward
      m0n0wall is based on FreeBSD 4.x, it has little wireless support, it can not do load balancing for multiwan , neither can it do machine failover with carp.

      There are currently over $2000 bounties posted on the m0n0wall list for the first person that makes it work with FreeBSD 6. Unfortunately for m0n0wall, we see people switching to pfsense instead.

      Yes, pfSense _is_ based on m0n0wall
      No, pfSense _is not_ m0n0wall
    • So why do they release a new distro, instead of contribing to mWall?

      By your argument, there should only be one distro for every open source operating system because people should just contribute back and never fork?
       
    • Lacking the knowledge of the internal workings of PF, I do have to say that I have never had a problem with SIP. My home phone is through Vonage behind pfsense and I routinely connect while on the road to a friends Asterisk box to make phone calls with a soft phone and bluetooth headset on my laptop. He has a pfsense router and all of his trunks are SIP. Several users are simultaneously connected using SIP from remote locations and properly routed out the SIP trunks. Not to doubt that you have had thing
    • Re: (Score:3, Interesting)

      The underlying pf seems to have more flexibility than the interface on top then.

      I suppose you mean something like the following?

      # XXX: hardwire SIP and RTP source ports
      nat on $ext_if inet proto udp from $asterisk port { 5060, 10000:20000 } to any -> ($ext_if) static-port
      nat on $ext_if inet from $int_net to any -> ($ext_if)
      rdr on $ext_if inet proto udp from any to ($ext_if) port { 5060, 10000:20000 } -> $asterisk


      Which means that traffic from an internal Asterisk that has source ports 5060 and 10000-
    • openbsd is becomming a better network os than the others. depends what you mean by dying. stats can show whatever, but for most people they use bsd's at the firewall level and put services on the hosts behind it. other people use bsd all over the place, but with recent desktop improvements on gnome/kde etc people are moving towards the linux desktop. there are other features too such as brilliant package management which makes distros like debian and rh far less maintenance.

      fwiw, openbsd is growing, bgp/osp
    • As best as I can make out, this is a general purpose unix with the packet filter from OpenBSD grafted onto FreeBSD and an interface adapted from a linux firewall;

      Please excuse my ignorance, but why don't they use OpenBSD instead of FreeBSD? Surely if you're building a (open|free) firewall, you start with the most secure (open|free) Unix you can find?
      • Re: (Score:2, Informative)

        This has been gone over numerous times in both the pfsense forums and the mailing lists. The short answer is hardware support and that bsdinstaller is only available on freebsd and dragonfly at this time.