Slashdot Mirror


OpenBSD 3.2 Readies For Release, pf Matures

An anonymous reader writes "Just over a year ago, OpenBSD creator Theo de Raadt ripped ipfilter out of the OpenBSD code leaving "the world's most secure OS" temporarily without a packet filter. Here's an interesting interview with Daniel Hartmeier, author of pf, the stateful packet filter developed as a replacement. Now just over a year old, it sounds like pf has already become a serious contendor in the world of stateful packet filtering. This interview is of particular relevance with OpenBSD 3.2 to be released on Friday, 11/1."

105 of 292 comments (clear)

  1. Poppycock! by Mr_Icon · · Score: 3, Funny

    Codswallop, January 11th is a Saturday!

    --
    If you open yourself to the foo, You and foo become one.
    1. Re:Poppycock! by Skyfire · · Score: 2, Interesting

      (Yes I know this is offtopic) Speaking of which, does anyone know why the US uses MM/DD and everywhere else uses DD/MM? And please don't use the typical "Because USians give a rats ass about the rest of the world" (even though its true)

      --
      Do not go gentle into that good night. Rage, rage against the dying of the light.
    2. Re:Poppycock! by Shanep · · Score: 2

      Not only is it logical, but it is also very computer friendly since sorting datestamps that are in this format is easy: an ascending sort is a chronological sort.

      Oh tell me about it. Today I was at a client site who complained that they couldn't find their latest backup files. Reason being, that they were naming their backup files with alpha numerics mixed throughout the files and more importantly without leading zeroes.

      Result being, files being naturally sorted in WinNT 4 Windows Explorer that did not go in the order the dates did.

      The users backups were there, but so hard to find that they called me in because they were worried that their backups were not working!

      They were only weekly backups, so if they saved them as apYYYYWW.zip all would have appeared to be fine. Where ap is an abreviation of the application data being backed up, YYYY obviously year and WW the week of the year. apYYYYMMWWDD would be nicer so that in the future, referencing particular backup dates could be quicker.

      Thanks for that link BTW. Now I have extra ammo. ; )

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
  2. Save you the effort... by Fnkmaster · · Score: 5, Funny

    Dear Slashdotters,

    I decided to save you the effort of replying to this article by summarizing all of the posts you are about to make.

    1) BSD is dead poster: BSD is dead! Only 13 people use OpenBSD and they all live in their parent's basements!
    2) Dumb Karma Whore: Packet filtering? What's that? Can somebody explain why pf is a better packet filter than the alternatives?
    3) De Raadt Hater: Theo sucks! Burn in hell, Theo, you self-righteous prick. FreeBSD 0wnz!

    1. Re:Save you the effort... by Anonymous Coward · · Score: 5, Funny

      what a stereotype!

      not everyone has a basement, you know.

    2. Re:Save you the effort... by ImpTech · · Score: 3, Funny

      Funny... while I don't live in my parents' basement, my OpenBSD box does, so I guess the first poster is half right.

    3. Re:Save you the effort... by ELiTeUI · · Score: 3, Funny

      Thats too funny.

      I also do not live in my parents basement, however one of my OpenBSD boxes does..

      I guess it is a small world after all.

      ELiTeUI

    4. Re:Save you the effort... by CBravo · · Score: 2, Funny

      of course, there is a reason that that box is in the basement. It does not go down.

      --
      nosig today
    5. Re:Save you the effort... by Dark+Lord+Seth · · Score: 3, Funny

      Heathen, you forgot three of them!

      Imagine a Beowulf cluster of packet filters!

      1. Develop a packet filter.
      2. ???
      3. Profit!

      ( ) CowboyNeal is my packet filterer! You insensitive clod!

    6. Re:Save you the effort... by jbolden · · Score: 2

      QA guys do real work. There is a huge difference between software that sort of works and software that works perfectly everytime. Theo led a team to do a tremendous job of cleaning up many of the standard open source apps.

      Project managers, systems analysts, developers, QA, tech writers, business analysts... are all on the same team; why the backbiting? Don't IS/IT people have enough problems without turning on each other?

  3. Re:so is there a packet filter or not? by aridhol · · Score: 5, Informative

    When they took ipfilter out, OpenBSD didn't have a packet filter. In order to address this issue, pf was written. After pf was written, OpenBSD had a packet filter. There was a time, after ipfilter was removed, but before pf was added, that OpenBSD didn't have a packet filter.

    --
    I can't say that I don't give a fuck. I've just run out of fuck to give.
  4. pf ported to Debian? by Centinel · · Score: 2, Interesting

    Does anyone know if anyone has ported the OpenBSD pf over to Debian?

    1. Re:pf ported to Debian? by krmt · · Score: 2

      Well, I don't see it in the userspace program list in aptitude anywhere, not that I expected it, since in the interview with the pf creator he says that it is hooked in to the OpenBSD kernel directly. Your best hope of getting it with Debian soon was the project to port Debian to OpenBSD, but since that was just abandoned you'll have to wait a while or do the work yourself.

      --

      "I may not have morals, but I have standards."

    2. Re:pf ported to Debian? by peter · · Score: 2

      There were plans to create a Debian GNU/FreeBSD operating system. (Maybe not just FBSD, without the GNU/. (They would probably use the FBSD C library, but most things would be the existing Debian packages. I guess there would be some new packages with FreeBSD software.)) I can't remember what I saw most recently about the Debian on FreeBSD project, but I don't think it's totally abandoned.

      Anyway, pf is specific to OpenBSD's kernel, and I don't think it is likely to be ported to other kernels.

      --
      #define X(x,y) x##y
      Peter Cordes ; e-mail: X(peter@cordes , .ca)
    3. Re:pf ported to Debian? by neroz · · Score: 2, Informative

      What a shame. Lets hope the {Net|Free}BSD ports dont follow suit - they are a lot futher along.
      Heres the post from the Debian GNU/OpenBSD porter:
      ---
      Subject: status debian/openbsd
      From: Andreas Schuldei
      Date: Tue, October 22, 2002 4:50 pm
      To: debian-bsd

      There are several indications that openbsd's security is more or
      less up to the level what can be achived with todays debian
      gnu/linux.

      The kernel code seems to have severe race conditions and the
      userspace seems to be bitten by a compareable number of security
      incidents as e.g. a stabel debian with a correspondig software
      base.

      Since my reason for this port is primary to provide a more secure
      environment for debian users with the same feel, right now this
      port seems not to be worthwhile.

      OpenBSD seems to make efforts to change to elf binary format some
      time in the future. When this happend and the audit efforts show
      further results i will reevaluate the situation.

      Everyone who wants to carry on with this port is welcome to take
      over.
      ---

    4. Re:pf ported to Debian? by LordHunter317 · · Score: 3, Interesting

      Other way around. The whole point of any GNU/*anything* port, Debian or not, is to get the entire GNU toolchain running on said kernel.

      The debian part would obviously be porting as much stuff as possible to run on said GNU/*anything*.

      So GNU/OpenBSD would run pf but not iptables. See?

      This is the one point where the GNU/*OS* thing makes sense. Though I think GNU Debian *OS*/*arch* would be better, as in GNU Debian Linux/i386 or GNU Debian OpenBSD/i386.

    5. Re:pf ported to Debian? by peter · · Score: 2

      yeah, that's what I was trying to say, but got sidetracked half way through :(. Of course they would use pf where Debian on linux uses iptables. However, the C library, as an interface between the kernel and user space, takes a lot of work to get working on a different kernel, or a different architecture. However, some GNU software is designed to run on a GNU system, and uses things like getline() instead of fgets(). (read the GNU libc info page if you don't know about this.) Most major pieces of software are portable to non-GNU systems, so they could get by without the GNU C extensions.

      --
      #define X(x,y) x##y
      Peter Cordes ; e-mail: X(peter@cordes , .ca)
  5. oh GREAT by Anonymous Coward · · Score: 4, Funny

    I had never before done any kernel programming, but I knew C

    Great... I'm going to recommend to my boss that we replace all our FreeBSD and Linux servers with OpenBSD! With that kind of kernel programming experience on the team, you know it's gonna be SOLID! Check it.. he didn't say he "heard of" C, or "dabbled in" C, or even "thought there was a language called" C, he KNEW C! Inside and out!

    And hey, did you read the interview, the man owns TWO, count 'em, TWO cats! Between the three of them, they should hammer out some sweet packetfilter code.

    (hey it's a joke. but I'm still not giving up FreeBSD)

  6. Re:OpenBSD is crap, heres why - vermillion by Anonymous Coward · · Score: 5, Insightful

    I usually don't feed the trolls, but...

    OpenBSD is fucking hype. The only good thing about it is SSH.

    Yeah - SSH... and isakmpd, systrace, pf, altq, chrooted apache and whole-of-tree audits.

  7. Re:OpenBSD's Security is Overrated by Anonymous Coward · · Score: 3, Funny

    so basically, you're saying: OpenBSD is the most secure OS out there, as long as you don't install it on a computer?

  8. Re:so is there a packet filter or not? by a+(+h+3+r+0+n · · Score: 5, Informative

    The reasons for ripping IPF out of OpenBSD are documented elsewhere, but what it basically boils down to is a licensing issue. Darren Reed, author of IPF, changed its license to something incompatible with the stated goals of OpenBSD, so it was removed. Daniel (incredibly) came up with a replacement in record time. The 3.2 release boasts a lot of things, besides improvements to PF. These includes things like a nonexec stack, a chrooted apache, a reduction in the number of setuid binaries, and more 'secure' filesystem mount options by default. Theres no sarcasm implied, I'm sure. OpenBSD truly IS among the most secure operating systems in the world.

  9. if you are going to upgrade to 3.2 ahead of time by congiman · · Score: 5, Informative

    Its already out there in the source tree... and has been for a while (beginning of october).

    You can grab the main .tgzs from:
    ftp.usa.openbsd.org/pub/OpenBSD/snapshots/i 386

    I'm pretty sure you can do this install by getting the floppys (.fs) files and selecting FTP install.

    If you have 3.1 (or any other version) you can upgrade the source tree (this is how I did it)

    set your cvsroot:
    setenv CVSROOT anoncvs@anoncvs.usa.openbsd.org:/cvs
    cd /usr
    cvs -q get -rOPENBSD_3_2 -P src

    You can then follow along here:

    http://www.openbsd.org/faq/upgrade-minifaq.html

    Make sure you do all the steps,
    Be especially sure you do 1.5, 1.8, 3.1.* before you do a make build..

    (note: if you are doing it from something earlier than 3.1 you should do the other changes (3.0.* etc. etc.)

    -- C

  10. WARNING: SNAPSHOTS ARE NEWER THAN RELEASE by honold · · Score: 2, Informative

    this information is bad, as the 3.2 snapshots are now further ahead in development than the 3.2 release code. there is no supported method for backtracking from -current to -release.

    for the impatient, the best method is to check out the 3.2 sources from cvs (as described) and build from source

    1. Re:WARNING: SNAPSHOTS ARE NEWER THAN RELEASE by congiman · · Score: 4, Informative

      The snapshots on ftp.usa.openbsd.org are still 10/3/2002.....

      But, I'll also grant you that that seems weird in that it usually changes more often.

      If all else fails, wait 3 days and you can find it at:

      ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.2
      (THIS LINK WILL NOT WORK UNTIL FRIDAY)
      (this is posted in PST, so Friday is still 3 days away).

      Yeah the best way would be to grab 3.1
      ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.1

      install it
      and then src code upgrade

      -- C

  11. Re:so is there a packet filter or not? by jbolden · · Score: 5, Informative

    OpenBSD truly IS among the most secure operating systems in the world.

    I think its probably fairer to say something like, "OpenBSD truly IS among the most secure Unixes in the world". There are fundamental security flaws with Unixes that run very deep which prevent it from being really really secure. Look at an OS like Z-OS or Eros to see how much further security can go when you break from Unix security flaws like:

    - The existence of a filesystem
    - Having any individual have much real authority over the system ....

  12. OBSD Support !!! by SuperDuG · · Score: 4, Insightful

    I think the one thing that everyone absolutely always neglects to realize is that Open BSD is the absolute perfect firewall/router solution for any network. All serious networks I've ever seen or worked with use Open BSD as their router/firewall solution and for good reason, it's perfect. It's stable, secure, and BSD Free, what more could you possibly want. Open BSD is made for security and it does its job wonderfully.

    --
    Ignore the "p2p is theft" trolls, they're just uninformed
    1. Re:OBSD Support !!! by Churchill · · Score: 2, Insightful
      All serious networks I've ever seen or worked with use Open BSD as their router/firewall solution and for good reason, it's perfect.
      You're right! Managing hundreds of OpenBSD firewalls in dozens of locations, all the while maintaining a cohesive security policy is a BREEZE with the excellent OpenBSD pf management software! Er, no. What kind of serious networks are you working on, anyway?
      --
      What a life a mess can be.
    2. Re:OBSD Support !!! by SuperDuG · · Score: 2

      Not networks that serve. Man everyone who posts is really a moron. Not every network on the internet is meant to serve. When I said serious networks I was talking companies that provide net access to every desk type networks. OBSD is the perfect solution for these situations as it can serve as the firewall/router/webserver/email server. It's all stable and secure and works perfectly for your average small to mid-size business. I'd recommend a midrange PC with Open BSD anyday before I recommended a cisco solution.

      --
      Ignore the "p2p is theft" trolls, they're just uninformed
    3. Re:OBSD Support !!! by c13v3rm0nk3y · · Score: 2
      Well, I can report that my (publicly traded) corp is pretty OBSD friendly. Almost all our edge hosts on our international VPN or the DMZ are OpenBSD. It does most routing, all email and spam filtering.

      It isn't doing the VPN proper right now, because we've invested too much in a commercial VPN. Also, most of our discrete host access to the VPN (over dialup or broadband) is Microsoft PPTP (which is lingua franca in terms of client access). We use NT exclusively for authentication/authorization (except for the NIS stuff on all our UNIX boxes), but we are switching to Active Directory. This got us thinking about running arbitrary LDAP services on OBSD and falking out all the Windows 2K client boxes. Shades of Samba!

      There is talk about switching our web and ftp server(s) to OBSD. We've already made the jump from Netscape to Apache (on Solaris), and IBM is *most* happy to supply us with OS-free Netfinity servers to run this stuff on. We still have a lot of value left in our Sparcs, but as they age it looks less and less like they will be replaced with newer hardware.

      The main obvious benefit for me is that I get to tag on a t-shirt or two onto our corporate orders. I mean, having stable email is all well and good, but a new OBSD t-shirt every 6 months! That rings my bell.

      --
      -- clvrmnky
    4. Re:OBSD Support !!! by mindstrm · · Score: 2

      You are a troll.

      I run some very serious networks, and we don't use openbsd. What is so superior about PF?

      Openbsd can't do policy routing, and PF is quite limited.

      And a serious network doesn't run the mail server and webserver and router on the firewall.

  13. Why no easy installer? by browser_war_pow · · Score: 5, Interesting

    What I don't get is why don't these projects realize the kind of coup they could score by releasing a Mandrake/RedHatesque installer that even the average marketting drone could use to setup a fully operational installation. I'd love to use OpenBSD if I thought I could get it working. I'm still just a novice with *NIX though so some of this is a bit too hardcore for people like me right now. But still, getting OpenBSD an installer that **just works** for the average person would take it to a whole new level.

    1. Re:Why no easy installer? by krmt · · Score: 5, Insightful

      Making a good installer is hard work. OpenBSD just doesn't have its priorities there, and rightly so. If someone really felt strongly enough about the issue to write a nice graphical installer, or port one of the Linux ones over, there's nothing stopping them from doing so. It's just obviously not that important right now.

      That said, if you want an easy install, there are plenty of alternatives for you. You've already mentioned Redhat and Mandrake, and there's also the very notable OSX. These might not be products focused primarily on security, but if you're really concerned about security then you're going to have to be willing to do some work of your own. Even OpenBSD doesn't guarantee security in the absence of knowledge. So if you're willing to put in the work to learn to be effectively secure (and thus actually use the system properly) then you're certaintly willing to learn how to install the thing.

      --

      "I may not have morals, but I have standards."

    2. Re:Why no easy installer? by Dog+and+Pony · · Score: 5, Funny

      First off, anything is easy compared to installing Debian (typical that I *do* run it, anyways... sigh.) Well, slackware's worse.

      And second, no marketing drone has ever, as long as humans has kept track, installed anything except the latest email worm. For all the other software, they grab whoever is close and not wearing a tie. Usually it is some guy that would rather shoot himself in the foot than use up the afternoon installing windows Me, but there you go.

    3. Re:Why no easy installer? by psxndc · · Score: 3, Informative
      If you buy the CD, the insert has a walkthrough of an install. OpenBSD is actually one of the easiest installs if you follow the documentation.

      psxndc

      --

      The emacs religion: to be saved, control excess.

    4. Re:Why no easy installer? by coene · · Score: 2

      It's MUCH easier than you think... It just takes some reading (just a tad, which is all stuff you NEED to administer the system anyways).

      You want:

      http://www.openbsd.org/faq/faq4.html [Installing OpenBSD]

      and

      http://www.openbsd.org/faq/index.html [The entire FAQ]

    5. Re:Why no easy installer? by alain1234 · · Score: 3, Informative

      About Debian and OpenBSD, a quote from the latest Debian weekly news :

      Debian/OpenBSD ceased. Andreas Schuldei announced that he is discontinuing the effort to combine OpenBSD and Debian. He found out that there are several indications that security in OpenBSD is mostly at the same level as it is in Debian. Since the reason to work on this port was primary to provide a more secure environment for Debian users this port doesn't seem to be worthwhile anymore.

    6. Re:Why no easy installer? by evilviper · · Score: 5, Insightful

      Personally, I find OpenBSD's installer to be simpler than ony other. Who needs a GUI?

      Do you want to setup networking? [Y, n]
      Do you expect to run XFree86? [Y, n]


      What could be more simple than that? I can install OpenBSD in the time it takes most GUI installers just to load.

      The one place it needs work is FDISK, and that's not a problem unless you say 'NO' when asked if you'd like to 'use the entire hard drive'.

      The installer has some nice perks too. You can use wild cards when selecting your packages, so a simple "-x*" will unselect all the X packages. Just "*" selects everything (one of the few OSes where you almost always want EVERYTHING-there's no junk in the distro), or you can always go with the default, minimum, install.

      That's why I like OpenBSD, it isn't a bunch of shinny things, it's just a very simple and elegant Operating System. Installer and all.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    7. Re:Why no easy installer? by aussersterne · · Score: 2

      Well, slackware's worse.

      <rant type="stream of consciousness">

      I couldn't let this slide. I've been using Linux since 1993 -- longer than many, not as long as some others... and I was a SunOS guy before that.

      I have always found the Slackware installer to be reasonably friendly, extremely well-thought out, both elegant and consistent.

      ON the other hand, I avoid dselect like the plague. Even if you know what you're doing, dselect is a ponderously huge set of choices; just browsing through them to locate the ones you want while looking at the package name column and nothing else requires enough reading and keying to slow the process down to a crawl. Better to bypass dselect entirely... just install the base system and then use apt to get the stuff you want. It's not that I dislike Debian -- in fact, I use Debian/Sparc on a whole mess of Sparc 10 and Sparc 20 workstations that I administrate and it performs nicely.

      But I can't imagine how new home PC users must feel when confronted with a huge, text-only interface with no obvious onscreen guide to keys and very counterintuitive behavior. For example, try running dselect on a 386 or a 68k mac (both supported platforms). Hit PgDn and five or six seconds later the screen finally updates. Bet new users hit it three or four times, wondering why it isn't working. Oops! Same goes for entering and leaving dependency resolution... Press Enter once your selections are made and watch... nothing happen for 30 seconds until the package list is finally displayed once more. Bet new users hit Enter 10 or 12 times. Maybe they even hit reset, thinking they've frozen!

      The OpenBSD and NetBSD install systems and the Slackware install system are much, much better than dselect, which is an utter dog that has been completely overwhelmed by the growth of Linux and the sheer number of Debian packages available.

      </rant>

      --
      STOP . AMERICA . NOW
    8. Re:Why no easy installer? by RAMMS+EIN · · Score: 4, Insightful

      I don't wanna boast, be elitist, troll, whatever here, but I actually think the OpenBSD 3.1 installer is one of the best installers I've ever seen. Sure enough, it doesn't have a GUI, but it fits on one 1.44 MB diskette and uses little RAM.

      The installation process is as simple as answering questions that are in plain English. The one thing that sucks about it is the disklabel part. I think it would be helpful to do some ad-hockery to come up with sensible defaults here. Nevertheless, help is available in clear English and a swap and root partition (and whatever more you deem necessary) are soon enough created.'

      Now I am going to abuse the rest of this post for stating what other improvements (besides the disklabel editor already mentioned) I would like to see in OpenBSD. The default install ships with many services (fully or nearly completely) preconfigured but commented out. This is a Good Thing. However, although SMTP and POP3 are mostly set up this way, the same is not true for their secure (tunneled over SSL) versions. I think that OpenBSD, especially with its focus on security, should really offer this.

      Another thing that would be good for OpenBSD to have is a secure distributed filesystem. This applies to other operating systems as well, and I know there are various options that work, each with serious drawbacks. Two options that I consider of special interest are Coda and SFTP. Coda is said to be in alpha stage (and has been, for a long time), but is reported to work quite nicely. SFTP is not technically a filesystem, but can be used as one by Linux with LUFS. I think a LUFS-equivalent for [Open]BSD would be a huge win.

      --
      Please correct me if I got my facts wrong.
    9. Re:Why no easy installer? by sheriff_p · · Score: 2

      In truth, it's been a while since I installed OpenBSD (3.0 was the last one I tried), and I found it ... easy. I'm certainly not a particularly competent user, and although I'll admit the disk partitioning tripped me up, the rest was really simple.

      Additionally, the OpenBSD FAQ sets the standard for docs. Once installed, I had dhcpd/NAT/ipfw and a load of other goodies set up in under half an hour.

      I would suggest that people who say installing OpenBSD is hard just haven't tried it. If you have, be more specific: ugh eez too hardt is hardly a good bug report, or the kind of thing that'll get over-worked developers to make changes.

      --
      Score:-1, Funny
    10. Re:Why no easy installer? by debilo · · Score: 2, Informative

      I don't really mind there not being a real GUI-based installer. Although I would appreciate the comfort in having one, I've found OpenBSD installs extremely painless and easy, the installation on my (slightly dated) router box takes no more than 15 minutes. Even as a beginner, a quick read-through of the really excellent FAQ provides all the information you need to get started in no time.

      But then, there's this article I stumbled across on Deadly:

      G.O.B.I.E, a "Graphical OpenBSD Installer Engine", and I have to say the screenshots look pretty damn slick. They are also working on other cool things. From the web site:

      [G.O.B.I.E] wishes to add some value to the product by developing installation modules to known servers such as Bind, Sendmail, Inn Apache..

      Among them, you will find help to configure PF(Packet Filter), authpf, altq and some other tools.

      We have planed to build a kernel configuration tool too !!!


      I think that sounds like an interesting project and (though IMHO not absolutely needed) I would like to see it being officially presented as an alternative to the current installer.

    11. Re:Why no easy installer? by Dog+and+Pony · · Score: 2

      Well Duh.

      First you tell me that you've been using *NIXes for at least 10 years (assuming SunOS was only one year) and then you ask what the new home PC user would think about dselect??

      I can tell you that. I can *also* tell you what said user think about slackware, as I was that user not long ago, at least when it comes to installing and setting up linux.

      Said user will think that dselect takes forever to go through - and be correct. Depending on stamina, he/she will spend X minutes selecting stuff that sounds cool and/or useful, then give up and use apt-get for the rest of their days. Yes, dselect is bloated beyond recognition. Then comes the real fun. Finding the idiotically^Wobscurely named packages. Befoer anyone argues: Set someone that knows linux, but not debian, and ask them to get mod_perl installed. Took me hours to find the friggin package. And then it didn't work. :)

      Now slackware... wow. It has a friendly installer in that sense that it uses english (which I can read) and that it asks me what I want to do. End of friendliness. Thanks to a semi-good linux how-to, I actually managed to get through the install on the Xth try, when I finally got working partitions in. Other Linuxes help you with this. Not this one.

      When I finally got it up and running, I spent the next week:

      * Learning how to edit XF86Config manually to get my language on the keyboard (was not available in slackware as an only), get my mouse working and get my monitor to go over 640x480.

      * Recompiling the kernel to get the mouse to work. This is one of the things the home PC guy wants to try first of all. Not.

      * Realizing that all Linux howtos are worthless because this is Sys-V. Have you noticed that Slackware guys does not write documentation?

      * Giving up and throwing the crap out. All of the above is fun and good to know how to, but not to be able to use the system at all. Save that for later.

      There's your home PC guy for ya.

      Now, how is this better to someone without 10+ years of unix experience?

      Debian is hard, but slackware is worse.

      Or you have to put in that 10 years disclaimer.

    12. Re:Why no easy installer? by Ratbert42 · · Score: 2

      OpenBSD is one of the easiest installers. Try FreeBSD or even worse, Solaris. Then come back to OpenBSD.

    13. Re:Why no easy installer? by ryanvm · · Score: 2

      Usually it is some guy that would rather shoot himself in the foot than use up the afternoon installing windows Me

      I thought installing Windows ME was shooting yourself in the foot.

    14. Re:Why no easy installer? by Dog+and+Pony · · Score: 2

      Nope. You'll notice that the pain isn't as sharp and not as lasting when using a common gun.

    15. Re:Why no easy installer? by Cro+Magnon · · Score: 2
      The one place it needs work is FDISK, and that's not a problem unless you say 'NO' when asked if you'd like to 'use the entire hard drive'.

      Unfortunately, that one problem killed OBSD for me. Surely, it's not uncommon to want to dual-boot OBSD with something else.
      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    16. Re:Why no easy installer? by TheSync · · Score: 2

      I found OpenBSD to be an easy install EXCEPT for the disklabel editor. The editor should be able to present to the user a reasonable default partitioning scheme for servers(isn't that what OpenBSD is all about - having a secure, working system from the default install?)

      Moreover, from reading the documentation, it appears that there is no warning about the creation of a partitioning scheme that is potentially unbootable. This is silly!

    17. Re:Why no easy installer? by friscolr · · Score: 2
      SFTP is not technically a filesystem, but can be used as one by Linux with LUFS [sourceforge.net]. I think a LUFS-equivalent for [Open]BSD would be a huge win

      if NetBSD's mount_portal was ported to OpenBSD then i think it would be simple. right now OpenBSD (and FreeBSD) uses an older mount_portal which isn't as robust as NetBSD's.

      anyone know the linux equivalent of mount_portal?

    18. Re:Why no easy installer? by pmz · · Score: 2

      What I don't get is why don't these projects realize the kind of coup they could score by releasing a Mandrake/RedHatesque installer that even the average marketting drone could use to setup a fully operational installation.

      1) Do you really want a "marketing drone" establishing your critical network infrastructure? Average people shouldn't be meddling with the systems that can really make or break a company. This is serious stuff.

      2) The OpenBSD installer really is quite easy when you sit back and think about it. It's basically a well-thought-out shell script with prompts for necessary information. It's also very quick; OpenBSD installations are fast, since there isn't a quasi-stable GUI driving everything. It's also more dependable than a GUI. GUIs are complex from a software engineering point of view, and it is harder to guarantee their function. If you have questions about how OpenBSD goes about it's business...just look a the scripts.

      I'm still just a novice with *NIX...

      Don't let OpenBSD intimidate you, as it can provide a very fruitful learning experience about UNIX systems. OpenBSD really is one of the most directly and thoughtfully documented systems out there (at least for the userland stuff), but it just isn't an in-your-face system like Red Hat. Once the system installs, there is a helpful e-mail sitting in the root inbox, the installation CDs have very good README files, and the 'intro' and 'afterboot' man pages are also good. The OpenBSD website hosts a FAQ and links to mailing list archives that covers many questions for new users.

    19. Re:Why no easy installer? by evilviper · · Score: 2
      Surely, it's not uncommon to want to dual-boot OBSD with something else.

      It's not a very common occurance actually.

      I don't setup any of my servers to dual-boot.

      As for workstations:

      An extra hard drive is cheap.

      Few people just 'play around' with OpenBSD. It usually replaces the other OSes, and not many people are concered about co-existance.

      FDISK is easy enough to use if you read the (very detailed) man page. From the docs on the CD, from the man pages on OpenBSD.org, even from within fdisk-you can easilly access the man page.

      I mentioned fdisk only because it is the most complicated part of the entire OpenBSD system, not because it's complexity is significantly over and above any other installer OSes' installer. It may take a few minutes to figure it out, but it is more powerful than any other fdisk program I've seen, and gives you a better picture of what's actually happening than any other program.

      Note For non-BSD users: FDISK is the program that modifies the (up to) four primary partitions. If you tell the installer to use the full disk, you don't even need te run fdisk. Within one of those primary partitions you create (or had the installer automatically create) is where you use DISKLABEL to allocate space for each mount point (/, /tmp, /usr, /usr/local, /home, ETC.).

      I wouldn't want non-BSD users to get the impression that setting your hard drive is difficult, from this conversation, just because the job of fdisk is different on other platforms.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    20. Re:Why no easy installer? by Bishop · · Score: 2

      OpenBSD does have one of the best installers going.

      A general concensus seems to be that your first OpenBSD install will be a throw away. Your second will be good, Your 3rd and nth (n>=4) will be painless.

      The best part about the OpenBSD installer is that a default install has everything that should be part of a Unix install and nothing more. The rest can be added painlessly from binary packages, source packages (ports), or compiled and installed by hand. (The worst part is disklabel.)

      I have written this before: If you are a unix sysadmin make the time and learn how to install OpenBSD. It is not hard, and it will help you proffesionally. Even if you can't use OpenBSD officially. A quick OpenBSD install may be exactly what you need to tftp the backups to the primary database server that crashed hard 15 minutes before running the payroll. I am sure you can think of other, more mundane, issues that a quick Unix install can help solve.

  14. Re:so is there a packet filter or not? by Trusty+Penfold · · Score: 2, Funny

    you break from Unix security flaws like:
    - The existence of a filesystem
    - Having any individual have much real authority over the system ....


    That sounds really bloody useful ... I can't do anything with my computer; and even if I could there's nothing I could do it to.

    If you don't mind, I'm off to assert my authority over some files now ( TieMeUp.Jpg doesn't know what is has coming!)

  15. Why pf sounds great by capedgirardeau · · Score: 5, Informative

    Excellent interview and responses, a very educational read for anyone who deals with firewalls and packet filtering. It should become part of the pf docs.

    He is very modest, but I like the sounds of some of the things he is doing. Here are some solid, specific things pf is doing that I dont think other packet filters are doing, ask your vendor how they are handling these same types of issues.

    This is why pf sounds like it will be very good (direct quotes from the article):

    ... [about the kernel integration] ... we just call a single function, pf_test(), from ip_input() and ip_output(), where all packets from network interfaces pass. Additionally, the function is called from the bridge code and after encapsulated packets are unwrapped, so encapsulated packets pass through pf at every layer. [security enhancement]

    ... The stateful connection tracking is based directly on Guido van Rooij's work (which is also the basis for IPFilter). ... To prevent attackers from tearing down connections, for instance with spoofed RSTs, the packet filter checks the sequence numbers in each TCP packet. Only the two peers involved in the connection (and the hops in between them) know the right sequence numbers. Guido's work shows how to keep lower and upper bounds on the sequence numbers given only the (incomplete) information the packet filter has, with a precision and beauty similar to the one you can find in a mathematic proof. [security enhancement]

    ... pf can randomize sequence numbers for hosts that have predictable ISN [initial sequence number] generators. [security enhancement]

    ... Fragment reassembly and normalization (eliminating ambiguities in packets that a receiver might interpret in different ways) was written by Niels Provos, based on Vern Paxson's work. This is something very useful I haven't seen implemented in a packet filter before ... Reassembling fragments allows the filter to deal only with complete packets, reducing the rule set complexity. In my opinion, it's well worth the additional cost. pf allows to specify what packets to normalize in which ways, so you can handle notoriously fragmented but otherwise known-good traffic separately. [security enhancement]

    ... pf implicitly creates state for all translated [NAT'ed] connections and stores the information needed for translation in the state entry. This simplifies and reduces lookups. [speed/security enhancement]

    ... [Skip Steps] And this is what skip steps are. For each parameter in each filter rule, the number of subsequent rules that specify the exact same value are counted. When, during evaluation of a rule, a parameter is found to not match, evaluation is not necessarily continued on the very next rule, but all subsequent rules that can't possibly match are skipped. [speed enhancement]

    --
    Wax on, wax off baby!
  16. Re:so is there a packet filter or not? by jbolden · · Score: 3, Interesting

    A lot of very high end stuff runs on systems with distributed administration (like most of America's transaction processing, accounting, etc...) Back in the late 70's - early 80's capability systems were a huge percentage of the market.

    You don't need a file system to have data -- for an example you are likely familiar with think of palm OS. Data is just stored in internal program specific data structures and "swapped" out of ram to disk. The important thing is that the disk is just a bunch of sectors with a zillion different data formats; but to understand the organization of the date requires running the system which imposes the security model...

  17. Re:so is there a packet filter or not? by Anonymous Coward · · Score: 2, Informative

    only the -current development branch was lacking a packet filter. obviously the stable branch and existing installations still had a functioning packet filter implementation. also note that ipf patches were made against OpenBSD CVS after theo pulled it, provoking a somewhat amusing debate on misc@.

  18. Re:so is there a packet filter or not? by Anonymous Coward · · Score: 2, Informative

    no, there was not. OpenBSD 2.9 included ipf as the packet filter. OpenBSD 3.0 and 3.1 included pf and lacked ipf.

  19. Re:so is there a packet filter or not? by Anonymous Coward · · Score: 2, Informative

    at the other end of this envelope is Bell Labs' Plan 9 which carries the UNIX principle that states "everything is a file" to the logical extreme while distributing privileges sanely, unlike UNIX with its all-powerful root. apparently this system runs a significant portion of the telephone systems in the US, at least. the design principles are sound, anyway; witness Sun's Trusted Solaris and the DARPA-funded TrustedBSD project.

  20. Re:OpenBSD's Security is Overrated by a+(+h+3+r+0+n · · Score: 3, Insightful
    The BSD community should take a hint and start gearing toward usability rather than "superior" security.

    If usability is what you're looking for, try FreeBSD instead. One of OpenBSD's goals is to be Secure by Default. Whereas other BSD variants and most Linux distros take an approach of 'turn everything on and let the admin turn off what he doesn't need', OpenBSD takes the opposite approach. In my experience as an admin, theres no difference in effort between locking down, say, a Redhat install, or enabling what I need after install on OpenBSD. The difference is, the more clueless among us will be more protected by the default install of OpenBSD than by Redhat.

  21. Re:pf? Mature? by atrus · · Score: 4, Informative

    If you actuaky read the interview, pf appeared in the 3.0 release. Which is about a year ago.

  22. Re:pf? Mature? by psxndc · · Score: 2
    uhhh... pf isn't enabled in the default install. You have to enable it via /etc/sysctl.conf or manually, both of which require root privs to begin with.

    psxndc

    --

    The emacs religion: to be saved, control excess.

  23. Re:so is there a packet filter or not? by afidel · · Score: 2, Interesting

    but to understand the organization of the date requires running the system which imposes the security model.

    NO, that would simply be security through obscurity which does not work. Any modern capabilities based OS would have strong cryptography at its core so that you could not access those data items that you do not have a key to. In fact a cool way to do it (not sure if this is done in any real system) would be to have 2 keys, one for the runlevel and one your private key which is protected by your login, that way you could not access things outside your runlevel and you could not access other data in your runlevel unless it was explicitly given permission to you by using your public key (think ACL's but the creator of the data would have to add your key to the files encryption)

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  24. Re:so is there a packet filter or not? by jbolden · · Score: 2

    Cryptography is obvious. The problem is how do the apps get their keys? If you have a file system then the keys are stored in some file and so someone else can get the keys....

    OTOH if the app stores the key in memory and is always running (though possibly swapped out) then you don't have any problems with storing keys securely.

    Remember capabilities are useful but you also have to secure the system against someone just taking the hard drive out.

    As for your ideas with dual keys it is done (hate to mention this) but for example Palladium uses that strategy (though they don't call it run levels)

  25. pF by LeiraHoward · · Score: 4, Funny

    Wow.. you know you've been doing too much electronics homework when you look at "pF" and read it as "picoFarad" and wonder what that had to do with anything....

  26. Re:if you are going to upgrade to 3.2 ahead of tim by jolan · · Score: 2, Informative

    You can grab the main .tgzs from:
    ftp.usa.openbsd.org/pub/OpenBSD/snapshots/i 386


    Those are snapshots of 3.2-current, not of what will be released as 3.2.

  27. Re:so is there a packet filter or not? by Waffle+Iron · · Score: 5, Interesting
    That sounds really bloody useful ... I can't do anything with my computer; and even if I could there's nothing I could do it to.

    I don't know about Z-OS, but I've read a little about EROS. EROS doesn't need a filesystem. That's because everything in EROS is persistent. The system saves a complete snapshot of its virtual memory to disk every couple of minutes. There is no "rebooting" of the OS. If you pull the plug, it comes back up exactly in the state of the last snapshot.

    For me, it took a little while for that concept to sink in. They're saying that there's no need to redundantly keep information in permanent storage and volatile storage. Just make it all permanent, and you don't need the filesystem concept at all. In one step, you eliminate whole classes of bugs (parsing, file permissions, sharing files, filesystem namespace problems, etc.)

    Their authority model also makes sense. Think of your system as a large building. Normal OSes treat security like doors with electronic badge readers; you're allowed to do things based on who you are. Naturally, a lot of doors must be programmed to let you through if you're going to get around the building to do your work. It's hard to ensure that each person is never able to get into a room that they shouldn't be in.

    EROS is more like a building full of unique old-fashioned key locks. You have no automatic authority to go through any door. You must obtain the individual key for each door. You get these keys on an as-needed by the people in various rooms you interact with as you do your work. Each person with keys to hand out individually determines if you are worthy to go through the next door.

    Reading up on EROS really expanded my view of how an OS could work. You can check it out at www.eros-os.org.

  28. Re:or VAX/VMS by Anonymous Coward · · Score: 3, Funny

    Yes, VMS had bugs, but they were all very well-documented. Consult manuals B-127J0 through B-141J7 for more information.

  29. Daniel Hartmeier' by Futurepower(R) · · Score: 2


    The article is one of the best resumes I've ever seen.

  30. Re:so is there a packet filter or not? by dvdeug · · Score: 2

    Look at an OS like Z-OS or Eros

    Which sites are run off of these operating systems? Which organizations run these operating systems? Or are they merely theoretically secure, with little use under fire?

    Having any individual have much real authority over the system ....

    Back to real life, short of hard cryptography, one individual usually has complete access to everything on the system. If I can run another OS on the system, I can copy or change anything and everything. Without custom hardware or always having to have someone else with the admin in the computer room, sooner or later the admin will get the chance to boot into god mode and do as he wills.

  31. answer: because they don't want THOSE users by honold · · Score: 2, Insightful

    the project is not commercial, and has no dreams of having millions of users. it only seeks to do what it does well - which it has for some time.

    most of the users and all of the developers would probably scoff at the idea of upgrading the installer because development resources aren't cheap, and they feel the time would be better spent elsewhere since the installer does work just fine.

    the 'rustic' install (complete with MANUAL PARTITIONING!!!) serves as a barrier to entry, keeping the mailing lists more clean of 'how do i mount a floppy?' questions.

  32. Daniel Hartmeier's resume by Futurepower(R) · · Score: 4, Funny


    The article is one of the best resumes I've ever seen.

    Prospective employer: What have you done?
    Daniel: I wrote the stateful firewall in OpenBSD. Here's a kerneltrap.org article.
    Employer: (Silence while recovering from amazement.) What pay do you expect?


    I hit a key accidentally, and Mozilla posted my comment above.

  33. Re:You don't need root by wotevah · · Score: 3, Interesting

    You are missing all the bugs that might be in the code still running as uid 0. Your daemons, the kernel, all of them are vulnerable. I haven't seen many exploits that actually get root by doing "su" to it, so "disabling" that account will not achieve more than, for example, a good password.

    A "secure" OS in this context means an OS with well-known "clean", stable code that has been reviewed for flaws etc etc. There isn't much you can do from an administration point of view if the services/daemons you have to use are flawed.

    I think sprinkling setuids around is not a great idea at all. Especially custom-written ones. Beautiful things can happen accidentally linking against the wrong library in a chrooted dir :)

    Chroot is *not* 100% secure. It is not a sandbox. You can still access ports, memory and processes and kernel functions, you can talk to daemons, starve the system of resources or convince the parent process to do things it will regret.

    Plus if you chroot users you'd still have to give them most of the OS somewhere unless they login to not do any work, and that will soon get boring when you'll have to upgrade all of it.

    A truly secure machine requires hardware support. A better CPU design. If the 8086 did not mix stack with code and data we would not have had so many problems today.

  34. easy? by rsax · · Score: 3, Insightful

    What's your definition of an easy installer? I would rather have something functional over easy/GUI. When I first installed OpenBSD I had only used Debian since then (only for a year or so). I printed out the entire FAQ and read it back and forth whenever I had some free time. If you read it, you will notice that it walks you through the entire installation procedure. If I was able to install OpenBSD using their excellent text installer just by reading the documentation available on their site then I'm sure anyone (who's willing to do research) can. It also helps to have an old box to install on first, play around, install again.. rinse and repeat as required.

  35. Re:Isn't the Most Secure OS... It had recent explo by peter · · Score: 2
    10 seconds with google was all it took to find evidence to prove you wrong. This is just a DoS, but you just said exploit, not run arbitrary code or anything like that. There's also the Mac Attack: send a certain 40 byte UDP packet to a MacOS computer, and it sends a 1500 byte ICMP packet to the source address of the UDP packet. There is a Mac security website that looks useful for people interested in making a Mac secure (rather than raving on /.)

    Cool Mac software that I found while looking for info: ssh and sftp for mac with SSH2 support. License? Well, there's a GNU head on the website :)

    --
    #define X(x,y) x##y
    Peter Cordes ; e-mail: X(peter@cordes , .ca)
  36. Re:( Read More... | 2 of 1416 comments | BSD ) by Shanep · · Score: 2

    can anyone recommend some sites where there is some intelligent discussion of bsd news and issues

    I prefer mailing lists. In fact, after signing up to some interesting OpenBSD lists (mostly just reading) I found I was reading OpenBSD a lot less and reading www.deadly.org a lot more (and wishing it had a lot more articles and discussion).

    --
    War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
  37. Re:( Read More... | 2 of 1416 comments | BSD ) by Shanep · · Score: 2

    Bugger, sorry. That should read "I found I was reading /. a lot less and reading www.deadly.org a lot more".

    --
    War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
  38. Re:OpenBSD is crap, heres why - vermillion by theLOUDroom · · Score: 2
    funny. i've been running freebsd for years and its open on the net. funny. i dont ever recall being rooted. funny.
    Wanna post your ip address? ;)
    I didn't think so.

    disclaimer for the humor impaired: I don't actually want to root this guy's box. I am not a terrorist, nor a member of al-qaeda.
    --
    Life is too short to proofread.
  39. Re:( Read More... | 2 of 1416 comments | BSD ) by Sn4xx0r · · Score: 3, Informative

    Go to your slashdot preferences, the homepage tab, and on the lower part of the page is "Customize Slashboxes". Enable some of the bsd sites to see their headlines while reading slashdot.

    Like Shanep said, OpenBSD Journal (at deadly.org) is a good one.

    --
    Got brain?
  40. Re:so is there a packet filter or not? by popeyethesailor · · Score: 2
    Z-OS is the latest in the series of operating systems for IBM Mainframes, which I would assume are run by quite a few organisations.


    While it's true that one may not come across a Mainframe-based webserver on the internet, they still rule the datacenters, and are generally considered pretty secure.

  41. Re:OpenBSD is so l33t... by linuxbaby · · Score: 2, Informative

    RTFFAQ:
    http://www.openbsd.org/faq/faq8.html#wwwsolaris

    8.18 - Why does www.openbsd.org run on Solaris?

    www.openbsd.org and the main OpenBSD ftp site are hosted at a SunSITE at the University of Alberta, Canada. These sites are hosted on a large Sun system, which has access to lots of storage space and Internet bandwidth. The presence of the SunSITE gives the OpenBSD group access to this bandwidth. This is why the main site runs here. Many of the OpenBSD mirror sites run OpenBSD, but since they do not have guaranteed access to this large amount of bandwidth, the group has chosen to run the main site at the University of Alberta SunSITE.

  42. "What more could you possibly want?" by Akardam · · Score: 2

    An embedded, dedicated solution?

    Don't get me wrong, though I've personally not used a BSD as a firewall, I know people who have, and they're happy with it, completely happy. But I really prefer something which was built from the ground up to be a firewall and ONLY a firewall.

    I've worked extensively with the Sonicwall devices, and I've also heard some good things about the WatchGuard Firebox series. Then again, if you want to go gung ho all out and out, you can get a Cisco PIX.

    Basically, for me, it boils down to having a specific device for a specific job, as opposed to having a general purpose piece of software running on commodity hardware for a specific job.

  43. The most secure OS by octogen · · Score: 4, Informative

    And what's up with that "the most secure os" sarcasm? OpenBSD *is* secure.

    This definition depends on what you call "secure".

    Theo calls an OS with a very limited, trusted set of applications "secure" - however, running secure applications with root privileges has nothing to do with OS level security. That's application level security.

    I'd call an OS secure, if you can only hack it by exploiting a bug inside the OS kernel. That means, there is no way of gaining 'root' privileges or something like that by hacking into some highly privileged daemon, provided that the system is configured properly.

    To achieve this level of security, it is neccessary to have fine grained privilege and compartmentalization controls instead of the superuser/world distinction built into the OS kernel - and that's still missing in OpenBSD.

    What means "secure"?
    "[...] Put another way, "secure system" means safe enough to protect some real world information from some real world adversary that the information owner and/or user care about. [...]"
    - SE Linux FAQ, NSA

    -----

    There are mainly two types of secure Operating Systems.
    a) Everything up to the C2 level of security
    b) Everything from B1 up to A1 (never ever reached by any OS)

    The difference is information labeling.
    You only get a B1 security certificate, if your OS has mandatory access controls. It must be able to automatically prevent users from mixing secret data with public data. This is often called a "Trusted OS".

    Most people don't need information labeling/mandatory access control, because all their data has the same level of sensivity.

    TCSEC C2 does not say much about how the OS has to handle privileges, so a C2-level OS can still be very insecure, but it can also be very secure - almost impenetrable - and it still can't ever become certified at B1 or above, because it simply can't handle multiple levels of sensivity.

    -----

    Let's look at NON-Trusted-OSs first, because most people don't need a Trusted OS:

    OpenBSD lacks an uninterceptable audit trail and access control lists as required by TCSEC C2. It distinguishes between world and root privileges.

    VMS has an audit trail, access control lists, and a privilege model.

    AS/400s have an audit trail, access control lists, a privilege model, an object-based security model with type enforcement and hardware-supported pointer-in-memory-protection because of the single level storage address space, but that does not matter much (think about it as something which is similar to protect-mode on an x86, but based on objects and pointer to objects instead of segments and segment descriptors).

    VMS is clearly superior to OpenBSD, mainly because of the privilege model. If a process does not have many privileges, then an attacker can't gain many privileges by hacking it. Simple, isn't it?

    An AS/400 is (VMS users listen carefully) clearly superior to both, OpenBSD and VMS. It has a superset of the security features of VMS, and additionally it has object-based protection. Therefore, you can't write to a program object, and you can't execute a data file or things like that.

    Now let's look at Trusted OSs:

    SE-VMS has an audit trail, access control lists, a privilege model, information labeling and compartment mode.

    Solaris with Argus Pitbull has an audit trail, access control lists, fine grained privilege controls plus inheritance rules (proxy privilege sets and so on), a trusted computing base, information labeling and compartment mode (mandatory access controls).

    Both are clearly superior to the non-trusted OSs mentioned above, because applications can be totally separated from each other by putting them in separate compartments.
    If someone hacks into an application in compartment A, then he/she still can't access an application in compartment B, so he/she is locked down into a jail.

    Solaris with Pitbull is clearly superior to VMS, because of the much more sophisticated privilege model. It's more fine-grained and it has inheritance controls, so certain applications will only gain their privileges if they can inherit those privileges from another process. By default, executing another application always drops all privileges.

    -----

    What I'd like to say is .. 2 things:

    1. What about "OpenBSD is the world's most secure OS"? It has a pretty good verified kernel, but it's security mechanisms are simply not powerful enough. A bug-free kernel does not help alot, when you have to run things as root, because the kernel does not have appropriate security mechanisms like privilege controls or compartment mode...

    2. What about "Unix can't be secure"? I get really bored by VMS users comparing Standard-Linux with VMS; maybe compare the most secure setup of either Operating System and then let's talk about security again.
    HERE is TCSEC B3 certified Unix (Linux-compatible, too).

    regards,
    octogen

    1. Re:The most secure OS by foofboy · · Score: 2, Informative
      Point of order re:
      b) Everything from B1 up to A1 (never ever reached by any OS).
      There are several OS's rated B1 or above.

      From Dynamoo:
      B - Mandatory Protection Division B specifies that the TCB protection systems should be mandatory, not discretionary. B1 - Labelled Security Protection As C2 plus:
      • Mandatory security and access labelling of all objects, e.g. files, processes, devices etc.
      • Label integrity checking (e.g. maintenance of sensitivity labels when data is exported).
      • Auditing of labelled objects.
      • Mandatory access control for all operations.
      • Ability to specify security level printed on human-readable output (e.g. printers).
      • Ability to specify security level on any machine-readable output.
      • Enhanced auditing.
      • Enhanced protection of Operating System.
      • Improved documentation.
      • Example OSes are: HP-UX BLS, Cray Research Trusted Unicos 8.0, Digital SEVMS, Harris CS/SX, SGI Trusted IRIX.
      B2 - Structured Protection As B1 plus:
      • Notification of security level changes affecting interactive users.
      • Hierarchical device labels.
      • Mandatory access over all objects and devices.
      • Trusted path communications between user and system.
      • Tracking down of covert storage channels.
      • Tighter system operations mode into multilevel independent units.
      • Covert channel analysis.
      • Improved security testing.
      • Formal models of TCB.
      • Version, update and patch analysis and auditing.
      • Example systems are: Honeywell Multics, Cryptek VSLAN, Trusted XENIX.
      B3 - Security Domains As B2 plus:
      • ACLs additionally based on groups and identifiers.
      • Trusted path access and authentication.
      • Automatic security analysis.
      • TCB models more formal.
      • Auditing of security auditing events.
      • Trusted recovery after system down and relevant documentation.
      • Zero design flaws in TCB, and minimum implementation flaws.
      • The only B3-certified OS is Getronics/Wang Federal XTS-300.
      A - Verified Protection Division A is the highest security division. A1 - Verified Protection As B3 plus: A2 and above Provision is made for security levels higher than A2, although these have not yet been formally defined. No OSes are rated above A1.
    2. Re:The most secure OS by evilviper · · Score: 2
      I have to say that the only place we are in agreement is: depends on what you call "secure".

      Theo calls an OS with a very limited, trusted set of applications "secure"

      No, that's what he has called 'Secure By Default'. The extensive audits of the kernel, and continual task of removing privlidges wherever possible, IS security IMHO.

      I'd call an OS secure, if you can only hack it by exploiting a bug inside the OS kernel.

      So, stick everything into the kernel (apache, OpenSSH, etc), and you've got your wish. May I suggest you work on a new definition of a secure OS...

      it is neccessary to have fine grained privilege and compartmentalization controls instead of the superuser/world distinction built into the OS kernel

      No. In fact, something like systrace can do the job even better than sticking it in the kernel. Besides that, 99.9% of programs could be run as normal users (not root) if OpenBSD had TCP/UDP port ACLs. If that was done, you could finely control the permissions for each account, thereby each service. I do this for many programs that don't bind to privlidged ports, and it works nicely. For programs that need privlidges, chroot does a good job of limiting the privlidge of a service. One again, the job of chrooting services is not the kernel's, but a regular program.

      OpenBSD lacks an uninterceptable audit trail and access control lists as required by TCSEC C2.

      Hmm, isn't that just what remote-syslog would provide? Besides, for there to be a hidden store of information locally, that means you have to begin removing some of the power and flexibility that Unix gives you. I like remote logging much better than my OS limiting what I am allowed to do.

      you can't write to a program object, and you can't execute a data file or things like that.

      That doesn't sound like much of an advantage to me. Regular users already can't write to root-owned programs. If we are talking about root privlidges, then I'd like to be able to strip my executables, and otherwise modify them as I see fit. Besides, where's the security advantage there? I just don't see it.

      A bug-free kernel does not help alot, when you have to run things as root, because the kernel does not have appropriate security mechanisms like privilege controls or compartment mode...

      You DO NOT have to run much of anything as root, and if you do, you can pretty well secure it.

      You have a kernel fettish. Get over it.

      TCSEC B3 certified

      How's this: You call an OS with a high NSA rating "secure" - however, I find their methods of classification have nothing to do with real security.

      As a matter of fact, an OS could have a blaringly obvious, devestatingly bad security hole in it, while still acheiving just as high of a rating. My point is only that their sole criteria for ratings are not the only factors in security. They are more like a NSA wishlist of things they wish to have. Let's not forget that the NSA is part of the US government... the largest bureaucracy in the world.

      Many people consider ACLs to be more secure than Unix style permissions. Despite that, Unix permissions are just as secure, (almost) as flexible, and just as fine-grained as ACLs.

      Both the capabities of Unix permissions, and the options for Unix (non-mandatory) access control, goes to show that there is more than one method that results in security. Many people just have tunnel-vision, and don't recognize the alternatives.

      If you like the idea of sticking everything in the kernel, fine, but it is not a prereq. for security. Indeed, those functions can very effectivly be done in much simpler ways...
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  44. Re:pf? Mature? by psxndc · · Score: 2
    No, but the poster said that a hole in pf would cause a root exploit in the default install. Since you'd have to be root to enable pf in the first place, why bother with the exploit? My point was that since pf _wasn't_ enabled by default, there would be no exploit in the default install without having the root password already.

    psxndc

    --

    The emacs religion: to be saved, control excess.

  45. Re:You don't need root by jbolden · · Score: 2

    How will this Unix installation be less secure than OSes you mentioned?
    If you have physical security, nobody will be able to actually login as root
    What am I missing? [reordered by editor]


    What you are missing is that the OSes I was mentioning assume an administrator might be in on the data theft. That is you don't have physical security; so you need to protect the system against someone simply copying the data directly from the harddrive.
    What you list creates an OS which is very secure againt any sort of user attack. BTW openbsd is actually moving towards what you described with lots of the setuid processes chrooted.

  46. Re:Why no easy installer? - Simple answer by nurb432 · · Score: 2

    Its due to the intended audience/market.

    If the installer is too complex/confusing for you, then you are not the intended audience.

    Not meant as an insult, just reality.

    OBSD isn't intended for the 'average' person, but one slightly above that level.

    --
    ---- Booth was a patriot ----
  47. Re:so is there a packet filter or not? by jbolden · · Score: 2

    People have already commented that pretty much every major organization runs Z-OS :-) As for Eros its based on the ideas of Multics which were used by many organizations as well as the US Army for secure computing. Until recently (late 70's-95) the direction was away from security and this was the period where Unixes thrived. Its only with the pervasive internet and the desire to create systems robust enough to handle constant attack from hostile users that security is making a strong come back.

    Anyway as for cryptography; cryptography itself doesn't solve your problem. Where are the keys stored? If they are stored on hardware you can pull the keys off pretty easily by just picking your data; if they are stored in a hardware / software mix then the software component can be taken off by a root user.

    That's why no filesystem is important. Sure you can boot into god mode using some other OS but you won't be able to understand the data since the data itself is owned by applications the cryptograhy keys are mixed at multiple levels... In other words to get to the data you need to boot the OS and then you get the OS's security. The box in a raw form can't extract the application specific data, so god mode doesn't do you any good.

  48. Re:so is there a packet filter or not? by dvdeug · · Score: 2

    Where are the keys stored?

    In the only safe place: the users' head.

    In other words to get to the data you need to boot the OS

    You could have said that about NTFS, before the Linux NTFS filesystem. If software took it apart, then software can put it back together - if necessary, take the OS, remove all security code, and boot that.

  49. Re:so is there a packet filter or not? by Lozzer · · Score: 2

    Is what you are describing really true? Your talking got a little bit fast in the last paragraph. If I can boot in another operating system I can see all the data on the disk (Having no filesystem is just a red herring - the data is still there). The machine will bootstrap through normal BIOS procedures (at least in EROS which is i386 based). So I can follow all the code through.

    The question then arises as to whether when the code wants to check for its first key, whether I can get that key or not. I'd wager that if booting EROS normally, someone has that key then I'd be able to get the same key when shadowing from a separate operating system

    In other words what you say smacks of security through obscurity, though feel free to show me otherwise.

    --
    Special Relativity: The person in the other queue thinks yours is moving faster.
  50. Actually by waspleg · · Score: 2

    I live in my girlfriend's parents basement

    and my openbsd server is humming along right beside me, can i be lucky #13?

  51. Re:so is there a packet filter or not? by Shanep · · Score: 2

    In the only safe place: the users' head.

    I have a .45 semi-auto that can remove even those keys, one way or the other. They can either come out of their mouth or fingers, or then theres the other option, splattering those keys all over a wall. ;)

    --
    War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
  52. Re:so is there a packet filter or not? by arkanes · · Score: 2

    Maybe your analagy is just bad, but I'm not sure how a central key authority is inherently any more secure than a distributed one. If I get this right, you "knock" on the door and see if the person inside lets you in. This sounds very much to me like object level security permissions, which isn't really any different than file-level permissions. One of the reasons why we invented things like group level permissions was because of the administrative nightmare associate with individually coding security into every object, so I don't see how this is really a gain...

  53. Theo has a cold by drwho · · Score: 2

    OpenBSD is dying, because Theo has a cold.

    Heh...just kidding. But really, we're too dependant on him, and his whims. We need a less ego in the BSD world. Theo DeRaadt, Darren Reed, Dan Bernstein et al can be fine programmers but what's the damn point if they can't get along. OpenBSD's development has too much power concentrated in the hands of too few people. This leads to all sorts of boo-boos and the inability to maintain older code (3.0 just died...ugh!).

    I think that licenses are important. They need to be unconfusing. Project developers should find an existing, popular, and well understood license that most closely suit their needs and put their work under that license, rather than create their own. Here is where I fault DJB and Reed for their licensing quirks.

    What license is irritating me the most right now is PINE's.

  54. Mirror of the interview by Zigg · · Score: 2
  55. Re:You don't need root by jbolden · · Score: 2

    Here is an example
    1 - Every program keeps its data in memory
    2 - the virtual memory system uses encryption
    3 - programs use a private encryption key when passing live ram to the virtual memory system
    (so in effect data on the drive is double encrypted).
    4 - there is no true "shutdown" just something that acts like NT hibernate

    You shut the system down / hibernate. Remember there is no file system and the allocation blocks table in ram (like for a virtual memory system) so without restarting the OS all you have is double encrypted sectors of harddrive in no reasonable order without a clear key.

  56. Re:so is there a packet filter or not? by jbolden · · Score: 2

    Think more like the virtual memory system then the NTFS filesystem. The data to interpret the filesystem isn't stored in a truly fixed place in a regular manner.

    As for encryption stored away from the system; any data that the system itself can't access might as well be public you don't need security for that kind of data.

  57. Re:so is there a packet filter or not? by jbolden · · Score: 2

    I'll grant you can rip the disk out and copy and image. I'm not trying to argue you can't get to the disk. Its the "red herring" I'm arguing is helpful. Because once you get the disk image what does that get you? You have disconnected blotches of data encrypted in a range of ways and stored in applications specific ways. Pretty nasty stuff.

    I agree there is some obscurity involved but essentially this amounts to the computer equivelent of encryption + shredding. That's pretty yucky to deal with. Yes with infinite time and money you can beat it but...

  58. Re:You don't need root Plex86 is here now. by Zeio · · Score: 2
    Plex 86 is locate here now - http://savannah.nongnu.org/projects/plex86
    Old site is down....
    RvnPhnx - 2002-Oct-06 22:30 - 0 messages
    The old plex86 web site is no more. I was wondering how long it would take for them to take it down, but it is now--the wondering is over. In any case, this is where the work happens--so be it. I have the old cvs still, in case anybody wants to play with it. I may get it posted here, and then branched/modularized, etc.--but the development is going to focus more on the plex86-release stuff for now.
    --
    Legalize the constitution. Think for yourself question authority.
  59. Re:OpenBSD's Security is Overrated by MobyTurbo · · Score: 2
    The BSD community should take a hint and start gearing toward usability rather than "superior" security.
    If usability is what you're looking for, try FreeBSD instead. One of OpenBSD's goals is to be Secure by Default. Whereas other BSD variants and most Linux distros take an approach of 'turn everything on and let the admin turn off what he doesn't need'
    NetBSD, at least as of 1.6, has most of its services turned off by default as well, has an extremely lean install, and runs on even more architectures than OpenBSD. It tends to be optimized towards stability more than security though. Actually, Debian doesn't turn on much by default among the Linuxes I've tried, but it probably isn't as secure as *BSD. (It doesn't have the group "wheel" to protect against root access for a well-known simple difference between BSD and SySV clones.)
  60. Re:so is there a packet filter or not? by evilviper · · Score: 2

    Bull. OpenBSD is a blank slate, it is as secure as you choose to make it.

    If you want to set all your programs to run as root, you can do that, though it will not be secure.

    If you want to run your services as non-privlidged users and seriouly limit it's permissions, you can do that as well.

    If a service needs root pormissions, you can go the way of OpenSSH, and give it privlidge seperation.

    You can have any system in place that you want. The only common denominator in 'Unix' is it's method of most everything being a file or a system call. So, unless you believe that something like printf() or /dev/null is exploitable, you really can't use a blanket statement that Unix systems are flawed.

    Root's privlidges can be shared, and then you can make it so no one can login as root. And I fail to see how having a filesystem leads to insecurity.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  61. Re:You don't need root by evilviper · · Score: 2
    There isn't much you can do from an administration point of view if the services/daemons you have to use are flawed.

    That's completely false. By no means do you need to run anything with blanket root permissions. systrace works great, chroot does fairly well, and you can run many services as a normal user.

    You can still access ports, memory and processes and kernel functions, you can talk to daemons, starve the system of resources or convince the parent process to do things it will regret.

    Most services I've seen don't just chroot themselves... the almost always drop their root permissions, meaning it's running as a normal user, inside a chroot. There's very little an attacker can do with that.

    if you chroot users

    Why would you want to chroot users? That doesn't make much sense to me.

    If the 8086 did not mix stack with code and data we would not have had so many problems today.

    That would only make overflows more difficult (OpenBSD has a non-exec stack), and even then, it wouldn't address any of your concerns.
    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  62. Re:so is there a packet filter or not? by dvdeug · · Score: 2

    Think more like the virtual memory system then the NTFS filesystem.

    And you dump the virtual memory, I can piece it together. First you find the kernel, then the page and process tables, and then you can put the rest together without much trouble.

  63. Re:so is there a packet filter or not? by jbolden · · Score: 2

    Agreed. If you go to that much trouble (i.e. multiple application specific file systems / data systems) you can get the data out. Any security can be broken given a large enough quantity of the product of:

    inside knowledge * time * money

    the goal is just to boost that figure :-)

  64. Re:so is there a packet filter or not? by dvdeug · · Score: 2

    Any security can be broken given a large enough quantity of the product of: inside knowledge * time * money

    the goal is just to boost that figure :-)


    But standard cryptography, given a secure password, achieves more security, without changing all the base rules.

  65. Re:so is there a packet filter or not? by Lozzer · · Score: 2

    All you are saying is given code and data that people can't reverse engineer. This is blatantly not true. Now because EROS is not mainstream there won't necessarily be any script kiddie tools to help you out, but we aren't talking the kind of infinite time and money scenario here, we're not even talking the long time that encryption gives you, unless there is some reason why its not just (albeit hard) reverse engineering.

    Now whether EROS and a physical security policy is more secure, or easier to secure than another OS and a physical security policy is a different argument.

    --
    Special Relativity: The person in the other queue thinks yours is moving faster.