Slashdot Mirror


OpenBSD, Security, and Theo de Raadt

AdamK writes "Here's a very interesting article on security and OpenBSD. It also briefly mentions Linux, comparing the two." A quote from the story: "OpenBSD is so secure that it even got the attention of the U.S. Department of Justice, which stores and transmits top-secret data using 260 copies of the OS."

178 comments

  1. Re:I've never actually tried *BSD by Anonymous Coward · · Score: 0

    > I can't say I like BSD's init style much. I much prefer the SYSV style with the different runlevels and the directory structure.

    I prefer BSD's rc-files and really *HATE* those dozens directories and files, SYS V needs to boot up, that's just too complicated and confusing.

    > It is much more logical IMHO.
    Depends on your logic. :-)

  2. Re:I've never actually tried *BSD by Anonymous Coward · · Score: 0

    > BSD disk labels (somewhat like an alternate method of an extended partition on a PC, not really)

    No, not at all. BSD labels work completly independent, because the design of BSD label is older than Microsoft's weird partition scheme, Linux uses as well (on i386 at least). I guess, the only reason Linux uses them, because it's easier to install it as 2nd operating system besides Windows.

    BTW: All my f(uck)disk partition table look like this:

    Partition table:
    0:
    1:
    2:
    3: sysid 169 (NetBSD)
    start 0, size 16 (0 MB), flag 0x80
    beg: cylinder 0, head 0, sector 1
    end: cylinder 0, head 0, sector 16

    As you can see, NetBSD doesn't make much use of them :-).

    IMHO disklabels are far superior than Microsoft partition tables.

    > For people who don't think much of package management (you Slackware guys), you might prefer NetBSD.

    Get your facts right: NetBSD has a package system for over a year now.

  3. my thoughts.. by Anonymous Coward · · Score: 0

    I've used OpenBSD for some time now. It has worked very well for me. I've had a couple of problems with stability, but they were due to misconfiguration on my part. The only real problem I had was that 2.4 refused to work with my PCI ne2k (those realtek 8029 pieces of crap)... I reported the bug and got a fix within hours. It's nice to actually get help from the developers. One of my favorite things in OpenBSD is the installer. It's so simple. RedHat should take some notes. I also like the way that you can rebuild the entire source tree. (it's the same in Net and FreeBSD)

  4. Re:No thanks ! by Anonymous Coward · · Score: 0

    this is probably due to a misconfiguration. In any case, if you reported the problem to the developers I'm sure the issue would have been resolved.

  5. Re:And are the DOJ security experts? by Anonymous Coward · · Score: 0

    yes, the possibility of getting root access is still there but the chances of you getting root are decreased CONSIDERABLY (100x) over any other OS out there.

  6. OK, additional facts need action by Anonymous Coward · · Score: 0

    I posted the "It works" comment above.

    In light of this post showing the cracking behavior I have to reconsider my position.

    What a hell of a shame, not least because I finally have OBSD doing actual stuff I need done.

    1. Re:OK, additional facts need action by Anonymous Coward · · Score: 0

      the post showed no cracking behavior. It was a message from jkh making wildly unsubstantiated claims which were proven to be false by the fbi. makes you wonder about the personality of somebody who would make up claims just to squish competition, does it not?

  7. Re: BSD Passwords - Get it right! by Anonymous Coward · · Score: 0

    You can require a password in single user mode..your right about that. Also i beleive you can use securelevel to make it so you cannot edit the password file. I haven't used securelevel really so i don't know what level that is (the ranges are from 0-3).

  8. Hotmail cracked. by Anonymous Coward · · Score: 0

    BSD cracked at hotmail bigtime.

    1. Re:Hotmail cracked. by Anonymous Coward · · Score: 0

      they don't use OpenBSD at hotmail. and it wasn't BSD that was cracked. it was the rediculous hotmail service. did you ever read that article? no remote root exploits have been found; and to do it you need to misconfigure your machine? sounds like installing hotmail server software is a one-way ticket to misconfiguring a machine if i've ever heard one.

  9. Re:Security... by Anonymous Coward · · Score: 0

    None of the BSD's are any different than Linux in this respect. Even w/ the /etc/shadow file, its easy enough to just chmod it to writable and remove the root password once you've booted off a floppy ("root" by default). Under most un*x'es these days, you need the root password to even get into single-user mode... but under all of them (solaris, bsd's, linux) if you boot off the install media you can mount the harddrive's root filesystem and modify it (or reload it - face it, this is how the install process works in the first place!). There is *NO* security if there is no physical security. Even if you could prevent the system from being booted w/o a password... if your system is in a location where I can just waltz in, super-glue your tape drive, smash your backups, and 80G drop-shock your spinning harddrives (a good hammer would do)... bye bye data. Or, if I owned a gun (I don't) I could just walk in and "go postal" on your servers... At work, all of our critical company systems are in a cipher-locked server room (the old mainframe disk farm.. raised floor & A/C) which is on alarm (rings the security guards) outside of normal working hours. Backup tapes are stored in a seperate fire-proof tape vault room, also cipher locked & alarmed, and we send monthly/quarterly backups to an offsite storage facility. OpenBSD is more secure than Linux from a networking/password/encryption standpoint... but that in no way means that *any* system is more secure than another from the physical-security standpoint.

  10. Re:Mirror here: and here by Anonymous Coward · · Score: 0

    A Secure And Open Society Calgary-based developer and free software evangelist works to make OpenBSD hacker-proof By Michael MacMillan ComputerWorld Canada Considering that as a youth, Theo de Raadt routinely gave away software written on his Commodore Amiga PC, it's hardly surprising that he has since become both a force in the free software movement and a hacker's nightmare. de Raadt, a 31-year University of Calgary computer science graduate who came to Canada from South Africa as a child, has invested the last six years of his life and spent $30,000 of his own money heading the OpenBSD project. The operating system is a free, ultra-secure variant of the Unix-like BSD 4.4 - and it's a project de Raadt founded. Though he's a tried-and-true computer and software junkie -- de Raadt proudly recalls working on his Commodore Vic20 and claims his Amiga's serial number was around 1000 - he said no single event sparked his later work with OpenBSD. Looking back, however, a lot of the interest stems from a systems administration job he took at University of Calgary while he attended classes. It was then that the extent of OS source-code flaws took hold of him. In particular, he remembers how, after much legal and financial wrangling, U of C managed to finally get its hands on the Sun Microsystems Inc. Unix source code -- the quality of which varied "significantly," de Raadt said. "We'd read the source code, find out what the problems were and think, 'Gee, it just did some weird thing because some weird packet came across the net and it wasn't expecting it. What would happen if someone decided to do that?' And this really scared us." de Raadt started devoting more time to his passion, and as he progressed it became clear to him that certain programming mistakes turned up time and again in different software packages. Two years later, in 1993, de Raadt and three others founded the NetBSD project. But "political kerfuffles" eventually led de Raadt to branch off and form the OpenBSD effort. The main difference between the two was in the developer focus. In the case of OpenBSD, the emphasis is on security. de Raadt's goals haven't changed since then -- to make OpenBSD the most secure platform in the world. OpenBSD let de Raadt take bug fixing to a whole new level. The problem with professional programmers is not a lack of ability, but lack of attention to detail, he said. That's why he says the OpenBSD development process is unlike any other. "Ten years of being in the software industry, and I've never seen anybody doing what we're doing here," he explained. The secret is straightforward - de Raadt and his peers assume that every single bug found in the code occurs elsewhere. de Raadt admits it sounds simple, but just rooting security bugs out of the entire source tree took 10 full-time developers one and a half years to complete. "It's a hell of a lot of work...and I think that explains why it hasn't been done by many people," he said. But it's this kind of nit-picking that has made OpenBSD one of the most hacker-proof platforms available - that and the fact it ships with cryptography (Kerberos IV and support for IPsec) already built-in. "There hasn't been a single remote security hole found in OpenBSD in two and a half years, in the default install. So that means if you want your machine cracked, you're going to have to misconfigure it," he said. In fact, one reason why OpenBSD is configured and shipped from Canada is so de Raadt doesn't have to contend with tough U.S. cryptography export laws. This has allowed him to integrate cryptography elements from several European countries. OpenBSD is so secure that it even got the attention of the U.S. Department of Justice, which stores and transmits top-secret data using 260 copies of the OS. As well, one of the largest ISPs in the state of Washington, pacifier.com, runs part of its operations on OpenBSD. Today de Raadt oversees a community of 90 volunteer developers who make changes to the source tree. He also takes tips and suggestions from thousands of other OpenBSD enthusiasts from around the world. Comparisons with Linus Torvalds and his Unix-variant, Linux, are inevitable, and de Raadt doesn't mind. From a user perspective, there's very little difference between the two. But he is critical of the Linux development model, particularly of the way the larger Linux distributors, like Red Hat Software Inc. and Caldera Inc., assemble their products. "Some of them are doing a better job of...looking for bugs in the latest versions," he said. "It comes down to (whether) the people who are actually packaging the software know what they're doing." He credits German vendor SuSE GmbH for being the most diligent. A typical day for de Raadt includes three or four hour stints at his computer, broken up by sleep and a bike ride - a far cry from the 14 to 16 hour days he used to put in. But how many people actually use OpenBSD, and for what, doesn't concern de Raadt. Though he makes his living selling OpenBSD CDs, he insists he has no desire to expand the business. He's even hired a Calgary-based businessman to sell the CDs on his behalf, just so he can avoid dealing with money issues. "I'm not interested in getting into business. I really like the way this works right now, and I'm having a lot of fun...I'm just perfectly happy accepting the status quo of how many people use BSD right now," he said. OpenBSD has cost de Raadt a lot of time and money, but, looking back, he said he wouldn't do anything differently. "I work a little less than [I used to], and I spread it out a bit more. But I really enjoy what I'm doing. This is fabulous. I wouldn't want to be doing anything else." ©1999 LTI. All rights reserved. Copyright Information

  11. Re:Security... by Anonymous Coward · · Score: 0

    If you have physical access to the machines, disabling floppy bootup and installing a BIOS password won't work. One could just take out the HDD and mount it in another machine which one has complete access to.

  12. BSD:Its dead jim by Anonymous Coward · · Score: 0

    (sob)

  13. Its dead jim by Anonymous Coward · · Score: 0

    Ouch! The site has been Slashdotted.

    1. Re:Its dead jim by Anonymous Coward · · Score: 0

      I've been wondering whether it's possible for /. to be /.ed.

      if slashdot slashdot itself, would we get an infinite recurssion?

      Xah
      xah@best.com
      http://www.best.com/~xah/PageTwo_dir/more.html

  14. Four-year old results ... by Anonymous Coward · · Score: 0

    Is quoting four-year old results somehow relevant?

    FreeBSD 1.5 was envolved 4.4BSD-lite and quite mature because of
    that.

    Linux would have been somewhere in the 1.0-1.3 range depending
    on when you did your test.

    You were running and Intel optimized version of 4.4BSD against
    a version 1.x product. I'm not surprised FreeBSD won back then.

    Just don't make the mistake of believing that those four-year old
    results are menaingful today.

  15. Re:Security... by Anonymous Coward · · Score: 0

    Uhh, wouldn't you have to be root to load a module anyway dumbshit.

  16. Re:Here we go... by Anonymous Coward · · Score: 0

    8) s/BSD/GNU/ ?

  17. Re:WRONG! Re:on the linux side by Anonymous Coward · · Score: 0

    I use Debian GNU/Linux potato.

    If you pass the kernel an argument like init=/bin/sh, it will give you a root shell. sulogin for single user mode on Debian is cute, but so trivially bypassed that I don't blame RedHat for omitting it.

    AC

  18. Re:Here we go... by Anonymous Coward · · Score: 0

    s/BSD/GNU/ && s/Linux/BSD/

  19. Re:Paranoia-HOWTO by Anonymous Coward · · Score: 0

    Did I forget anything ?

    Yes. After the doors are auto-hermetically sealed, the pumps come on to evacuate the room of air. :)

    But seriously, those precautions won't stop someone who has total physical access. Instead (or in addition to) one should use a cryptographic or steganographic file system if the data on their computer is valuable enough.

  20. Re:Paranoia-HOWTO by Anonymous Coward · · Score: 0

    Unfortunately, you don't even need to open the case to reset the BIOS password on most machines, since they ship with backdoors...

  21. Re:Security... by Anonymous Coward · · Score: 0

    If you have physical access to the machine, the game is mostly over. With linux, you can do something like: lilo: linux initrd=/bin/sh With most bsd's, you can do something like: boot -s Both of which can be trivially fixed, but then you just pull the drive out and mount it somewhere else.

  22. Re:I've never actually tried *BSD by Anonymous Coward · · Score: 0

    : 5. Slightly faster modem speeds - in general, I get maybe .3-.5 kb : faster download speeds. It doesn't sound like much, but the phone : lines to my house were installed in the 50's, and I'm lucky if I get : 28.8 (with my 56k modem :-( ). Uh, how is this possible? The OS shouldn't determine modem speed at all - the bottleneck should be completely the modem (unless you're on a 386). Unless you just have your modem misconfigured under Linux?

  23. Re:I've never actually tried *BSD by Anonymous Coward · · Score: 0
    But I do have an old Mac IIci that was "beefed" up (remember when 24mb of RAM was so big your friends would all come over to dig your set up?). Maybe I'll tinker with FreeBSD 68k, and maybe try it on one of the x86 boxes here at work.
    Well, you would need to use netbsd or openbsd, as freebsd only supports alpha and x86 (there is some sparc 4u code, but I don't think it is something you can really make use of at present).
    Not to start a debate or flame war, but for anyone who's used *BSD and Linux why do you prefer one over the other? Or the particular distribution of either that you use? I've only had experience with Debian (which I have read is more secure and I use more often)and RH (the first one I tried, mega mega easy to install and configure), and a weeeeeee bit on LinuxPPC
    In the past, on the Linux side, i've used slackware (from very early slackware2 days), SLS (you don't wanna know), and debian. On the BSD side, i've used all 4 major bsds (bsd/os, openbsd, freebsd, and netbsd). I prefer the BSD derived systems for a few reasons, many of which may not apply to you:
    • Generally, GPL software is minimized For me this is an advantage; I believe in free software, and the BSD license is a whole lot more free than GPL. The license, in short, says you may do whatever you want with this, just give us credit.

    • The OS sticks to a minimal base install Frequently in linux, I get a little bothered because most vendors insist on shipping everything (including the kitchen sink) with the OS. Most 4.4BSD based systems take a more minimal approach.

    • Integrated source Tree Have you seen how most linux distributions handle sources? Have you seen how BSD handles sources? If you compare the two, it is just no contest. If I want the latest version of /usr/bin/froblitz in linux, what do I do? In BSD, I can just cvs get src/usr.bin/froblitz. In linux, i'm forced to determine which source tarball it is in, and then find the latest version of that package; this is not always a simple task.

    • Merged kernel and userland All the BSD systems maintain their OS. By OS I don't mean they maintain the kernel and if you have problems with userland, that's your problem. They maintain both userland and the kernel. This has a number of benefits as anyone who has been bitten by libc upgrades in linux can attest to, no doubt.

    • Simplified bug reporting All the BSDs I have used have had a built in bug reporting system to report bugs of any sort with the operating system proper. This is helpful, since you do not need to know who to main, the bug filing system (usually gnats) will do it for you.

    • Better for hackers If you want to learn kernel internals, nothing can beat 4.4BSD. Many UNIX internals books are influenced by 4.4BSD, and there is the landmark Design & Implementation of the 4.4BSD operating system book (also a 4.3 book, which is no longer published). This is one of the best kernel books, far better than the linux alternatives like 'Linux Kernel Internals' (beck, bohm, dziadzka, kunitz, magnus, and verworner).
    These are a few reasons I use 4.4BSD. There are a number of other ones, mostly due to my dissatisfaction with linux in a number of ways, however I do think the more free unix the better.
  24. Re:I've never actually tried *BSD by Anonymous Coward · · Score: 0
    > I can't say I like BSD's init style much. I much prefer the SYSV style with the different runlevels and the directory structure. I prefer BSD's rc-files and really *HATE* those dozens directories and files, SYS V needs to boot up, that's just too complicated and confusing.
    Look at what FreeBSD has done recently for a middle ground. They realized that for hand editing, nothing beats BSD rc, however for automation (read: packages) sysv is far superior, so they have a directory that K* and S* scripts can be dumped. This effectively gives you the best of both worlds.
  25. Re:Here we go... by Anonymous Coward · · Score: 0

    Perhaps u don't no humor when u see it.

    Xah
    xah@best.com
    http://www.best.com/~xah/PageTwo_dir/more.html

  26. Re:TCSEC and Orange BOOK idiocy... by Anonymous Coward · · Score: 0

    I'm not sure I agree with your entire line of reasoning. First off, to my knowledge, the Sun CMW was never evaluated at all. It was designed with B2 in mind, but was not evaluated as such. Secondly, orangebook might not directly address modern software flaws, but it indirectly does. I don't see how a buffer overflow could be used to go from ring 3 to ring 0. You would need a number of successive buffer overflows. On a Multilevel Secure machine, things are a little different, and not quite as good in my opinion, but on single level trusted boxes, this is really difficult to occur (at the b3 and b2 levels, anyways). I have a lot less confidence in the B1 credentials. Redbook addresses networked machines, and when I left Wang, they were completing orangebook evaluation of their product, which was almost exclusively network based.

  27. Same on SUN/SPARC ? by Anonymous Coward · · Score: 0

    Isn't it?

    But clever hackers have a nice equipment:
    eeprom-programmer ;)

    Frank

  28. Re:yeesh by Anonymous Coward · · Score: 0

    Actually, a lot of Canadian sites are dog-slow (well, slow as dogs until they hear the rustle of the kibble bag). I was told (by a sysadmin at a Canadian company) that this was because peering between the two major Canadian backbones was incredibly poor, largely because the technical staff disliked each other. Odd. He was used to complaints from Americans about the ftp speeds for firmware updates and had gone ahead and checked out why. So, this may be more of an issue. Pity. Canada, while being too expensive (for me), does tend to be a nice place.

  29. Re:Here we go... by Anonymous Coward · · Score: 0

    hahaha

  30. Re:Deraadt is worse than a script-kiddy by Anonymous Coward · · Score: 0

    The simple fact of the matter is logs dont make something true. At jkh's insistance, the fbi investigated, and found that theo did nothing wrong. nothing. FreeBSD has been the source of numerous attacks on openbsd.org, but theo doesnt blame jkh for those attacks. As for theo destroying netbsd, that is a matter subject to much interpretation. There is bad feeling on both side of the fence. At this point in time, who is to say who was in the wrong. All the free unixes serve, to a large degree, the same commonality. I don't speak for openbsd, but mr. deraadt cares nothing for the hacker element prevelant in the unix community. He wants to make his os secure, that's all. Even before openbsd, he was finding and reporting bugs to vendors, as far back as sunos 4.0.3. This is not the history of a 'skript kiddie'. I use and like openbsd. I also use and like netbsd and freebsd. I even use linux. I don't think the myosrules-yourossucks theme is of use to anyone at all.

  31. Re:OpenBSD, FreeBSD, Linux by Anonymous Coward · · Score: 0

    well, I usually don't respond to this type of thing, but I must say you are missing the point. They're not bragging about supporting more hardware. In fact, you'll find that hte reason they don't have every driver under the sun, is that they only include the ones that are well written, no hodge-podge allowd! This is one of the things I've come to really like about the system.. It may not have all the doodads or drivers that linux has, but what it does have is very well written, and well designed. This is what makes it such an excellent system.

  32. Re:Paranoia-HOWTO by Anonymous Coward · · Score: 0

    ... and have a case-breach-sensor, which triggers deletion of all HDDs... Why not just have the case-breach-sensor wired to some plasitic explosive and skip all the other security features that the still alive intruder might be able to bypass.

  33. You don't need a boot disk to break into Linux box by Anonymous Coward · · Score: 0

    That's right, just type

    linux init=/bin/bash

    at the lilo prompt, and then remount the drive read/write.

    You can't break into a BSD box using this method;
    if you forget the root password, a boot floppy
    is your only friend (or boot in single-user mode)

    --Anonymous Hacker

  34. BSD failing by Anonymous Coward · · Score: 0

    I agree that FreeBSD is dying. And while FreeBSD is beset with its own internal strife, it is not the only BSD to be affected by this cancer. NetBSD and OpenBSD are dying too.

    I read that T.Deraadt email thread when I first looked at OpenBSD, and my initial impression was that Theo had a real baaaaadddd attitude. I do know for a fact that a lot of the NetBSD folks were upset to see him leave and fork off his own version of the OS, and to lose him as a developer. But in reading his email he obviously has a problem with taking any criticism, and had no problem with jumping down someone's throat with a flamethrower and foul language. Denial, its not just a river in Egypt...

    Not that I wouldn't use OpenBSD, or any other operating system that met my technical needs, whatever the personality of the people involved. I've dealt with enough bad attitudes from commercial OS vendors in my years in the industry to be able to deal with it if I have to. It just seems that *BSD has an extra heaping helping of bad attitudes that make commercial vendors look like pikers.

    If you *really* read that email thread, you would see the attitude loud and clear. "We don't think that it helps anything for you to tell someone he's a f**khead when he's posting a message trying to help with the OS development." "F**K YOU, *I* want control of the source and if you don't like it I'll fork my own off!"

    That's my impression of it... He sounded like an immature little upset kid to me. The development of any of the O.S. OS's is a group effort, and having one person think they have all the answers and have to be the one in control is dead wrong. So, now he *has* control of his own fork of BSD, and lost the ability to maintain many of the various platform ports because he has no developers. Thus, the OpenBSD page says that for a Vax port, for instance, "support can be easily ported over from NetBSD". Why these problems are so prevalent under FreeBSD/OpenBSD/NetBSD remains something of a mystery. These systems seem to be self selective in their attraction to weirdos and big egos.

    The split had nothing to do with the quality of his coding work, and everything to do with his nasty attitude towards people... and NOT just the people of NetBSD Core, but other people who were just civilians trying to help out, or looking for help. No wonder BSD is on the skids. Which BSD will be first to go under is anyone's guess but The culling has already begun.

  35. So I've removed the floppy drive... by Anonymous Coward · · Score: 0

    ...and locked the case.

    The case is inside a reinforced wraparound steel box,
    with a good pick-proof padlock keeping it shut.

    Parallel and serial ports have been duly LARTed
    (AT - unplug the flyleads from the motherboard,
    ATX - cut the PCB traces on the motherboard)
    so the only ways in are the console (for NOC staff
    to perform emergency shutdowns) and the Ethernet card(s)

    What are the alternative boot methods now?

  36. Re:Paranoia-HOWTO by Anonymous Coward · · Score: 0

    With a large, copper nail where the fuse used to be, just to make sure that a lot of juice gets through ...

  37. booting by Anonymous Coward · · Score: 0

    Even if you set your bios to boot from HD only and set a bios password if I have physical access to your system I can switch that little bios jumper to reset your password, set the boot seq to A: C: and mount your disks rw. Lock your systems in a secure room.

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

      I run OpenBSD 2.5 -CURRENT. Oh really...yes well try and mount my hard drives when they are entirely encrypted. Yes that's right, you can't boot until you decrypt the hard drive :)

      Also, OpenBSD does an MD5 checksum on the BIOS to see if anyone has screwed with it.

  38. Re:I've never actually tried *BSD by Anonymous Coward · · Score: 0

    I tried FreeBSD about eight or nine months ago, because several people at work use *BSD. I used both for a month and a half, then deleted the contents of my Linux partition.

    It had nothing to do w/ licenses, marketing, hype, or anything else. I just liked FreeBSD better, for these reasons:

    1. Single point of distribution - I don't have to worry about things like "is this source code compatible w/ glibc x.y?" or "will this new library break my older programs?"

    2. Regular release schedule - everything is released all at once. I no longer suffer from latest-versionitis, as in "Oh wow, the 2.2.x kernel is out now, I gotta have it!!! Why don't I get the new Gimp release, too, and {insert program here}". I used to waste so many hours messing w/ stuff like that I can't believe it.

    3. FreeBSD is a very clean implementation - everything is in a particular place, and there's no guessing where it is.

    4. Great documentation.

    5. Slightly faster modem speeds - in general, I get maybe .3-.5 kb faster download speeds. It doesn't sound like much, but the phone lines to my house were installed in the 50's, and I'm lucky if I get 28.8 (with my 56k modem :-( ).

    6. Ports system - very cool. You've probably seen it mentioned elsewhere.

    These are about all of my reasons, in addition to the stock reasons you hear - compatability w/ Linux binaries, for example.

    Be warned, however - if you use linuxconf or something like that, you won't like FreeBSD. There are no config tools at all - you do everything by hand. There is no nice, simple install screen, either. You partition, format, and install everything by hand. Frankly, however, I like it that way.

  39. Re:yeesh by Anonymous Coward · · Score: 0

    Odd.. I'm here in Canada and it seems the reverse. American sites seem dog-slow while Canadian and European sites are extremely fast. Probably an issue with the 2 backbones that travel between the two countries. Canada now actually has one of the fastest backbones in the world.

  40. Re:I've never actually tried *BSD by Anonymous Coward · · Score: 0

    I've used Linux, FreeBSD, and OpenBSD in demanding workplace environments. They are all excellent operating systems and for most common network server tasks (file/print, WWW, email) they hold their own against commercial Unixen like Solaris (on SPARC; Solaris/x86 is a pathetic joke), HP-UX, and AIX; and are without a doubt superior to Windows NT (not just gratuitous MS bashing; I'm talking about overall benefits which include having a flexible Unix-like system at the core).

    The system that is best for you will depend on what you want to accomplish. Linux is my preference (and recommendation) for a general Unix workstation because it works with most of the weird hardware I throw at it and because of better overall application availability (CivCTP!).

    Security for single-user workstations or no-login network servers is mostly a function of capable administration. However, for a multi-user Unix server with potentially hostile users (like an ISP or school computing lab offering Unix shell access) in which things like buffer overruns in user apps and /tmp races become serious considerations, Linux would be at the bottom of my list, with OpenBSD at the top and FreeBSD a close second.

    I haven't had the opportunity to work with NetBSD yet but I would probably rank it along with the other BSDs based on what I've heard about it and the talk given by the NetBSD team at USENIX '98 (missed '99, sad to say). (I was actually very impressed by the NetBSD folks but they need cooler T-shirts!)

    As for licensing, I agree with the BSD folks that the GPL isn't really "free" in the sense that theirs is, but that's why I prefer the GPL. I think it is right and proper to charge the "fee" of all derived works being under the GPL, for the overall benefit of the community. To me, free software != freeloading. But that's my point of view and only pertains to development-- it has absolutely nothing to do with what software I'll use.

    But hey, they're all free (as in beer) to download or cheap if you buy the CDs so why not try them all and see which ones you like?

    PS -- As someone already mentioned, OpenBSD's NAT feature is extremely cool!

  41. Re:Security... by Anonymous Coward · · Score: 0

    Why even bother with trying to override the password mechanism. If you have physical access to the box, just boot from installation disk, mount the / filesystem (maybe /usr too, depending on which flavor of unix you're dealing with) and replace the "login" binary (/bin/login, /sbin/login or wherever it lives) with a statically linked /bin/sh binary. Reboot the machine from it's own disks and instead of a login prompt, you get a shell prompt! This is standard fare that any unix admin worth his weight in dirt should know for recovery of munged systems or else he really has no business being a unix admin in the first place. This method had probably already been posted here today too. Duh.

  42. Re:Here we go... by Anonymous Coward · · Score: 0
    hey, hey, come on! shut up & kiss my ass! ye're the one of those klinux dorks that say 2) and anything else sux by default. BSD doesn't suck -- you do! Now Here we go... by items:

    the loser wrote:
    1) BSD Sucks
    bull shit. just stupid.

    2) Linux is best
    well, use it. i tried it several times and i think it sucks as hell.

    3) BSD is too fragmented
    bull shit. linux is much more fragmented. heh, even kernel development is separated from userland! sometimes it causes kewl desynches. free BSD systems count just three: Open, Net, Free. and how many linux'es there are?

    4) BSD is dying
    bull shit again. are you awarded bull shit generator? i could write big letter but i just don't want to. you don't seem to be a person with whom it would worth to debate.

    5) There is no software for BSD
    heh, it's the b.s. as well, you're amazing! there're tons of soft for BSD. any soft written to be comaptible with POSIX compiles and runs with no probs. yep, there're linux "gurus" which write kewl appz with "#include ". yeah, they rawk, don't they? OTOH, i successfully run many software compiled for linux with OpenBSD linux binary emulation, worx cool...

    6) There is no hardware support for BSD.
    phrase "bull shit" gets too frequent in this message, doesn't it? is there any specifical h/w for linux? have you ever tried to think before you say/write smth? it would be very good, if you added "huh huh yeah" to your message, really. yep, there're more drivers for linux than for BSD, but hey, any h/w i had here perfectly runs with BSD. number of drivers grows from day to day, and i remember time when linux didn't have floppy drive driver, so fscking what?

    another loser added: 7) it has all caps and caps suck
    well, TCP/IP, BIND, SMTP/POP/IMAP, HTTP/HTML must suck as well. so, the world sucks because it still uses all these? right? and Linux is cool! as cool as Windows is, they have just 1 caps! COOOOOOOOOOOL!

    --
    Forgive your enemies, but don't forget their names! -- /usr/games/fortune

  43. OpenBSD runs great on old sparcs!! by Anonymous Coward · · Score: 0
    I have an old sparcstation 2 at home, and a lot of old sparcstation 10's at work. Slowlaris was way too slow on these machines for them to be usable. I tried RedHat sparc (much much faster), but
    • X crashed (yes, I applied RedHat updates/no way I'm compiling XFree86 on 40Mhz machine)
    • Occasional (frequent!) NMIs would oops and drop me back to the eeprom prompt.
    • This occured on both the standard RedHat kernel, the newer build from redhat/updates, (both 2.2.5) and 2.2.10 which I compiled myself.
    OpenBSD works. It runs X great, and no kernel crashes. Linux is great, I'm much more familiar with linux than BSD... However, if I were setting up a standalone server for a client, BSD would definitely be a good option. There's a lot of stuff out of the box, fewer worries that I'll have to go back to make an upgrade, and built-in security scripts, etc would make it almost turn-key.
  44. Re:I've never actually tried *BSD by Anonymous Coward · · Score: 0

    I can't say I like BSD's init style much. I much prefer the SYSV style with the different runlevels and the directory structure. It is much more logical IMHO.

  45. TCSEC and Orange BOOK idiocy... by Anonymous Coward · · Score: 0

    Well gee... I was a TCSEC specialist on a b2 project... involving mls 1.1.4 and have handled same for 3 companies in the valley... first of all... TCSEC/Orange Book DOESNT apply to modern systems, as to ONE example... Sun CMW... a caveat in the sysadm ref says that "the security classification of the machine is downgraqded if ANY other os is connected into the same network...) Orange Book didnt even have a concept of buffer overflows or heap overflows..(hint after the RTM worm cam out in the mid -80's I sucessfully attacked in over 100 different ways the ATT MLS code... NONE of the orange book recommendations covered ANY of the attacks.. and DONT even get me started on b2 firewalls I actually did thos experiments for Sun ...kernel auditing firewalls can be tricked even easier than none auditing firewalls(hint to the clueless kernel auditing is NO the same as a code audit and instead used to describe a certain functionality of the "secure" OS being used... as in trace EVERY sysint :(performance truly blows chunks...) This not withstanding those idiots from 'fortified networks"... Orange Book is basically dead at this point in time... certain concepts have instead migrated into the mainstream... As to those fools like me who spent 10+ years doing this crapola??? well most security "gurus" from the TCSEC community I have met have been pathological idiots...(and thats the real reason why SO many government networks INCLUDING SIPRNET have been penetrated..." a "former Orange Book idiot"

  46. Bullshit by Anonymous Coward · · Score: 0

    Your answer is bullshit. One tool isn't best for everything. Sometime oBSD is the best answer, sometime Linux or something else is. Just whacking on something cause it isn't Linux just shows how narrow a scope you have. People like you sooner or later end up trying to hammer down a nail with your fist cause thats the tool you usually use.

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

      If it was a joke I missed it. A lot of the Linux people I run into sound exactly like that. Didn't mean to insult anyone.

    2. Re:Bullshit by poink · · Score: 1

      That was *humor*, as others have pointed out. I prefer using Novell for file/print services and FreeBSD for tcp services. Linux is (apparently) on the WatchGuard firewall.

    3. Re:Bullshit by Upsilon · · Score: 1

      Jeez. I guess some people just don't understand the concept of A JOKE! It was obviously suppose to be A JOKE! Why is it that whenever somebody tries to make A JOKE there is somebody like you who replies to it as if it were serious.

      --
      I am not an idiot. Please use my name to email me.

      "That's right, I'm quoting myself."

      -Upsilon

  47. Re:Paranoia-HOWTO by Anonymous Coward · · Score: 0

    The cool part is where you have it set to auto-delete the hard drives. That sounds more like a problem than a solution.

    Is this a James Bond movie or what?

  48. Re:Fluff by Anonymous Coward · · Score: 0

    OpenBSD's kernel AND userland have undergone extensive code auditing, not only to correct buffer overflows (and other trivial fixes), but also to correct protocol vulnerabilities (e.g. randomizing RPC xid's, randomizing DNS query IDs, etc.). AND - OpenBSD DOES audit third-party software, which is why the software in their ports collection (/usr/ports) includes SECURITY READMEs which describe the audit that was done, and includes patches which are automatically applied to correct any problems found. So yes, OpenBSD *is* significantly more secure by default - you have to *actively* screw things up to get burned. :-)

  49. Re:Paranoia-HOWTO by Anonymous Coward · · Score: 0

    So the guy breaking it really just wants to take the system down. He taps it with a little hammer. He chuckles as he ducks away from the shrapnel.

  50. Re:OpenBSD FAQ by Anonymous Coward · · Score: 0

    Surely, there _has_ to be a way to get a root prompt when you have access to the actual hardware. You don't want to lose all data if for some reason the passwd file gets corrupted, or if the only person who knows the root password dies of cancer (happened here).

  51. Re:Protection against opening the case - C4! by Anonymous Coward · · Score: 0

    Many people, when they use the term 'secure' mean that the data should be protected.

    Data that gets blown up because somebody on the floor above the machine sneezed is not protected.

    Aside from that, you're having fun, so keep at it.

  52. Re:Security... by Anonymous Coward · · Score: 0

    um, how exactly would the absence of a floppy drive, and the locked case, stop you from booting from a floppy . . . .

    The answer is left as an excercise for the reader.

  53. Re:Security... by Anonymous Coward · · Score: 0

    With a Linux system, you just edit the /etc/inittab file so that hitting control-alt-delete just triggers wavplay to say "hey! cut that out, stupid!" and it goes on it's merry way.

    On my one remaining Linux box (they were all so happy when I gave them NetBSD instead!) I have that entry halting the machine. It's a Slackware machine. I assume RedHat has managed to screw that up and make it so seventeen Python scripts own /etc/inittab.

  54. Re:Security... by Anonymous Coward · · Score: 0

    I run OpenBSD 2.5 as do many others and I'm sure all of us say "WTF crackhead" when they read your statement about uncrackable. UGH...of course nothing is uncrackable.

    Could you *TRY* and tell us something we don't know?

    And no...OBSD will always be secure no matter how many people try and crack it because the number and skill of the developers will always be greater than the skill of the lame ass crackers.

  55. Re:Last Post! by Anonymous Coward · · Score: 0

    Site is /.ed?? Error Occurred While Processing Request Error Diagnostic Information Unknown error reading from pipe. Probably not running OpenBSD..:)

  56. OpenBSD gripes by Anonymous Coward · · Score: 0
    I have a few gripes about OpenBSD. One is the install - why use a different disk label than FreeBSD & NetBSD? It's a bitch to get configured and installed. I've done 2.4 & 2.5 at home on a disk w/ Linux & Windoze sharing it.

    The other is performance. On both 2.4 & 2.5 the performance with many processes is awful. Very sluggish. Even if the processes are sitting in memory, no disk I/O (I was running some simulations).

    Try this under OpenBSD: remake the kernel as 'make -j 2' Now try under Linux. Much faster. Now FreeBSD. Much much faster. This is why I use FreeBSD over OpenBSD, although I do like the security features of OpenBSD and wanted to learn more about them - but molasses-like performance turned me away. Also, the virtual memory implementation and disk caching don't seem to be as well-developed as FreeBSD.

    1. Re:OpenBSD gripes by Anonymous Coward · · Score: 0

      I should have said while making the kernel that Linux is more responsive, and FreeBSD is much more so. Doing some compiling should not make Netscape run 1/2 as fast and make the mouse under X very jerky. This only happens under OpenBSD

    2. Re:OpenBSD gripes by FireHorse · · Score: 1

      Say what?! You say "It's a bitch to get configured and installed."

      Friend, OpenBSD is the easiest un*x to install and configure. When you first choose the disk layout i have never seen another system hold your hand and help you so much when giving the size of each partition you want. It has been the easiest un*x to configure for our NIS environment here, including running amd.

      Maybe we have different desires for what our chosen OS gives us, but from my job POV i need a system that integrates into our environment with a minimum of fuss and trickery, and OpenBSD is by far the easiest i have found. For those curious, we run Solaris, SunOS, AIX, HP-UX, Linux, BSDI, Irix, Digital Alpha, OpenBSD; all at many different revs and languages and platforms.

      -j

    3. Re:OpenBSD gripes by kijiki · · Score: 1

      Since all of these OSes have different kernels, and different versions of gcc, your "benchmark" literally means nothing. Even something as simple as the compiler options in the makefile void your results.

  57. It works. by Anonymous Coward · · Score: 0

    You may be cool, and Theo may be a script kiddie.

    However, the system he built works. Frankly, I don't care how the guy acts (in fact his email persona is terribly prickly, and I wouldn't go out of my way to meet him in person) but he has put together a system that really works (and in which the bits work together, unlike some free *nix-like OSs I could mention). I don't understand that much of it, and I don't need to since he has done the work for me. For that, no matter what the guy is like as a human being, I am grateful and in this venue he gets my thanks and respect.

  58. Boy, are you dumb! by Anonymous Coward · · Score: 0

    [cut long, serious reply to a guy who WROTE THAT HE WAS A TROLL!]

    See subject.

  59. Encrypted Filesystem?! by Anonymous Coward · · Score: 0

    Ok this is nice and dandy everyone talking about encrypted filesystems as if they actually knew something about it (most probably don't) so I'll be the voice of the unenlightened (wm is better :)

    What is the name of such an encryption system?

    Also, I'm running OpenBSD current and I'm wondering what "aeon" is in the GENERIC kernel config.

    It states that it is an encryption card...how does this work and will this increase security in OpenBSD?

    Also, I've never seen that config in FreeBSD or Linux, so is openBSD the only one who can or wants to use it?

  60. No thanks ! by Anonymous Coward · · Score: 0

    It might be secure but not that stable. Our company tried using OpenBSD as a proxy server (with squid) and the damn box crashed in one hour! Then I installed Linux on it and all has been ok. (That my personal experience with OpenBSD..) But I must admit that Net/OpenBSD on some other platfroms work much better than Linux (sparc is one good example)

  61. Re:Protection... overheating? by Anonymous Coward · · Score: 0

    Would C4 create a problem if the computer coolant system fails and the temperature inside the box rises? I don't know much about explosives, but what you suggest sounds very dangerous. My box can get quite hot. I wouldn't want to blow the thing to pieces the next time I decide to compile something big.

  62. No it wouldn't. by Anonymous Coward · · Score: 0

    He booted from a disk, then mounted the drive. He then could modify ANY file. No OS can be safe from this unless it's burned into rom (and even then you can take out the drives).

    1. Re:No it wouldn't. by wct · · Score: 1

      Ack, I just finished pressing submit before I hit my forehead with my hand and said "D'oh". Point taken :)

  63. Hotmail by Anonymous Coward · · Score: 0

    Isn't Hotmail run on FreeBSD?

    1. Re:Hotmail by Winston+O+Boogie · · Score: 1

      Please correct me if I'm wrong, but isn't there a significant difference between OpenBSD and FreeBSD? OpenBSD is, I believe, the more secure one.

    2. Re:Hotmail by mistabobdobalina · · Score: 1

      such a typical post!

      --
      -- your knees hurt, don't they?
    3. Re:Hotmail by georgeha · · Score: 1

      Isn't Hotmail run on FreeBSD?

      Are we talking about the Hotmail with the huge security hole in their cgi programming, which would be a security hole on any OS, even NT?

      If so, they apparently use a mix of FreeBSD, Solaris and NT, and their recent security holes have nothing to do with FreeBSD, or even NT for that matter.

      George

  64. Re:Security... by Anonymous Coward · · Score: 0

    > recommend checking back issues of phrack you BSD snob.

    He's not a BSD snob, he's an OpenBSD snob.

    Personally, I don't think OpenBSD is any more or less secure than Free- or NetBSD: If someone from those camps finds a bug in "his" BSD, in most cases it's present in OpenBSD as well. If someone founds a bug in OpenBSD and fixes it, the other BSDs will check and eventually fix this bug as in their sources.

  65. yeesh by PHroD · · Score: 0

    damn canadian site is slower than molasass

    oh and, "go *BSD!" :)


    "There is no spoon" - Neo, The Matrix

    1. Re:yeesh by Sun+Tzu · · Score: 2

      "...slower than molasass"

      I wonder if it's significant that the URL is in the subdirectory "teasers". ;)

  66. Paranoia-HOWTO by Anonymous Coward · · Score: 1
    Ok, here's how to make your machine safe from this:
    1) disable floppy-boot in bios-setup.
    2) set bios-password
    3) lock case, and have a case-breach-sensor, which triggers deletion of all HDDs. This prevents the attacker from deleting the bios-password and from taking out the discs
    4) don't have reset or power-switches (not needed if atx-powersupply). ctrl-alt-del deactivated too of course.
    So, this only leaves pulling the plug to turn the machine off, then open it, shorten the bios-password-del-jumper and THEN boot from floppy. And therefore we need to:
    5) have 2 of these boxes which monitor each other and have them sound a big, loud alarm in case one fails. Disc-deletion and sealing of all doors to the server-room is then, of course, a standard feature ;-)))

    Did I forget anything ? ;-)

    rob

    1. Re:Paranoia-HOWTO by Knuckles · · Score: 1

      Yeah, you did ;)
      In Stephenson's Cryptonomicon the Ordo guys had a metal doorframe to their machine room. Embedded in the doorframe were wire loops. (You can guess it now).

      --
      "When I first heard Daydream Nation it quite frankly scared the living shit out of me." -- Matthew Stearns
    2. Re:Paranoia-HOWTO by the_tsi · · Score: 1

      You need to connect the (obviously metal) doorknobs and the elevator control panels to some hefty 220V relays which are controled by your own network management workstation...

      >clickety click

      ...Time to get back to xtank.

      -Chris

    3. Re:Paranoia-HOWTO by Sun+Tzu · · Score: 2

      "Did I forget anything ? ;-)"

      You might add an internal UPS so that case-breach disk destruction could continue happily even when the power cord is pulled. ;)

  67. Fluff by Anonymous Coward · · Score: 1
    There wasn't a lot of meat in that article (Those of you who find it slashdotted aren't missing a whole lot.) It leaves quite a few questions unasked. Is de Raadt responsible for just the kernel or for applications (sh, grep, etc) as well? Is there anything in there to prevent buffer overflow attacks? Has he implemented any or all of the Orange Book security measures? How extensive was their source code auditing?

    It doesn't matter how tight your kernel and base software are (As de Raadt says in the article) if you go out and install a third party server that's insecure. I do agree with him that Linux dist maintainers such as Redhat are much too lax in the security arena when they assemble their distributions. They've always been much to free with those setuid bits, pretty much guaranteeing that if a user can get a login on your system, it is then trivial to obtain root.

    In my experience, third party source code auditing is the number one way to guarantee that any given piece of software is secure. Back when I was working with Data General to get a B2 certification for DG/UX one of my jobs was to audit functions in the C library. We'd take a function, look at the source, form a test plan, write up the test plan, and feed a test program to an automated test platform that would try the function out with an assortment of values, checking for unwanted side effects or erroneus return values. We did this for every single function in the C library. We did similar testing on all the core utilities of the OS. All our tests were completely documented so that they could be reviewed later. I'd feel a lot more secure with Linux if a distribution would apply this level of scrutiny to any program given a setuid bit and the C library as well (And I'd want to be able to access the test plans and results online.)

    1. Re:Fluff by maelstrom · · Score: 1
      I'd feel a lot more secure with Linux if a distribution would apply this level of scrutiny to any program given a setuid bit and the C library as well (And I'd want to be able to access the test plans and results online.)

      Hrrm. You have experience in performing this task, and you have an itch to scratch. Sounds to me like you just volunteered your services :)

      The source is out there. Use it friend, use it.

      --
      The more you know, the less you understand.
    2. Re:Fluff by Zurk · · Score: 1

      join the linux security auditing team..they even have a website to document audited software and a mailing list.

    3. Re:Fluff by Shokwave · · Score: 1

      The code audits are continually ongoing and very thorough.
      I run OpenBSD on a Sparc5 and an very happy with it. I know some people have been stating (from my point of view) bogus claims about instability and lack of apps, but how can there be a lack of apps when you can run Linux,BSDI and other emulations? I use Sunos emul on my box for netscape and it runs fine.
      The other fact about security is fairly clearly stated, It is secure if you don't mess with it. If a person has a clue then yes, they can effectively change things while keeping security. App security, things like sh and other main apps are included in the code review as well, if you look at the daily changelog at www.openbsd.org you can see what is being found and fixed. Why wouldn't you want someone script-kiddie-ish heading a secure OS development? YOu rather have some sedate individual who can't concieve of the varied ways in which a person might attach a system to get in?

      --


      I love you... Ok I love you AND the UNIX operating system, but then I've know it longer.
  68. Re:BIOS security by Anonymous Coward · · Score: 1

    Yes, I do like IBM. I recall, with some fondness, finding and disabling 14 different case sensors, temp sensors, and fan sensors to be able to warm my morning muffin on the heat sink of my RS6000 workstation every morning a few years ago. The CE almost had kittens, then asked how I had done it ...

  69. Deraadt is worse than a script-kiddy by Anonymous Coward · · Score: 1

    Having witnessed the sociopathic Deraadt first-hand when he sabotaged NetBSD's sourcetree, I'm surprised anyone would go near him.

    Want proof?

    http://www.freebsd.org/cgi/getmsg.cgi?fetch=2930 51+297018+/usr/local/www/db/text/1996/free bsd-questions/19961222.freebsd-questions

    http://www.freebsd.org/cgi/getmsg.cgi?fetch=5604 4+0+/usr/local/www/db/text/1996/freebsd-ha ckers/19961020.freebsd-hackers

    http://www.freebsd.org/cgi/getmsg.cgi?fetch=6356 7+65920+/usr/local/www/db/text/1996/freebs d-hackers/19961020.freebsd-hackers

    I wouldn't use OpenBSD if it was the only free operating system on Earth.

    1. Re:Deraadt is worse than a script-kiddy by wozz · · Score: 1

      Absolutely!

      Not to mention, the messages used as examples are 3 years old. This is all old water under the bridge, and if you refuse to use an OS because of the person who cares and feeds it, then thats your problem. Its BECAUSE of, not IN SPITE of Theo's single-mindedness that OpenBSD is as secure as it is.

    2. Re:Deraadt is worse than a script-kiddy by Zurk · · Score: 1

      remove the spaces. its very enlightening tho..the first msg is posted below :

      Date: Wed, 25 Dec 1996 03:01:53 -0800
      From: "Jordan K. Hubbard"
      To: Aleph One
      Cc: freebsd-core@freebsd.org, freebsd-chat@freebsd.org, freebsd-questions@freebsd.org
      Subject: Re: IP Filtering to www.freebsd.org
      Message-ID:
      In-Reply-To: Your message of "Tue, 24 Dec 1996 23:15:43 CST."


      Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


      > I have come across some disturbing information. It seem that FreeBSD
      > project is filtering IP packets comming from the OpenBSD project. In
      > particular access from 199.185.137.*, and maybe 199.185.136.*, to
      > www.freebsd.org. If this is true it marks a very low point on the history
      > of FreeBSD.

      This was started well over 3 months ago and is old old news. I fail
      to understand how this could only suddenly "come to light" for anyone
      involved with either project, we being very open indeed about it at
      the time (just search our mailing list archives for freebsd-hackers
      with Theo as the keyword).

      We were forced to filter the OpenBSD project because the same hosts
      and/or IP address range that it uses were also used in repeated
      attacks against the FreeBSD project's mailing lists and development
      machines by Theo Deraadt, who actually owns the network in question.
      These were not covert attacks, they were very open and Theo sent
      personal mail to several core members threatening to escalate them
      with the aid of (quote) "his cracker friends." It was at this stage
      that we added filtering, to try and block (in one small way) such
      attempts.

      When the OpenBSD project decides to have someone less criminally
      inclined as its representative, we'll be happy to discuss this with
      them. Until then, the man has shown himself unable to exercise a
      degree of self-restraint which would be consistent with someone of his
      age and responsibilities, and if he insists on behaving like a 14
      year- old cracker then he will obviously be treated as such.

      It is simply unfortunate in the extreme that he chose to use machines
      on the same network to conduct his attacks (also misusing a machine at
      MIT for that purpose, for which its admins were not amused), and has
      done the OpenBSD project a grave disservice in doing so. We have
      taken, I believe, only the most appropriate steps to defend ourselves
      from Theo's juvenile behavior and will continue to do so.

      > If the project is to succeed its in the basis of its quality, support,
      > and technical merits, and not by means of cheap tricks. Anyone wish to
      > comment?

      This is no "cheap trick", this is self-defense, plain and simple. I
      only regret that such defense against a "leading light" in the
      software community is necessary at all.

      Trust me folks, we have ample documentation for the claims I make
      above and if you'd like a second opinion, just ask the NetBSD project
      why it does precisely the same thing with packets from Theo's network.
      The list of people singularly unimpressed with Theo's behavior in the
      past and with great reason to distrust it in the future is long
      indeed. I can only suggest that the OpenBSD project find a more
      credible representatitive, and if you choose Kevin Mitnick as your
      best man then you probably shouldn't be too surprised if the FBI shows
      up at your wedding.

      Jordan

  70. Re:Security... by Pathwalker · · Score: 1

    True, which is why what I said wouldn't stop anyone,
    just probably annoy them a little bit. It's a moot point
    anyway, seeing as I was way off base in describing
    how the password system works...

  71. Re:Security... by Pathwalker · · Score: 1

    I've only been using OpenBSD for a week or two now, and I think I see a way to configure it so that changing the root password would be a real pain after booting from a floppy disk.

    On OpenBSD, all account information is stored in a non-text format file called (on my system) pwd.db. Editing user information is done by running the new password entries through a program called pwd_mkdb which preforms some checks, then modifies the database.

    I believe, that if the authentication technique for Root is set to One Time Passwords, that you would have to edit pwd.db itself to revert to normal passwords, as I do not think that pwd_mkdb will make that change.

  72. on the linux side by mosch · · Score: 1

    yep, it's that easy. physical_access = you_can_do_anything.

    at the lilo prompt, instead of typing 'linux' (or whatever) type 'linux single'. bam, instant root access shell.

    as for the other operating systems, assuming they're not using a cryptographic file system, your worst case scenario is add the drive to an alternate machine which can access the filesystem, mount it as /mnt/serveriwanttohack, and then edit /mnt/serveriwanttohack/etc/passwd.

    I, personally, am not concerned with these kinds of 'vulnerabilities' considering that in almost all cases, if you have something truly secure, they're locked away in a camera'd, card-access only server room anyway.

    1. Re:on the linux side by 6er · · Score: 1

      To clarify the BIOS as a non-issue, simply presume that the disk has been removed, dropped in ones backpack, and taken home to be perused on ones own machine. To guard against this sort of thing, it is best to encrypt the data on the way to the media. This requires support from the storage device and/or the driver. A PCI-based encrypting IDE controller that uses (requires) a crypto-card plugged-in and activated could help here. You are vulnerable at the bus level, still, but to take advantage of that takes more skill. In general, though, if you have time, then you have a much higher probability of getting access if you have physical proximity...

      --
      -- My brain is just a BUNDLE of nerves...!
  73. My biggest issue with BSD... by mosch · · Score: 1

    has to be BSD style init. BSD init has the advantage that all configuration parameters are located in one nice easy to find place. SysV style init on the other hand offers an easier method if inserting/deleting services, and runlevels are useful. inittab is great for keeping something running, ttytab from BSD is poor in comparison, the only way I can keep something running from ttytab is if I hack it so that it's a TTY.

  74. The only problem with OpenBSD... by Wakko+Warner · · Score: 1
    ...is who heads the project. I wouldn't want someone as (from what I hear) skript-kiddie-ish as Mr. DeRaadt as the front-man for my OS...

    - A.P.
    --


    "One World, one Web, one Program" - Microsoft promotional ad

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
    1. Re:The only problem with OpenBSD... by wozz · · Score: 1

      What makes you think he's 'script kiddieish'

      I don't even understand what you're implying....that he only fixes bugs when he hears about a script going around? Thats just untrue...99% of the time when a new exploit is released, its already been fixed for months in OpenBSD

      Theo's a real smart guy. Yes, he can be a pain
      and he's not the friendliest guy around, but he's
      real smart, and knows exactly what he's doing.

  75. Re: BSD Passwords - Get it right! by Dom2 · · Score: 1

    The password information is stored in /etc/master.passwd. It is then compiled into a db database /etc/spwd.db, for reasons of speed. This is the "shadow" file that you are used to seeing. It also has more records than you are used to seeing, including password expiry and so on. When you use vipw(8) to change the password file, it then translates this into the standard passwd file that programs are used to seeing and plonks it in /etc/passwd. This file is then also put into a database for quicker access.

    Note that the db database is pretty similiar to the way that sendmail handles it's maps.

    For the full lowdown, do "man 5 passwd".

    I'm not sure whether or not the authentication technique would be used in single user mode.

    I think you can make the system ask for a password in single user mode by labelling the console "insecure" in /etc/ttys.

  76. Re:Mirror here: by Tim+Doran · · Score: 1
    Hey - glad to.


    It's actually kinda fun to give my box a little action. And what action... I haven't seen this many hits on my own website... um... ever!

  77. Re:And are the DOJ security experts? by DaveTerrell · · Score: 1

    And, of course, it can be misleading to speak of a "secure operating system" - security is a property of the system as a whole. A Windows NT mail hub can store and forward a PGP-encrypted message without the contents of the message being any more readable, and an OpenBSD machine can be configured with open "telnet" ports and guessable passwords.

    And if the telnet ports are open, so what? maybe a user account is compromised, but that attacker still isn't going to gain root. Compare that to Redhat Linux, shipping a remote root vulnerable imapd until the release of 6.0!

    No one involved with the OpenBSD project claims that it can be used by clueless people. In fact, quite the contrary. They encourage people to discover facts for themselves, educate themselves thoroughly, rather than providing simple cookbook instructions without understanding. Rather, the emphasis is on providing an operating system that is complete, secure, stable, and instantly usable for the educated user.

  78. Re:Here we go... by Mark+Pitman · · Score: 1

    Anonymous Cowards just don't know humor when they read it, do they?

  79. Re:There's bureaucracy and then there's bureaucrac by Spectre · · Score: 1

    So these storerooms full of Sun equipment... how well inventoried are they? :-)

    Any chance my van could be used for, uh, off-site storage?

    --
    "Flame away, I wear asbestos underwear"
  80. Re:I've never actually tried *BSD by Spectre · · Score: 1

    I've used a few different versions of both for a while. They are about as similar as two versions of Unix-like OSes can be. People who live mostly in the X Windows System will probably never notice which is which.

    When fiddling with init scripts, I prefer BSD. This is a very subjective thing and I think largely the preference is determined based on what you learned first...

    When fiddling with devices, I prefer Linux -- BSD disk labels (somewhat like an alternate method of an extended partition on a PC, not really) are a little daunting for the uninitiated, IMHO.

    When it comes to handling package management, Debian has the only Linux distribution that comes close to FreeBSD in terms of ease of use and power. For people who don't think much of package management (you Slackware guys), you might prefer NetBSD.

    --
    "Flame away, I wear asbestos underwear"
  81. Re:BIOS security by copito · · Score: 1

    If I understand the previous poster correctly, the power-on password is resettable, but only if you know the current password. This would be realizable using a EEPROM (the two 'E's stand for Electically Erasable) such a PROM is reprogrammable but non-volatile. Otherwise, you're right, there would be not any point.
    --

    --
    "L'IT c'est moi!"
  82. Re:Mirror here: by Chang · · Score: 1

    On behalf of all of us, thank you!

  83. Re:Here we go... by Tet · · Score: 1

    Of course, you didn't close your HTML tags properly. You should have used /WHINE. Just being picky :-) Oh, and I can't view the site either :-(

    --
    "The invisible and the non-existent look very much alike." -- Delos B. McKown
  84. Re:Mirror here: by Mason · · Score: 1

    It's actually kinda fun to give my box a little action. And what action... I haven't seen this many hits on my own website... um... ever!

    I want to join in the thanks... It was nice reading the article on your box. Thank you! :)
  85. Re:I've never actually tried *BSD by Mason · · Score: 1

    Maybe I'll tinker with FreeBSD 68k, and maybe try it on one of the x86 boxes here at work.

    FreeBSD doesn't do m68k... You want NetBSD or OpenBSD for that. I'd recommend NetBSD, personally... The NetBSD/mac68k community is extremely active and extremely friendly, and NetBSD/mac68k is remarkably well-documented.

    NetBSD/mac68k was the first Un*x I ran at home, since at the time Linux/mac68k just wasn't there yet and mac68k hardware was all I had. I've been happy ever since.

    I use both NetBSD and GNU/Linux regularly, and I like them both, but I choose NetBSD for my personal systems because it simply feels more streamlined to me. I like the package system a lot. I like being able to easily rebuild userland. I like the way you configure NetBSD. I like the fact that it's the same on every platform. It just has a lot of good things that make it unlikely that I'll supplant it with GNU/Linux any time soon. Give it a try.

  86. NetBSD is my favourite of the *BSD's by LizardKing · · Score: 1

    But only because I have an aging Sun workstation at home ...

    For portablility, NetBSD is the champion of the *BSD's. If you need prepackaged security tools, then OpenBSD is your obvious choice. And if you're running an Intel machine then FreeBSD performs the best of the BSD's on that platform.

    As for NetBSD ... well I've now switched to RedHat 6.0 on my Sparc. It runs faster simply because of the development choices made by the SparcLinux team. The NetBSD guys had to make the decision whether to go for out and out performance on each platform that they support, or opt for sheer portablility convenience. To optimise for each platform would have meant much more work, and much more platform specific code. The SparcLinux team went for performance, and have a kernel that outperforms NetBSD - and seems as stable.

    Chris

    Chris Wareham

  87. Stick a pony in my pocket ... by LizardKing · · Score: 1

    (you wont get the subject line unless you've seen 'Only Fools and Horses', an occasionally funny British sitcom).

    I've actually had my eye on a rather nice 21" premium Sun monitor (I've only got one of the cheaper 17" ones at home). I honestly don't know what is going to happen to all the hardware, but I doubt they'll offer it for sale to the staff.

    Which reminds me. The Goth/Industrial club I go to (the legendary Slimelight in Islington, London) has converted one of its unused rooms into a warehouse for just about every kind of computer kit. Vax's, Suns and hordes of old PC's. Strange.

    Chris

    Chris Wareham

    1. Re:Stick a pony in my pocket ... by Zurk · · Score: 1

      very simple solution - whack gnome/E with a winnt lookalike theme on the suns and tell your manager that you have an new kind of windoze running on the suns - an NT "port".

  88. There's bureaucracy and then there's bureaucracy by LizardKing · · Score: 1

    I was fascinated to see that the US DOJ, which must be a hive of petty bureaucrats, uses a free OS like OpenBSD. Here at ... no I better not name them ... I can't get authorisation for a Unix development server. It's bloody ludicrous.

    I'm rewriting two systems that currently run on Solaris. I was expected to do this from an NT workstation running Hummingbird Exceed and connecting to a server in Amsterdam.

    Firstly, the development server no lnoger exists. Secondly, our net connection to Holland is diabolical.

    So I replaced NT with Linux on the sly, and rewrote the system in two weeks. Now I need to test it ...

    The recently appointed IT manager has made one decision since taking up his post:

    Duhhh ... no more Unix development. Everyfing must run on Windows NT - it's the future.

    This has meant two things for me, a recently arrived contractor:

    1) The Unix sysadmins *all* left in disgust at the switch to NT

    2) We have storerooms full of unused Sun equipment, but no one will sanction the setting up of a new Unix server

    Sorry about the pointless griping, but I had to get it off my chest.

    Chris

    Chris Wareham

  89. Re:Security... by Ed+Avis · · Score: 1
    If someone has physical access to the box it is not secure.

    There are two kinds of 'physical access' - access to the keyboard and floppy drive, and full access to the machine, including removing the case.

    In many environments such as schools, users have the first but not the second. You can assume that they won't open the case of the machine or steal it, but they will try booting from floppy, CTRL-ALT-DEL or 'linux single'. In these cases, a BIOS password and LILO boot password, combined with a secure operating system, should suffice.

    --
    -- Ed Avis ed@membled.com
  90. Re:Security... by Ed+Avis · · Score: 1
    I believe, that if the authentication technique for Root is set to One Time Passwords, that you would have to edit pwd.db itself to revert to normal passwords, as I do not think that pwd_mkdb will make that change.

    So just use your own version of pwd_mkdb that is a little more obliging.

    --
    -- Ed Avis ed@membled.com
  91. Security and Physical Access are compatible by matthewg · · Score: 1
    How to secure a Linux machine that people will have physical access to:
    1. Disable booting from anything but HD in the BIOS
    2. Set a BIOS password
    3. In /etc/lilo.conf, set a password on all linux images. Use the restricted option so you only need the password if you're modifying LILO parameters (normal boot will work w/o password, but linux init=/bin/sh won't).
    4. Encrypt the filesystem on the hard disk. Store the key on a floppy that you'll need to put in whenever you reboot. Guard this floppy with your life.

    There, now your box should be secure against physical attacks.
    1. Re:Security and Physical Access are compatible by El+Puerco+Loco · · Score: 1

      there are simple utilities around to crack passwords on just about every bios around
      ^. .^
      ( @ )

    2. Re:Security and Physical Access are compatible by markt4 · · Score: 2

      Well, nice try, but the only one of your four steps that would actually accomplish the goal of securing a computer to which one has physical access is step 4 - Encrypt the filesystem.

      Steps 1 and 2 - disabling booting from floppies and CDs in BIOS and setting a BIOS password - are laughably easy to get around. Just pop the cover on the box. Most systems either have a jumper that lets you reset the CMOS or you can just unplug the battery that saves the CMOS memory. Bye-bye BIOS password.

      After that step 3 - setting LILO passwords - becomes moot because I will boot off a floppy| CD|second hard disk and just mount your Linux|FreeBSD|OpenBSD|NetBSD|Solaris|whatever partition.

      So only step 4, encrypting provides you with any protection. From the way you stated step 4 I am assuming you mean encrypting the entire file system and unencrypting at boot time (rather than unencrypting individual files on the fly during operation). That is the only practical way to achieve security when physical access cannot be controlled, but you better use a damn-big, randomly-generated key.

  92. Show me numbers!!! by Eros · · Score: 1

    Okay, I don't claim to hate *BSD or know everything there is to know about *BSD or Linux.

    But, this article was completely full of statements with no numbers or facts to back any of it up. Infact it seems to want to trash Linux pretty bad by claiming to be much better in all the aspects mentioned in the article.

    First, off the comment about *BSD fragmentation and being so aged it's useless? Personally, I've never heard such rumors. And if I did, I wouldn't go taking them for face value. If you think that everything you read on the net is true. You have bigger misconceptions then these.

    And I don't think Linux is slower in any regard or truely fragmented. I do however think that some distrobutions have gotten sloppy though. And in turn performance isn't what it should be. Once again this isn't a problem. Surely with all the distros out there one should be able to suit your needs. Choice is good.

    The author also mentions all the applications out there for *BSD. Well, I'd bet the majority of the *BSD people out after installing *BSD run out for KDE or GNOME or some other major piece of GPL'ed software. So even though I don't think it's wrong of them to use GCC for there needs(isn't that what it's there for). I do think it is wrong of the *BSD communities to complain about the GPL license. By now most people should know this is a personal prefrence and nobody is going to change anyone's mind.

    And here is a quote ment to start a flame war.

    "But many are simply curious about why a new user would choose Linux over FreeBSD, despite FreeBSD's technical superiority."

    Well, that statement should have flushed the last of the credibility this author had left. Obivously, he is bias and this just adds to the rest of the FUD he is spreading. Once again, these are all his personal opinions and not facts. He seems to have made these opinions public to confuse newbies and put down Linux.

    The author also mentions that some scripts he wrote broke when upgrading. And that upgrading the to glibc was a pain. I guess he was expecting progress to be held up because he wrote a few scripts and didn't like upgrading his compiler. Next time I'm sure they will check in with him first. Once again I think that this is a common mistake of expecting everything to be hand feed. Even though it's software that is in *developement*.

    The only problem I have with *BSD? Well, I can tell you that I'm not fond of the licensing. And I'm definately sick of these *BSD vs. Linux wars going on. And that I'm starting to become a little disappointed in Slashdot's choice of articles lately. But, don't think I don't love you anymore Rob. I do appreciate this site, thanks(to everyone at Slashdot and Andover).

    Conclusion:
    Don't give this article a second thought. Don't go flaming this guy. If you feel the need to correct him. *BE POLITE*

  93. Re: BSD Passwords - Get it right! by sinator · · Score: 1

    With BSD kernel securelevels:

    -1: Permanently insecure.
    0: Insecure. Anything is possible.
    1: File flags (e.g, schg, sattr, sunlnk, etc) cannot be modified. No direct memory access.
    (if you run xdm, raise the level in Xsession or some such so that it happens AFTER x starts)
    2: Same as 1 + No direct disk access (can't write directly to block devices)
    3: Same as 2 + firewall rules can't be changed.

    Very good things, these levels.

    --
    Three Step Plan:
    1. Take over the world.
    2. Get a lot of cookies.
    3. Eat the cookies.
  94. BIOS security by TeaJay · · Score: 1

    I have seen quite a few comments on being able to
    bypass BIOS passwords with shorting the battery or disconnecting it. That's true of most systems, but for my old IBM PC330 (486DX2-66). The power on password came with the following caveat: "If you forget this password, there is no way to change it or reset it and the motherboard must be replaced."

    I never believed this was true until I finally got ahold of the internal Service Manual for this one. The corrective action to take on a unit that had been returned due to a lost Power-on password was to replace the motherboard!

    There was a second level of password that was kept that could be reset if you were too chicken to use the power-on. Man, sometimes IBM stuffs the damndest stuff into their BIOS and board designs.

    1. Re:BIOS security by Zurk · · Score: 1

      actually on IBM machines ( i have several ), the password is physically burned into a PROM chip with tamper resistant hardware. you cant remove it , documented or not.

    2. Re:BIOS security by SoftwareJanitor · · Score: 2

      Just because it isn't documented doesn't mean that it is impossible. At any rate, it still doesn't prevent moving the hard drive to another machine that can be compromised and then returning it. Also if the case is non-proprietary, motherboards are relatively cheap these days (under $100 for most of them).

    3. Re:BIOS security by SoftwareJanitor · · Score: 2

      What an incredibly poor design. Reminds me why I make a point of not buying IBM hardware. :-)

    4. Re:BIOS security by SoftwareJanitor · · Score: 2

      Damnit, hit submit at the wrong time.

      Here is a question. Supposing the opposite problem happens... Instead of forgetting the password, what happens if too many people (like a former employee for instance) knows what the password is... If its burned into PROM, how do I change it? Can I? If so, how many times before the PROM is full? This would seem to be a serious enough problem to make this 'feature' unusable even if you don't worry about losing/forgetting passwords.

  95. Quite interesting... by arivanov · · Score: 1

    Very interesting. In order to use real security and really strong crypto DOJ has to import crypto. This does not stop them from screaming about export restrictions though...

    --
    Baker's Law: Misery no longer loves company. Nowadays it insists on it
    http://www.sigsegv.cx/
    1. Re:Quite interesting... by klund · · Score: 1

      You couldn't come up with irony this rich even if you were trying to make it up!

      --
      My word processor was written by Stanford Professor Donald Knuth. Who wrote yours?
  96. OpenBSD, FreeBSD, Linux by Tuross · · Score: 1

    I gave OpenBSD a go on two systems - the first one it crashed repeatedly while recompiling the kernel, the second it couldn't recognise the ethernet card (couldn't even get up to the stage of recompiling the kernel)
    FreeBSD did the same thing on the second box - couldn't recognise the ethernet card. While comparing the ethernet driver sections of the OpenBSD kernel source and the Linux kernel source, I noted that Linux supported 4 times as many chipsets as the BSD's, including the one for the card in the second machine. I chuckled actually as *BSD advocates are always claiming that they have better networking than Linux. They can feel free to continue thinking that fallacy, there were some other strong points to OpenBSD that I liked a lot and its a shame that I can't run a BSD system due to severe lack of hardware support in their kernels.

    Of course the NetBSD crowd are now going to tell me that its my fault for not using NetBSD - but don't bother, I already checked and the card isn't supported with that either.

    --
    Matt
    1. Read Slashdot
    2. ???
    3. Profit
    1. Re:OpenBSD, FreeBSD, Linux by Tuross · · Score: 1

      I agree, I had a lot of fun messing about with OpenBSD (the only one I got to have close to fully installed) and it is a very nice system. I guess I'm mostly disappointed that I couldn't continue due to the problems I experienced.

      One thing that did surprise me was that ssh was not included - I had to grab it from ports. There were buttloads of other security/crypto stuff though.

      --
      Matt
      1. Read Slashdot
      2. ???
      3. Profit
  97. Re:I've never actually tried *BSD by Neurowiz · · Score: 1

    I use both.

    They both do good jobs at the same thing. I personally like OpenBSD's NAT implementation (all you have to do is add -alias to your pppd command line and you have NAT) but at the same time, I like alot of things about Linux too.

    Using the tool that I like for the job at hand.

    Try both! Learning something new never hurts and who knows... the knowledge will probably come in handy some day!
    --

    --
    Neurowiz
  98. Re:Security... by Tim+Pierce · · Score: 1

    As for OpenBSD's security, 2.5 years without a security alert speaks for itself I think.

    That means that for the last 2.5 years, not enough sites have been running OpenBSD for it to be worth trying to crack.

    There is no doubt that the OpenBSD team have done a better job on out-of-the-box security than any other free system out there, but that does not mean that the system is uncrackable. They would be the first to tell you that. As the system's popularity grows and it becomes a richer target, you will start to see OpenBSD security alerts.

  99. Protection against opening the case - C4! by DragonHawk · · Score: 1

    Place a good-sized charge of C4 (explosives) inside the case. Connect the detonator to tamper switches on all case junctions, and place cut-lines across the panels.

    If anyone tries to open that computer to bypass OS and BIOS security, it'll blow itself to pieces, taking the data with it. And prolly the one doing the crack, as an added bonus.

    The best place to put the device would be in a empty hard drive case. With the exception of the wiring for the tamper switches (and you could prolly get creative and hide thoses well), it would be indisquishable from a real drive. It would also put the charge right near the data it is designed to destroy.

    If you're brave, use a mercury switch so the thing cannot even be moved.

    If you're *REALLY* brave, connect a relay to the PSU, so the thing cannot even be *turned off*.

    If you ever want access to the system again, replace the keyboard lock with a decent lock, complete with a tamper switch, and still no one will be the wiser.

    This is, of course, supreme overkill, and highly dangerous to boot, but I suppose if you really don't want your data getting compromised...

    DISCLAIMER: If you actually do this, and then blow up something you wanted (data, a body part, whatever), do not blame me. I said it was dangerous.

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  100. WRONG! Re:on the linux side by guacamole · · Score: 1

    I use Debian GNU/Linux 2.1
    If you boot into sigle user modem it WILL ask you for password. This has nothing to do with OS Kernel but with INIT scripts!
    The following is from my /etc/inittab file:


    # What to do in single-user mode.
    ~~:S:wait:/sbin/sulogin


    Screw RedHat for not using this!

  101. Re:Security... by Lazaru5 · · Score: 1


    You create an empty password in the shadow password file. After reboot you login as root and you're not asked for a password.

    --

    --
    My comments and opinions completely reflect those of anyone and anything I am remotely associated with.
  102. Re:The only file systems which guard against this. by twixel · · Score: 1

    And where would you store the key to unencrypt these FS's?

    So you'd have to put the key on a smartcard. Of which there would be copies (can't have the company go down because someone lost a smartcard)

  103. Re:My Take, from someone that uses it daily. by D3 · · Score: 1

    I found info on the RAID support. Check their FAQ page like I should have. :)

    --
    Do really dense people warp space more than others?
  104. Re:Oops by D3 · · Score: 1

    Actually, scroll up to section 12.2 not 12.4 like I linked.

    --
    Do really dense people warp space more than others?
  105. Uh. by aithien · · Score: 1

    The whole thing was someone asked him to change the passwd file for them...

    Duh



  106. Re:Why I prefer BSD by Foogle · · Score: 1

    Why would that be? Bad code in BSD, just like in Linux, get's ripped out. Especially if it's security-oriented.

  107. Re:Security... by Zurk · · Score: 1

    tell that to the guys at phrack magazine who have a neat little openbsd compatible kernel module to subvert your tried and trusted OS. recommend checking back issues of phrack you BSD snob.

  108. Re:And are the DOJ security experts? by Zurk · · Score: 1

    if a user account is compromised, root access *will* be obtained one way or another. any admin would be horrified at your clueless statement above claiming that openbsd with a compromised user account would somehow be less vulnerable to attackers. fact is - user accounts is a last ditch attempt at raising the bar for attackers..once the guy logs in, its all over. BTW, those imapd vulnerabilities etc, would also affect openBSD..the kernel may be secure but utilities used could compromise the system. dont tell me that an openbsd systems with vulnerable KDE desktop is any more secure than a linux system with an imapd overflow. both systems are compromisable.

  109. Re:How to prevent booting from floppy by Louziffer · · Score: 1

    Very true. Even with a case lock on the machine, these are only measures meant to stall someone, prevent mischief, or simply make it not worth breaking into more than anything else. True security in the sense you're talking about means locking a machine in a door-less vault with no connectivity to the outside world. Of course... then you open yourself up to nose-toting talk show hosts. 8)

    Security in real life means making things secure enough that almost anyone tempted to break it will go on to easier prospects when they feel the effort isn't worth the end result.

    --

    LouZiffer

  110. How to prevent booting from floppy by Louziffer · · Score: 1

    There's an easy way to prevent someone from ever booting to a floppy drive on a server - take out the floppy drive. I've run my main server for years with no floppy drive in it.

    --

    LouZiffer

    1. Re:How to prevent booting from floppy by SoftwareJanitor · · Score: 2

      There's an easy way to prevent someone from ever booting to a floppy drive on a server - take out the floppy drive. I've run my main server for years with no floppy drive in it.

      But unless you physically lock the machine up, or do something radical like fill the floppy drive connector with epoxy, you really can't prevent someone from opening the box and hooking up a floppy drive and resetting the CMOS memory...

  111. Re:Protection... overheating? by Pogue · · Score: 1

    No, it's perfectly safe as C4 cannot be exploded through heat alone. The mercury switch sounds kinda dicey though.

  112. Re:There's bureaucracy and then there's bureaucrac by Josh+Picker · · Score: 1

    here's what you do; go in at night, when you'll be relatively alone. then you take all the Sun hardware out to your car, and drive home. then you send it to me. we can even do it COD. okay?

  113. Re:Security... by wct · · Score: 1

    I assume if OpenBSD puts such an emphasis on security, shadowed passwords would be a default setting which would have stopped the method you've outlined here. I'm amazed that the disgruntled system admin didn't use them, but that may go some way to explain why he was let go.

    As for OpenBSD's security, 2.5 years without a security alert speaks for itself I think.

  114. Re:Security... by Hard_Code · · Score: 1

    Um...that seems really stupid (re: avoiding security by allowing a boot from a floppy). The MUST be an option to NOT boot from a floppy. I can hardly believe that Linux has no way of letting you do this. Just set it in BIOS if all else fails. Probably someone figured that they might have to get into the box at some point later in time so they kept "boot from floppy" in the boot sequence. Anyway, *physical* security is always a prerequisite for electronic security. NSA doesn't keep their boxes on the front lawn you know ;)

    --

    It's 10 PM. Do you know if you're un-American?
  115. Re:Security... by konstant · · Score: 1

    If you really care, many BIOS's allow you to change the boot order of the drives. This would mean that the machine wouldn't boot from a floppy unless there was no bootable partition on the primary harddrive. I've done this a couple of times for various reasons on my Windows box.

    -konstant

    --
    -konstant
    Yes! We are all individuals! I'm not!
  116. NetBSD ftp'd, partitioning drive... by EXpunk · · Score: 1

    got my Mountain Dew, PIL in my CD... I'm ready to rock and roll.

    Thanks for the input!


    --
    Killing spammers is too good for them.
  117. I've never actually tried *BSD by EXpunk · · Score: 1

    But I do have an old Mac IIci that was "beefed" up (remember when 24mb of RAM was so big your friends would all come over to dig your set up?). Maybe I'll tinker with FreeBSD 68k, and maybe try it on one of the x86 boxes here at work.

    Not to start a debate or flame war, but for anyone who's used *BSD and Linux why do you prefer one over the other? Or the particular distribution of either that you use? I've only had experience with Debian (which I have read is more secure and I use more often)and RH (the first one I tried, mega mega easy to install and configure), and a weeeeeee bit on LinuxPPC.



    --
    Killing spammers is too good for them.
    1. Re:I've never actually tried *BSD by agshekeloh · · Score: 2

      Slashdot, roasting on an open fire... ;)

      Seriously. back in 1995 I worked for a national ISP that I won't name. We had to build news machines. A lot of news machines. We had quite a few ISP customers, and they all wanted news.

      At the time, I was a Mac user. UNIX was the clunky thing I used to read my email and run traceroute with. I mention this only to show that I had no prior BSD/Linux bias.

      After much pain, we got Linux going (Red Hat 3.2, I believe, but don't quote me). A pentium 200 filled about 20 meg, then leveled out. Not bad.

      The FreeBSD 1.5 machine, with the same hardware, filled a DS3. (Boy, were those T1 customers hanging off that site *pissed*! But that's another story.) The FreeBSD box didn't so much as break a sweat.

      So, we plugged it into an OC3.

      The box finally leveled out at 80 meg. My gut reaction is that it was the cheap 100bT NIC that filled out.

      Of course, we eventually smoked the SCSI arrays (remember back when an 8 gig array was impressive?) But the OS just kept going, and going, and going.

      As a network engineer, FreeBSD earned my trust.

      Now, most people don't need to soak an OC-3. But those of us who do (Best, Yahoo, etc) tend to run FreeBSD.

      Your T-1 ISP? Either will work just fine.

      Your desktop? Linux will support your goofy desktop hardware.

  118. Re:Why I prefer BSD by fwr · · Score: 1

    One aspect of better is that BSD encourages
    programers to think through what they are doing while linux is more of a quick hack. That is Linux is more release quickly and often where as BSD is get
    it right, then release. The only advantage is if it is wrong BSD makes it easier to throw away that code as it isn't released.


    Does this also mean that it is harder to remove bad code if it does make it into a release?

  119. Yay Theo! Yay Calgary! by b100m · · Score: 1

    Rather than rant about the finer points of the differences of the *.BSD family, I'll just congratulate Theo on some well deserved publicity. OpenBSD is by far the most secure OS available. Just ask the folks at DefCon...
    ________________________________________________ _
    $which weed

  120. Not workin! by Fideist11 · · Score: 1

    this site is horrible...might as well take this link down at this rate...

  121. Re:Security... by Stonehand · · Score: 1

    You'd have to physically secure the machine, and remove / prevent installation of all forms of removable bootable media, including floppy drives and CDs. As other posters have noted, the OS cannot stop a floppy boot because the OS is not loaded before the boot starts.

    Caveat: if you do your own, personal kernel mods, scramble the file system in a particular way, keep the modified kernel on a floppy that is secure at ALL times, and you never ever let the key out -- you still won't prevent a boot, but you might be able to prevent (meaningful) filesystem access. Then, the most that anybody can do is take the drive (or take a clone) and work on it in their own time.

    BIOS protection can be undone, given time and, say, a screwdriver (if no lock), or sufficient cutting/drilling equipment. Remove the battery, or find the mobo manual and check for the jumper that resets to factory settings.

    --
    Only the dead have seen the end of war.
  122. Re:Security... by heh2k · · Score: 1

    um, how exactly would shadowed passwds stop you from booting from a floppy and editing /etc/shadow? (hint, they won't). from what i can gather, what he did was boot from a floppy, mount the root fs and remove the encrypted root password from /etc/shadow.

  123. Re:OpenBSD does have better Security... by xinos · · Score: 1

    OpenBSD has the best security out of the box period. Why?
    1) Only Totally Free OS where the developers have done a line-by-line security audit of the source tree.
    2) Many of the BUGS/exploits that are discovered in other OS's were fixed in OpenBSD ages ago (before the other's) ... just scan the changelogs.
    How many times in Bugtraq have I read a line that goes "oh that bug ... we fixed that in OpenBSD X months ago."

  124. Re:Works great for me! by xinos · · Score: 1

    I have managed (with some help from the developers and a little old fashioned reading/learning) to get TONS of stuff working right on OpenBSD.
    Right from the begining I found OpenBSD easier to install and use.
    I also loved the "simple and secure" default install OpenBSD is famous for. I didn't like the other OS's 'lets install everything under the sun and more plus lets activate the whole mess' type of installs.
    OpenBSD is for me. Using it now.

  125. The only file systems which guard against this... by Anonymous Coward · · Score: 2

    The only file systems which could help guard against this type of attack would be a cryptographic file system or a steganographic file system.

  126. Why I prefer BSD by bluGill · · Score: 2

    Simple, it is BSD, not SysV.

    There are differences, but you get used to that. I'm already in the habbit of typing "ps -aef;ps -aux;ps -ae;ps -ex;ps -ax;ps -a" of which normally only one returns what I was looking for. (Challange, guess which variant eash is used on - trick question, I may have one made up)

    Other than command line arguements, of which ps is about the worst few people will be able to tell the difference without being told. That is if you replcaed the login screen on any xbsd box with one that said Linux few people would notice the difference.

    I like the way freeBSD is configured, but I've only played with slackware 3.0 for linux, which is not a fair comparition.

    As a programer, I think that *BSD is better programed overall. This is not to say that *BSD is perfect, or that Linux is all bad, there are places where linux is better programed. Overall though from what I've seen the majority of cases leaves *BSD better. One aspect of better is that BSD encourages programers to think through what they are doing while linux is more of a quick hack. That is Linux is more release quickly and often where as BSD is get it right, then release. The only advantage is if it is wrong BSD makes it easier to throw away that code as it isn't released.

    FreeBSD has better networking code, though linux has cought up for the most part. Linux has better SMP, but FreeBSD is catching up. OpenBSD is more secure, netBSD is more portable. (Linux has been ported alot, but netBSD has more useful working ports, while many linux ports belong in the curisoity catagory due to the hardware limits)

    Finially, BSD is not GNU. This is religion for many people, but the fact it I don't like the GNU license. Your welcome to disagree, I don't worship the BSD license, just prefer it given a choice

  127. Mirror here: by Tim+Doran · · Score: 2
    http://24.112.147.221/bsdmirror.htm

    Please be gentle with my box... this may not be wise of me.

  128. Re:Here we go... by jd · · Score: 2

    You missed one:
    7) BSD is all caps, and capslock sucks

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  129. Here we go... by poink · · Score: 2


    1) BSD Sucks
    2) Linux is best
    3) BSD is too fragmented
    4) BSD is dying
    5) There is no software for BSD
    6) There is no hardware support for BSD.
    <WHINE>
    I said it so all you trolls don't have to.

  130. OpenBSD FAQ by Cicero · · Score: 2

    Never used OpenBSD before, but this is from their faq:

    8.3 - I forgot my root password, what do I do now?

    A few steps to recovery

    1.Boot into single user mode. For i386 arch type boot -s at the boot prompt.
    2.mount the drives.
    bsd# fsck -p / && mount -u /
    3.If /usr is not the same partition that / is (and it shouldn't be) then you will need to mount it, also
    bsd# fsck -p /usr && mount /usr
    4.run passwd
    5.boot into mulituser mode.. and remember your password!

  131. Re:Security... by dirty · · Score: 2

    This has nothing to do w/ shadow passwords. The method he described will work even if you have shadow passwords. Even if the passwords were stored on another system and all over the wire data was encrypted w/ 5billion bit encryption you could still boot from a floppy and modify whatever files you needed to in order to disable said protection. Or you could replace /bin/login with /bin/sh. If you have physical access to the machine it is NOT secure.

    --

    -matt
  132. Re:Security... by dirty · · Score: 2

    Linux would have no way not to let you boot from a floppy. The BIOS handles booting, not the kernel. LILO does have some security options for not allowing paramaters to be passed to the kernel, but booting from the disk drive bypasses the hdd alltogether so it doesn't matter. Disabling it in the BIOS does nothing either; most mbs these days have a jumper that will clear the BIOS, and if that doesn't work you can just pull the battery. If someone has physical access to the box it is not secure.

    --

    -matt
  133. Re:There's bureaucracy and then there's bureaucrac by SoftwareJanitor · · Score: 2

    Bail out of there while the getting is good. Sounds like the new IT manager there is a PHB of the worst variety.

  134. Re:Security... by SoftwareJanitor · · Score: 2

    The MUST be an option to NOT boot from a floppy. I can hardly believe that Linux has no way of letting you do this. Just set it in BIOS if all else fails.

    Its a hardware problem. Linux can't do anything to fix that, and neither can anything else. If you have physical access to the machine you can override anything (including BIOS passwords, by resetting the CMOS memory (either a jumper or shorting the battery momentarily)). Even if no floppy is connected, you can open the machine and hook one up. Or you can remove the hard drive the passwd or shadow file is on, hook it up to another machine and change the files.

    Unless you physically lock the machine up, it is not secure.

  135. Re:Security... by schon · · Score: 2

    Yes, if the guy was really paranoid, he would have changed the boot
    sequence and password protected the BIOS, but it wouldn't have
    prevented "plan B" - which is to wipe the BIOS by opening the case, or
    to remove the HD and install it in another machine.

    And yes, I'm aware of the need for physical security; (the servers
    were stored in a locked, alarmed room.)

    I was just asking, because (as I said) this BSD shop told them that if
    it was running BSD, then there was no way anyone could break into
    them.

    So which OS's do you use that can prevent you from booting from a
    different volume? (be it floppy, hard drive, or some other medium.)

  136. Then paint me a script-kiddie by Foogle · · Score: 2

    I've set up OpenBSD as a firewall here at my office and I love it. The system is stable, easily secured, and fairly fast. If a script kiddie put all that in motion, then more power to him. It's not about personalities, it's about a good operating system. Period.



  137. Slashdotted? by Sun+Tzu · · Score: 2

    The server is not pumping out many bits...

  138. And are the DOJ security experts? by Paul+Crowley · · Score: 3

    Many, many people use Windows NT to store and transmit top-secret data. Does that mean that NT is secure, or just that the expertise to properly evaluate security is much rarer than the willingness to believe marketing that says what you want to hear?

    And, of course, it can be misleading to speak of a "secure operating system" - security is a property of the system as a whole. A Windows NT mail hub can store and forward a PGP-encrypted message without the contents of the message being any more readable, and an OpenBSD machine can be configured with open "telnet" ports and guessable passwords.

    The care and effort put into OpenBSD's security aspects is of course useful and laudable, but it won't do you the user any good if you don't understand your own role in keeping the system secure.
    --

  139. Re:Security... by DaveTerrell · · Score: 3

    I assume if OpenBSD puts such an emphasis on security, shadowed passwords would be a default setting which would have stopped the method you've outlined here. I'm amazed that the disgruntled system admin didn't use them, but that may go some way to explain why he was let go.

    This is not true. You can't directly get to a root shell like you can with single user mode (or, if single user prompts for a password, try lilo: linux rw init=/bin/sh --don't forget to umount /, then just reboot the machine, shutdown won't work) on linux. You can just pop in an install floppy and mount your / filesystem and edit the passwd file though. Physical access = root access. Shadowing the passwords doesn't change that, you can still edit /etc/shadow.

  140. Re:Security... by Spectre · · Score: 3

    *chuckle*

    In general, physical access to the machine allows access to everything, typically through a method such as what you employed. BSD is no different from Linux (or DOS, or NT, or about anything else) in this regard.

    Yes, a person could use a cryptographic hack to keep all file systems encrypted, but the performance hit is usually bad enough that most people find it far, far more economical (and effective) to lock the servers in a machine room with restricted access...

    --
    "Flame away, I wear asbestos underwear"
  141. My Take, from someone that uses it daily. by D3 · · Score: 3

    Here we use OpenBSD as part of our IDS solution. It has a couple of qualities that make it a great choice. First, it is very secure as a default installation. Second, BSD in general has some of the fastest network sniffing capabilities of any OS. Third, some OS's like Linux and Solaris don't know how many packets they've really dropped so you can't tell for certain how good they are doing. Fourth, it is FREE. The DOJ has contractors just as any agency (even NSA has contractors for some things I'm told). If you get people that understand what they need and what works best for the situation it isn't surprising to see it used by Gov't.

    As for limitations, it comes with X and Netscape. Also, there are some new programs that are supposed to allow you to compile Linux binaries and run them. I haven't used this but it sounds cool. So, basically it isn't much more limited than Linux for software. Last I saw it doesn't support dual CPUs and I'm not sure about RAID so it gives up quite a lot to Linux there. Maybe once Linux becomes too mainstream and Linus too much of an icon, all the 'real' computer hacks will turn to OpenBSD for the next revolution? Just kidding.

    Lastly, I know that people have been donating hardware (like gigabit ether) that will help keep it a viable, quality OS.

    --
    Do really dense people warp space more than others?
  142. Security... by schon · · Score: 3

    This reminds me...

    A couple of weeks ago, I got a call from a company that was letting
    their sysadmin go (and not on good terms, either), and needed someone
    to hack their (linux) servers, as nobody else knew root passwords; I
    got called in; downtime was not an issue, so (with the aid of a
    rescue disk) it was just a matter of rebooting the boxes and editing
    the passwd file...

    After seeing how simple it was to get into the boxes, they immediately
    asked if I could switch the boxes over to BSD, as the previous people
    they had called (a BSD shop) had told them that if they had used
    BSD, then there was no way anyone could get into the boxes, as BSD is
    "uncrackable."

    Now, I don't have any experience with BSD (I tried installing it, but
    there are no drivers for my home machine, which I use as a testbed,)
    so I didn't have any firm comeback; but I would like to know (from
    the BSD people who will be reading this) if the same technique I used
    would be possible on a BSD machine. (I'm hard pressed to think of how
    this could be done, short of encrypting the root FS, or something
    similar.)

    Can anyone shed some light on this? Is BSD really "uncrackable", or
    are these other guys just blowing smoke?