Slashdot Mirror


pfSense 1.0 Firewall Released

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.

104 comments

  1. CURRENT? by scott_karana · · Score: 4, Interesting

    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.

    1. Re:CURRENT? by Anonymous Coward · · Score: 2, Insightful

      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.

    2. Re:CURRENT? by archen · · Score: 1

      care to elaborate on what those might be? Just curious.

    3. Re:CURRENT? by Philip+K+Dickhead · · Score: 3, Informative

      pfSense Rocks hard.

      I have been on the RC1, and replaced all my Linux/IPfilter machines with this.

      --
      "Speaking the Truth in times of universal deceit is a revolutionary act." -- George Orwell
  2. One question?? by Anonymous Coward · · Score: 0

    What's the best copper-gig network card to use with this?

    1. Re:One question?? by Anonymous Coward · · Score: 0

      Here. A tad pricy though. The IBM Gigabit Ethernet-SX PCI-X Adapter is also nice.

    2. Re:One question?? by Abasher · · Score: 2, Funny

      That card is neither Gigabit (it 10Gbps) nor Copper (it's fiber). Hardly what he asked for. But true, the question wasn't very specific.

    3. Re:One question?? by Anonymous Coward · · Score: 0

      The intel Gigabit cards, dual port, quad port or the fiber versions.
      It's what I use succesfully. The PCI-E or PCI-X cards work fine.

      Cards to avoid are the realtek cards. Most other cards work well. for 100Mbit 3com 905s or Intel EEpro100 cards.

      For low-end gigabit 32bit syskonnekt cards or intel desktop adapters work well too.

      A pe850 with Intel Dual port Pro 1000 PT cards does ~ 800mbps

    4. Re:One question?? by TCM · · Score: 1

      One answer: Get Intel cards.

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
  3. Based on mOnOwall? by Abasher · · Score: 1

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

    1. Re:Based on mOnOwall? by Anonymous Coward · · Score: 3, Informative

      monowall is just a firewall, this does traffic shaping/QoS, lots more services.

    2. Re:Based on mOnOwall? by Homology · · Score: 2, 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/

    3. Re:Based on mOnOwall? by Anonymous Coward · · Score: 3, Interesting

      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

    4. Re:Based on mOnOwall? by M1FCJ · · 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.

    5. Re:Based on mOnOwall? by nacturation · · Score: 1

      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?

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  4. SmoothWall by mahesh_gharat · · Score: 4, Informative

    Have a look at SmoothWall at http://www.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.

    1. Re:SmoothWall by Anonymous Coward · · Score: 0

      Your argument is just like saying:
      "Why do we need GNU/Linux? Windows exists already..."

      Diversity is _good_!

      And actually pf is the best firewall you can get. Iptables doesn't even get anywhere near it. And smoothwall is nothing more than a wrapper around iptables, which you need because iptables is very non-userfriendly out-of-the-box.

    2. Re:SmoothWall by MattBurke · · Score: 4, Informative

      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

    3. Re:SmoothWall by Anonymous Coward · · Score: 1, Insightful

      How does bullshit like this get modded up? Some of us prefer to work with FreeBSD, don't even dare to tell people how they should spend their free time.

    4. Re:SmoothWall by Anonymous Coward · · Score: 0

      He wasn't saying the FreeBSD was an inferior OS, or even that he didn't prefer it - he said that it was HARD TO MAKE A FREEBSD BASED LIVECD. Oh noes!

    5. Re:SmoothWall by Saint+Aardvark · · Score: 1

      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.)

    6. Re:SmoothWall by Orlando · · Score: 1

      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.

      --
      -= This is a self-referential sig =-
    7. Re:SmoothWall by toadlife · · Score: 1

      "he said that it was HARD TO MAKE A FREEBSD BASED LIVECD."

      Which is incorrect.

      (meanngless text here to get around the lameness filter triggered by quoting your all caps post)

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    8. Re:SmoothWall by aliquis · · Score: 1

      Yeah right ;/

      Need to be said: Hate the license :D

    9. Re:SmoothWall by MattBurke · · Score: 2, Interesting

      Here's the OpenBSD link 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 or maybe here. 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 linux box to hand to grep on, but I don't at the moment

      One thing should be stated in comparason - Linux is a *LOT* faster at throwing packets through its firewall, mind you it's a direct result of it not really checking them much...

    10. Re:SmoothWall by Anonymous Coward · · Score: 1, Insightful

      Here's the OpenBSD link Search for pf_test_state_tcp - it's abotu 2/3 the was down the page

      You mean that 500 line function which attempts to match a whole slew of various packet characteristics?
      You call that clean code? Heh heh heh, OK.

      After 30 minutes of searching I couldn't find the Linux equivalent. It's either in one of the files here or maybe here. 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.

      There is the protocol independent netfilter code in your second link, and the ipv4 specific match modules in the first.
      This is a good example of a well designed architecture (ignoring the actual low level implementation issues, because
      I'm not familiar with the code).

      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 linux box to hand to grep on, but I don't at the moment

      No. See all those files in your first link? Each of those provides support to match a specific packet characteristic
      (not counting things like the general ipv4 stateful connection tracking support). All nicely seperated and modularised.

      One thing should be stated in comparason - Linux is a *LOT* faster at throwing packets through its firewall, mind you it's a direct result of it not really checking them

      Why do you say "not really checking them", and why did you claim that Linux does not do a proper job of stateful
      connection tracking? State what exact functionality you require that PF supports but netfilter does not -- trying
      to go through the code in 30 minutes looking for feature parity is not going to achieve anything especially if you
      are not familiar with the code in the first place.

  5. Relies on a full-size computer by wesmills · · Score: 1, Troll

    Sorry, I'll take my Linksys WRT54GS (v3) running OpenWRT or dd-wrt. Small, quiet, and wireless!

    1. Re:Relies on a full-size computer by Merovign · · Score: 2, 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.

    2. Re:Relies on a full-size computer by Anonymous Coward · · Score: 0

      you could also use a WRAP board from http://www.pcengines.ch/wrap.htm,
      and no i don't work for them but i've installed mine yesterday and plan to use another one at work.

    3. Re:Relies on a full-size computer by value_added · · Score: 1

      Sorry, I'll take my Linksys WRT54GS (v3) running OpenWRT or dd-wrt. Small, quiet, and wireless!

      And this isn't?

      Works much better, too, to say nothing of the other advantages.

    4. Re:Relies on a full-size computer by beardz · · Score: 2, Informative

      pfSense is quite capable of running on either Soekris SBCs or PC Engine WRAPs, 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.

    5. Re:Relies on a full-size computer by Anonymous Coward · · Score: 0

      Yes, because your wrt54 can route/firewall GigE clients to an OC12 link. Broaden your mind dude, not everybody is happy with a little $100 DSL router. Some environments require more powerful hardware/software solutions.

    6. Re:Relies on a full-size computer by Anonymous Coward · · Score: 0

      you've somehow never heard of WRAP or Soekris?

    7. Re:Relies on a full-size computer by Anonymous Coward · · Score: 0

      if you run it on a soekris you might as well be using m0n0wall. All those extra 'features' you were so proudly boasting about in this distro dont exist on the compact flash version. The dhcp server totally sucks shit in both distro's too btw. No additional DHCP options can be set. The dnsmasq daemon on openwrt is significantly more flexible and much smaller footprint.

  6. One major concern by Propaganda13 · · Score: 1

    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.

    1. Re:One major concern by Poromenos1 · · Score: 1

      4096

      --
      Send email from the afterlife! Write your e-will at Dead Man's Switch.
    2. Re:One major concern by Anonymous Coward · · Score: 0

      Ahahaha 64 connections, seriously? I gotta imagine more, else nobody would use it. With that said, pfSense defaults to 10,000 states which is 5000 connections (one each for filter and nat). Each state takes approx. 1K of RAM and the limit is configurable, if you've got the RAM, add more, I know of people running 500K states.

    3. Re:One major concern by Propaganda13 · · Score: 1
    4. Re:One major concern by TCM · · Score: 1
      I don't really understand the business of "supporting so and so many connections". A connection when tracked with a stateful packet filter is nothing more than an entry in a state table. IIRC, state tables are binary trees. The number of entries doubles, the effort increases by one additional check.

      I know routers like the WRT54GL v1.1 choke after 64 or so connections.
      I find this hard to believe. Their software must suck really bad then.

      With pf here, I see state tables with thousands of entries at peak times. pfctl -si currently shows an average of 500 state lookups per second. And the best part: the box shows almost no system load. The fractions of a percent that I see are probably file system operations when invoking top or cron jobs. All CPU time is mostly spent processing interrupts of the NICs. And all this is on a 586-class Geode processor with 266MHz and no L2 cache. http://www.pcengines.ch/wrap.htm BTW. Even if those WRTs have measly 100MHz ARM processors (I don't know), they should do better than 64 connections.

      And pf does more than just filtering. It can act as a proxy for the 3-way TCP handshake, protecting servers from SYN floods. It does packet normalization, reassembling fragments and thereby greatly reducing ruleset complexity. And I just don't see any effect on the load. Before you see pf choke, the rest of the box must have choked long ago.
      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
  7. SmoothWall?? IPCop! by PurPaBOO · · Score: 5, Informative

    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.

    --
    If it weren't for the rocks in its bed, the stream would have no songs.
    1. Re:SmoothWall?? IPCop! by Drasil · · Score: 3, Interesting

      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

    2. Re:SmoothWall?? IPCop! by Anonymous+Psychopath · · Score: 1

      I've also used Smoothwall for about a year, then IPCop for another year or so, and now m0n0wall for the past couple of years. I definitely plan on trying pfSense to see how it compares. Out of the three I have used, m0n0wall is my preference. The traffic shaping actually works, the interface makes sense, and the features provided match my needs.

      --

      Eagles may soar, but weasels don't get sucked into jet engines.

    3. Re:SmoothWall?? IPCop! by digidave · · Score: 1

      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.

      --
      The global economy is a great thing until you feel it locally.
    4. Re:SmoothWall?? IPCop! by Anonymous Coward · · Score: 0

      Simple, use CARP (from OpenBSD) + an httpd of your choice. I believe it's been ported to other BSD's and even Linux too, I don't know about Windows though but it still can be done 'for' IIS, etc.

    5. Re:SmoothWall?? IPCop! by j_pernfuss · · Score: 1

      Even simpler: read the whole question before answering. He asks how to achieve this with IPCop (explicitly, implicating "use something else" should not be considered a valid answer). Furthermore he implicates that he does not know a method to achieve this and most likely regards it as impossible. Because of that, he plans to switch to pfSense because pfSense is able to accomplish this - and pfSense has CARP support.

  8. Uuh, no thanks, not convinced by udippel · · Score: 4, Interesting
    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 ... .

    1. Re:Uuh, no thanks, not convinced by Anonymous Coward · · Score: 1, Informative

      You probably want m0n0wall instead which is lighter and aimed at embedded systems. Having used both (along with ipcop and others) I can say they all are excellent products.

    2. Re:Uuh, no thanks, not convinced by Anonymous Coward · · Score: 1, Informative

      I have difficulty understanding the problem. We are not aiming at the small embedded 35 euro router market here.

      A cisco 851 has 64MB ram, a cisco 871 has 128MB ram. We are talking hardware that can at least do redundancy, balancing, failover and multiwan. Then you promptly enter the plus $200 market and this is the competition.

      And you need memory for sufficient connection tracking, firmware upgrades, traffic shaping etc.

      We point out that Snort (which we have no control over) requires a lot memory. That is there to prevent foot shooting. Then again the $200 routers do not do IDS/IPS.

      Seems fine to me.

    3. Re:Uuh, no thanks, not convinced by Natales · · Score: 1

      Well, it really depends a lot on what are you doing.

      Lots of folks have their own small server running at home 24x7 already any way, so why not just adding this as one more service layer running on a VM with its own dedicated NIC to protect your network. It behaves just like a separate machine for all practical purposes.

    4. Re:Uuh, no thanks, not convinced by udippel · · Score: 1
      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=ReleaseCav eats ? 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/ inclusive TC; from a floppy (if I so wanted).

      And when I start looking at my production stuff, I don't want GUI; I don't want Live-CD and I don't want USB. And - of course - I don't want any off-the-shelf PC. And production seems what these guys are going for. Call me a wet blanket, but I seriously don't see what this whole thing is supposed to deliver. Seriously.

    5. Re:Uuh, no thanks, not convinced by Agripa · · Score: 1

      Most though not all current embedded hardware used for m0n0wall that can be had for about $200 meets the pfsense embedded requirements.

    6. Re:Uuh, no thanks, not convinced by Anonymous+Psychopath · · Score: 1

      Just to be clear, those requirements are for several different flavors of the product.

      128MB of RAM, plus

      128MB CF card

      OR

      2GB hard drive

      OR

      A CD-ROM and a USB stick

      Personally I have no trouble coming up with a system with 128MB of RAM, a CD-ROM drive, and 32MB USB flash sticks are practically a throw-away item.

      No hard drive is required in this configuration.

      --

      Eagles may soar, but weasels don't get sucked into jet engines.

  9. PPTP pass-through? by pmsr · · Score: 3, Informative

    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.

    1. Re:PPTP pass-through? by Chris+Daniel · · Score: 1

      Of course, let's discount the fact that it can act as a PPTP endpoint (feature from m0n0wall).

      --
      Don't blame me -- I voted for Roslin.
    2. Re:PPTP pass-through? by Slashcrap · · Score: 1, Informative

      Of course, let's discount the fact that it can act as a PPTP endpoint (feature from m0n0wall).

      Yes I think we should, since it has no relevance to what the grandparent was talking about.

      What he is pointing out is that if you have a lot of visitors behind your pfSense based corporate firewall and they want to make PPTP connections back to their corporate networks, it will not work. Because there is no support for multiple PPTP passthrough.

      I would love to tell you all about a perfect example of this becoming a problem at a major event because of our choice of OpenBSD for a product. But I can't. Suffice to say you would be amazed how many companies actually use PPTP for their remote connectivity.

      How would having it act as a PPTP endpoint help in this case?

  10. It has to by Anonymous Coward · · Score: 0

    Keep in mind that most light embedded systems will choke while attempting to filter much less than 50 mbit traffic. When speed matters you'll need a full PC or a high performance embedded board.

  11. A mish-mash of other systems? by Anonymous Coward · · Score: 0

    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; An interesting combo. pf is a superb firewall but OpenBSD is not exactly optimised for speed and I'd personally never dream of using a web GUI to configure a firewall. Rather I'd remove the httpd and possibly any CGI script host, however the curses interface looks like it could simplify admin duties.

    This is definately on my "to try" list, it may make a good base system for server deployment.

    1. Re:A mish-mash of other systems? by DoXaVG · · Score: 1

      curses interface? Are you sure you are looking at pfSense?

    2. Re:A mish-mash of other systems? by BiggerIsBetter · · Score: 1

      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?

      --
      Forget thrust, drag, lift and weight. Airplanes fly because of money.
    3. Re:A mish-mash of other systems? by DoXaVG · · 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.

    4. Re:A mish-mash of other systems? by Anonymous Coward · · Score: 0

      Fact: This BSD bitch is dead. R.I.P.

  12. no firewall can keep all hackers out by rs232 · · Score: 0, Offtopic

    "No firewall can keep all hackers out." With these words, security consultant Bob Toxen began his sermon, or workshop, on the "seven deadly sins" of Linux security. Any IT manager who commits one of these sins will "get nailed sooner or later,"

    "Let me introduce you to the six dumbest ideas in computer security. What are they? They're the anti-good ideas. They're the braindamage that makes your $100,000 ASIC-based turbo-stateful packet-mulching firewall transparent to hackers"

    '"Enumerating Badness" is the idea behind a huge number of security products and systems, from anti-virus to intrusion detection, intrusion prevention, application security, and "deep packet inspection" firewalls'

    --
    davecb5620@gmail.com
  13. Unreliable Network Simulation by Arethan · · Score: 1

    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, it would have been useful to have other options as well such as random packet dropping, packet corruption, packet reordering, and random packet delay.

    I recall a few years ago that some company came up with a hardware device specifically for simulating unreliable networks with the intent of selling them primarily to game developers. I don't recall the product name though. In any event, it would be nice to see either pfSense or monowall support an official plugin to provide access to that sort of functionality. I'm not sure if *BSD has the network hooks to support all of the necessary features though.

    1. Re:Unreliable Network Simulation by slashnik · · Score: 1

      For traffic shaping there is always netem http://linux-net.osdl.org/index.php/Netem
      If not for you have a look at nistnet URL:http://www-x.antd.nist.gov/nistnet/>
      and dummynet.

    2. Re:Unreliable Network Simulation by Anonymous Coward · · Score: 0

      If your main interest is the simulation of unreliable networks, maybe nistnet may help you. It supports packet delays, max. bandwidth and package dropping and duplication (no firewall though, although setting up a minimal debian installation with iptables is not hard). It can be configured using the GUI or the CLI.

    3. Re:Unreliable Network Simulation by Fweeky · · Score: 1

      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.

    4. Re:Unreliable Network Simulation by j_pernfuss · · Score: 1

      You should have looked under the fancy GUI. m0n0wall uses dummynet(4) for traffic shaping - and simulating various network conditions and delays was actually the initial target of it. It can do everything you ask for, m0n0wall simply didn't export its complete funtionality to the gui.

  14. If I could only get port forwarding to work by Poromenos1 · · Score: 1

    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).

    --
    Send email from the afterlife! Write your e-will at Dead Man's Switch.
  15. minor p2p glitch by Anonymous Coward · · Score: 3, Informative

    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.

    1. Re:minor p2p glitch by TCM · · Score: 1

      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.

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    2. Re:minor p2p glitch by Anonymous Coward · · Score: 0

      Try using the static-port option on your nat rule(s), at least for UDP traffic.

  16. Console, anyone? by paulius_g · · Score: 2

    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
    (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.

    1. Re:Console, anyone? by Anonymous Coward · · Score: 0

      I went and found the answer to your question in under 30 seconds. Now you can too.

    2. Re:Console, anyone? by Anonymous Coward · · Score: 0

      According to this pfSense wiki http://wiki.pfsense.com/wikka.php?wakka=WhichVersi onIsRightForMe the embedded version is console-only, of course.

    3. Re:Console, anyone? by Anonymous Coward · · Score: 0

      embedded supports ssh also

    4. Re:Console, anyone? by Agripa · · Score: 1

      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.

    5. Re:Console, anyone? by mrjackson2000 · · Score: 1

      pfsense does allow console access via ssh, i have dnetc running on mine without a problem.

  17. VM? by kafka47 · · Score: 2, Insightful

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

    /K

    1. Re:VM? by numbski · · Score: 2, 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.

      --

      Karma: Chameleon (mostly due to the fact that you come and go).

    2. Re:VM? by DoXaVG · · Score: 1

      Maybe you could convince the author of this:
      http://www.vmware.com/vmtn/appliances/directory/36 1
      to update it to release.

    3. Re:VM? by Natales · · Score: 1

      You don't even need a preinstalled VM image for this. It's easier to create your own VM with NO virtual hard drive, boot it from the ISO file and store the configuration on a virtual floppy image. I've done it with Monowall for years and it works like a charm.

      With this config you can tweak the amount of real memory you allocate to the VM based on you real utilization patterns (i.e, not everybody will run the Snort module).

      Disclaimer: I work for VMware.

    4. Re:VM? by nurb432 · · Score: 1

      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 ..

      --
      ---- Booth was a patriot ----
  18. PFsense NAT is symmetric, result: no SIP (VoIP) by Anonymous Coward · · Score: 0

    I have played quite extensively with PFSense because I wanted some of the traffic-shaping features but I had to come to the conclusion that PFSense NAT does not work with SIP (VoIP).

    The symmetric NAT of PF is simply a pain - most SIP VoIP things do not work. Anyone who considers to use SIP should not use symmetric NAT and should go for fully coned NAT.

    IPCop does fully coned NAT. Traffic shaping features are also available as add-ons.

    In short: PFsense is a nice idea but unfortunately useless for SIP users.

    Cheers

    GeeJay

    1. Re:PFsense NAT is symmetric, result: no SIP (VoIP) by SiliconJesus101 · · Score: 2, Interesting

      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 things that do not work; I am only relating my experiences. I must also state that the SIP traffic shaping appears to work beautifully there as I really don't have any call issues that are not related to the bandwidth available at my remote location(s).

      --

      "The strong will do what they want, the weak will do what they must."
      -Thucydides

    2. Re:PFsense NAT is symmetric, result: no SIP (VoIP) by TCM · · Score: 2, 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-20000 leaves NATed but with the source ports intact. Together with the ability to let Asterisk enter arbitrary IP addresses in SIP messages[1], this makes it look like it was directly connected and not behind NAT at all.

      All other traffic - even HTTP from the Asterisk server for example - gets the source port replaced as usual.

      [1] Who TF thought that entering layer 3 addresses in application layers was a good idea anyway?

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
  19. x86? by Anonymous Coward · · Score: 0

    Some of us got rid of the proprietary and obsolete x86 platform years ago. FreeBSD runs on SPARC64 which is the perfect platform for this kind of application. x86 is a joke at best.

    1. Re:x86? by DoXaVG · · Score: 1

      Great, we thank you for donating our sparc64 build systems.

  20. 1.0 and it's still broken by AmiMoJo · · Score: 2, Informative

    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.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    1. Re:1.0 and it's still broken by Anonymous Coward · · Score: 0

      Instead of trolling, why don't you submit patches? This is an open source project. It's also a one dot oh release.

    2. Re:1.0 and it's still broken by Anonymous Coward · · Score: 0

      "Instead of trolling"

      He is not trolling; he is stating a fact.

      "why don't you submit patches?"

      Because he found a more cost-effective solution from his point of view.

      "This is an open source project"

      So what? That only means that he *can* submit patches, not that he *must*.

      "It's also a one dot oh release."

      Which usually means "the first functionally complete, bug-free as-far-as-we-know release". You know, they themselves publish this release as "The pfSense team is excited to bring you our first ever real release!" . Which is quite far to be the current situation.

      I feel the main developers suffer from quite a strong "featurittis" that focuses them so much towards their new "HEAD" than to polish their current 1.0. Oh! and a bit of reality-negating attitude. Usually an "I can replicate that on my environment" (or even an "I don't want to take the time to test it now") tends to become "You must be wrong: it surely works properly" which in turn tends to mean that not so easy to catch bugs (like those on NAT and balancing, for instance) just go through untouched since months ago.

    3. Re:1.0 and it's still broken by AmiMoJo · · Score: 1

      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.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    4. Re:1.0 and it's still broken by DoXaVG · · Score: 1
      "why don't you submit patches?" Because he found a more cost-effective solution from his point of view.
      Great. So instead of helping out when the developers can't replicate an issue, he moves on to another project and then complains about it. Fine by me, open source only works when there's a community behind it. Those who complain about features that don't work quite right or don't work the way they want them to need to remember exactly how much they paid for it and exactly what the developers owe them. Nothing.
      "This is an open source project" So what? That only means that he *can* submit patches, not that he *must*.
      So? I'm failing to see a point here. This is STILL a free project, he still hasn't paid a dime for it. He has a couple options, help the developers pinpoint the bug, submit a patch, or move on. He's chosen the latter path, fine by me. That's how this works.
      "It's also a one dot oh release." Which usually means "the first functionally complete, bug-free as-far-as-we-know release". You know, they themselves publish this release as "The pfSense team is excited to bring you our first ever real release!" . Which is quite far to be the current situation.
      Actually, no, this means that it's as good as we can make it. Realize that software has bugs in it, some are known, some require changes that are large enough to not warrant fixing in a given release (changes can also introduce bugs). Being a 1.0 release means that up until this point, considering it's only ever been posted as a beta, a LOT of people won't have touched it.
      I feel the main developers suffer from quite a strong "featurittis" that focuses them so much towards their new "HEAD" than to polish their current 1.0. Oh! and a bit of reality-negating attitude. Usually an "I can replicate that on my environment" (or even an "I don't want to take the time to test it now") tends to become "You must be wrong: it surely works properly" which in turn tends to mean that not so easy to catch bugs (like those on NAT and balancing, for instance) just go through untouched since months ago.
      We spent a YEAR polishing 1.0. Some things were pushed to HEAD out of necessity as previously mentioned, some bugs are just too damn big to squash easily - for those we either provided workarounds where applicable or removed the feature entirely (and people whine). Lots of work has been done in HEAD sure...why? Because stiffling development to fix the trickle of bug reports on RELENG_1 would mean a loss of developers. Our last hackathon was spent testing the codebase and working on bugs, not on developing new features. Reporting bugs without enough information to duplicate the bug ends up with no fixes - if it can't be duplicated or we don't have enough information to trawl the code path for the bug, it's not going to get fixed.
    5. Re:1.0 and it's still broken by DoXaVG · · Score: 1
      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.
      The documentation is rubbish, I agree. Part of the documentation issue is that it's excruciatingly difficult to document a changing system. A large amount of the documentation that was created during the alpha and beta phases of development were rendered useless after various changes were made to either idiot-proof the system or eliminate bugs. I can't comment on the forum posts, although I'm well aware of yours. I never once thought that it was perfect, I've never claimed it was complete, I've never claimed it was "easy", I did however go out of my way to create code that worked out of the box for most people. Is it configurable...not so much, that's part of the "I never claimed it was complete". I'm probably the person that understands our shaper code the most, I also am the least likely to answer questions on it cause I'm tired of it, it's a part of the codebase I wish I'd never touched. I regret that we didn't leave the m0n0 code in there, it's old, sucks ass, and is nearly useless, but at least it's configurable. PS. It usually is a misconfiguration issue and for the cases where it makes sense for us to put a sanity check in for the misconfiguration, or add a note to a field to clarify it's use, we do.
  21. Current Wifi support by nurb432 · · Score: 1

    That was the main piece missing in monowall.. ( that and a nice installer for PC hardware users ).

    --
    ---- Booth was a patriot ----
  22. Born dead: *BSD is dying by Anonymous Coward · · Score: 0

    It is now official. Netcraft confirms: *BSD is dying

    One more crippling bombshell hit the already beleaguered *BSD community when IDC confirmed that *BSD market share has dropped yet again, now down to less than a fraction of 1 percent of all servers. Coming on the heels of a recent Netcraft survey which plainly states that *BSD has lost more market share, this news serves to reinforce what we've known all along. *BSD is collapsing in complete disarray, as fittingly exemplified by failing dead last in the recent Sys Admin comprehensive networking test.

    You don't need to be the Amazing Kreskin to predict *BSD's future. The hand writing is on the wall: *BSD faces a bleak future. In fact there won't be any future at all for *BSD because *BSD is dying. Things are looking very bad for *BSD. As many of us are already aware, *BSD continues to lose market share. Red ink flows like a river of blood.

    FreeBSD is the most endangered of them all, having lost 93% of its core developers. The sudden and unpleasant departures of long time FreeBSD developers Jordan Hubbard and Mike Smith only serve to underscore the point more clearly. There can no longer be any doubt: FreeBSD is dying.

    Let's keep to the facts and look at the numbers.

    OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of NetBSD are there? Let's see. The number of OpenBSD versus NetBSD posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 NetBSD users. BSD/OS posts on Usenet are about half of the volume of NetBSD posts. Therefore there are about 700 users of BSD/OS. A recent article put FreeBSD at about 80 percent of the *BSD market. Therefore there are (7000+1400+700)*4 = 36400 FreeBSD users. This is consistent with the number of FreeBSD Usenet posts.

    Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD went out of business and was taken over by BSDI who sell another troubled OS. Now BSDI is also dead, its corpse turned over to yet another charnel house.

    All major surveys show that *BSD has steadily declined in market share. *BSD is very sick and its long term survival prospects are very dim. If *BSD is to survive at all it will be among OS dilettante dabblers. *BSD continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, *BSD is dead.

    Fact: *BSD is dying

    1. Re:Born dead: *BSD is dying by eneville · · Score: 1

      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/ospf are now part of the default install and it's very attractive for network ops, oh and chroot apache is a good move also.

      if bsd kernels had a strong drive behind them like ltorvalds then perhaps they would have better device support.

    2. Re:Born dead: *BSD is dying by WindowsIsForArseWipe · · Score: 0, Troll
      if bsd kernels had a strong drive behind them like ltorvalds then perhaps they would have better device support.

      But they don't so BSD is dying.

  23. Check out Endian Firewall by Anonymous Coward · · Score: 0

    if the broken features in pfsense gets on your nerves check out http://www.endian.it/en/community/about/

    stateful firewall, mail security, web security, vpn, console ssh access.

  24. pfSense 1.0 Firewall Deceased by Anonymous Coward · · Score: 0

    Fact: *BSD is dying

  25. Elegy for *BSD by Anonymous Coward · · Score: 0

    Elegy For *BSD

    I am a *BSD user
    and I try hard to be brave.
    That is a tall order
    *BSD's foot is in the grave.

    I tap at my toy keyboard
    and whistle a happy tune
    but keeping happy's so hard,
    *BSD died so soon.

    Each day I wake and softly sob
    Nightfall finds me crying.
    Not only am I a zit faced slob,
    but *BSD is dying.