Slashdot Mirror


OpenBSD 3.6 Released!

dspisak writes "The people over at OpenBSD have released version 3.6 containing significant new features such as: SMP support for i386 and amd64 archs, the ability to optimize pf rulesets, better hotplug support, in addition to more robust encryption and vpn functionality. This is in addition to more recent hardware support, for a full list of changes take a look at the 3.6 changelog. Don't forget to use the mirrors!"

29 of 194 comments (clear)

  1. Hooray! by Rhesus+Piece · · Score: 3, Funny

    Excellent timing!
    Right around Halloween, the "dead" comes back to life!

    Congrats and good work to the OpenBSD team!
    Keep it up.

  2. Actually by Karamchand · · Score: 4, Informative

    ..it was released on 29th of October already, as you can read here. When download, please don't forget to use the torrent!

  3. I wish by Anonymous Coward · · Score: 5, Funny

    I wish there was someone in real life who knew what OpenBSD was so they could share my enthusiasm =(

    1. Re:I wish by nomadic · · Score: 5, Funny

      I wish there was someone in real life who knew what OpenBSD was so they could share my enthusiasm =(

      I know a girl who's extremely interested in OpenBSD, I could give you her number if you want.


      Nah, just messing with you, made that up.

  4. On Address Space Randomization... by nweaver · · Score: 4, Interesting

    There was an excellent paper at CCS last week on the limits of address space randomization. If you want address space randomization to be effective, use a 64 bit architecture and native 64 bit binaries for your OpenBSD system.

    --
    Test your net with Netalyzr
    1. Re:On Address Space Randomization... by kokamomi · · Score: 4, Informative
  5. It's like a BSD golden age lately by ewg · · Score: 3, Interesting

    It's like a BSD golden age lately, with (alphabetically!) FreeBSD, NetBSD, and OpenBSD releases coinciding.

    Hooray for all three. It's a amazing luxury to have so many open source Unix-like operating systems and kernels out there, free for the download.

    --
    org.slashdot.post.SignatureNotFoundException: ewg
    1. Re:It's like a BSD golden age lately by BrookHarty · · Score: 4, Informative

      There are more BSD's distros than the top3 (Free/Net/Open), you have PicoBSD, Firefly BSD, Debian GNU/BSD, Gentoo BSD, BSDi, BSD-OS and Darwin.

      Seems like lots of choices for BSD users.

  6. i notice... by null-sRc · · Score: 5, Interesting

    i noticed under new features:

    tcpdrop(8), a command to drop TCP connections.

    this looked like an awesome idea, and I'm wondering what the windows / linux equivalent is... anyone know?

    --
    -judging another only defines yourself
    1. Re:i notice... by eht · · Score: 3, Informative

      There's an free app for windows from sysinternals called tcpview that lets you close connection, it's gui based though available here

      not sure of any command line utils

      sysinternals has many other cool free apps and many of those have source code

  7. Not just for routing. by saintlupus · · Score: 5, Informative

    OpenBSD has a reputation for being the ideal platform for making into a router or firewall. That's true, but it's also a really nice general server OS for low power tasks. I run it at home as a file/web server, and it's really quite nice.

    If you like Unix (as opposed to hating Microsoft), give it a shot.

    --saint

  8. Comment removed by account_deleted · · Score: 4, Informative

    Comment removed based on user account deletion

  9. Re:BSD is dying :-( by Ryan+Huddleston · · Score: 3, Funny
    FreeBSD 5.2.1-RELEASE (GENERIC) #0: Mon Feb 23 20:45:55 GMT 2004
    ryan@cm ryan $ date
    Mon Nov 1 13:20:20 EST 2004
    ryan@cm ryan $ uptime
    1:17PM up 172 days, 17:47, 1 user, load averages: 1.44, 1.45, 1.42
    About 172 days ago.
  10. Reasons I like OpenBSD by Anonymous Coward · · Score: 3, Insightful

    Simple (text install). Default install is small, but gives you a complete, basic Unix-like OS. Man pages are really useful. Multi-platform, so you don't have to manage a different OS on every arch you have. OpenBSD is creating technology that helps other distros, such as OpenSSH. I'm expecting to see their BGP and NTP stuff showing up elsewhere.

  11. If you had ordered the CD's... by BawbBitchen · · Score: 5, Informative

    ...you would have 2 servers up and running already. Got my CD's last week and have 1 new box up and one old 3.5 box upgraded. May thanks to Theo and the team for such great software.

    If you have not tried OpenBSD please do. While I will not speak on the idea of OpenBSD on the desktop I will speak to how great it is as a firewall. If you have struggled with IPTABLES it is time to give a try to PF. Have a look. It should be easy to understand:

    ext_if="xl0"
    int_if="fxp0"
    # clean up the packets
    scrub in all
    # nat the internal network to the external interface
    nat on $ext_if from !($ext_if) -> ($ext_if:0)
    # setup a table of RTBL IP's for spammers
    table persist
    #redirect any IP's in the the RTBL to spamd
    rdr pass inet proto tcp from to any port smtp -> 127.0.0.1 port 8025
    # ftp proxy
    rdr pass on $int_if proto tcp to port ftp -> 127.0.0.1 port 8021
    # redirect any internal user to squid
    rdr on $int_if inet proto tcp from any to ! $int_if port 80 -> 127.0.0.1 port 3128
    # pass extenal web request to the internal www server
    rdr on $ext_if proto tcp from any to any port http -> 192.168.0.2
    # pass extenal web request to the internal www server
    rdr on $ext_if proto tcp from any to any port https -> 192.168.0.2
    # drop everything
    block in log
    # allow out and keep track
    pass out keep state
    # allow anything to the loopback and internal interface
    pass quick on { lo $int_if }
    # no RFC 1918 spoofing (quick - do it now!)
    antispoof quick for { lo $int_if }
    # allow external ssh in
    pass in log on $ext_if proto tcp to ($ext_if) port ssh keep state
    # allow smtp in
    pass in log on $ext_if proto tcp to ($ext_if) port smtp keep state
    # allow the www forwarding
    pass in log on $ext_if proto tcp to 192.168.0.2 port http keep state
    # allow the www forwarding
    pass in log on $ext_if proto tcp to 192.168.0.2 port https keep state
    # allow outbound smtp
    pass out log on $ext_if proto tcp from ($ext_if) to port smtp keep state

    Very simple and clean. If you need a firewall give it a try!

    1. Re:If you had ordered the CD's... by the+morgawr · · Score: 4, Informative
      Don't know of a comparison but a quick overview of pf is available: http://www.openbsd.org/faq/pf/index.html

      It might just be that I'm a little thick up top, but I've found it easier and quicker to use PF instead of iptables for routers. The main thing I like about it is that you can do your packet shaping and filtering with the same config file. You can also track state connections by IP address (source tracking).

      --
      The policy of the United States is worse than bad---it is insane. -- Ludwig von Mises, Economic Policy(1959)
    2. Re:If you had ordered the CD's... by e9th · · Score: 3, Informative

      A reasonably good book on pf is Building Firewalls With OpenBSD and pf by Jacek Artemiak. It's an okay intro to firewalling, with lots of pf specific examples. No direct comparisons with iptables, though.

    3. Re:If you had ordered the CD's... by Richard_at_work · · Score: 3, Informative

      You are actually using more rules than you really need to, as you can combine the rdr and the pass rules:

      ## Webserver (http/https)
      rdr pass on $ext_if proto tcp from any to ($ext_if) port http -> 10.0.0.8 port http
      rdr pass on $ext_if proto tcp from any to ($ext_if) port https -> 10.0.0.8 port https

      I like this better than having two seperate rules, as you know youve included both!

  12. Re:Firewall ? by Anonymous Coward · · Score: 3, Informative

    Both PacketFilter and NetFilter provide enhanced filtering capabilities, and are statefull.

    The way you build your rules is a little different.

    I don't think there's much difference for Joe User (who wants to protect his home network beind cable/dsl).

    The features in pf that I like are:
    - packet normalization (scrub in all)
    - ISN modification (modulate state)

    I think you should rather use OpenBSD/pf if you intend to have a firewall with enhanced VPN capabilities, since OpenBSD has pretty good security features.

    But the bottom line is: choose the one you're comfortable with. Both can be secure only if well configured!

  13. hotplugd is neat by hkb · · Score: 5, Informative

    hotplugd is pretty damned neat on the user end. It allows you to define actions performed when a device is plugged in, such as a digital camera (ala cp /mnt/camera/* ~/pictures/$DATE/).

    It's also mentioned in a recently slashdotted interview with some OpenBSD devs here:
    http://www.onlamp.com/pub/a/bsd/2004/10/28/ openbsd _3_6.html

    --
    /* Moderating all non-anonymous trolls up since 2004 */
  14. Re:About Slashdot BSD Logo by ebooher · · Score: 3, Informative

    Ok, the current icon for a generic BSD story on /. right now is the Daemon, right? Everyone I know associates the Daemon with BSD regardless of flavor. NetBSD has attempted to single themselves out as a seperate distro from the rest of the BSD group/stables. Why would it make any sense to use their new logo as the *generic* BSD logo? If the /. story is 100% devoted to NetBSD, then sure, use the flag like Apple has their own logo. But I don't think it would be worthwhile to replace the Daemon with the NetBSD flag on a story dealing with OpenBSD.

    --
    "Genius may shine aloof and alone, like a star, but goodness is social, and it takes two men and God to make a Brother."
  15. OpenBSD impossible to update? by berck · · Score: 4, Interesting

    I've got OpenBSD running as a little personal webserver, DNS server and so on. It's running OpenBSD3.1, because at least back then, it was absolutely impossible to update. Every up understanddate involves going through and manually mucking with endless configuration files, etc. I use Debian for most everything, and have grown so used to the ability to run an apt-get update; apt-get dist-upgrade.

    The inability to easily update OpenBSD, to me, nullifies any benefit one gets from it being "secure". If I'm running a two year old version of Apache because it's such a pain in the butt to update, how iss that secure? I think automatic security updates are imperative for a secure system.

    And, furthermore, the automatic updating system should be secure as well.

    1. Re:OpenBSD impossible to update? by 44BSD · · Score: 5, Informative

      CVS is your friend. See also the updating mini-faq, conveniently located here

    2. Re:OpenBSD impossible to update? by Moridineas · · Score: 4, Informative

      Also you can use binary snapshots to upgrade, which I did recently from 3.1 -> 3.5. VERY easy. I would've done source upgrade, but the computer is a 386 and that takes a long time :-p

      As for updating files in /etc/ ... MERGEMASTER! It's a port, in sysutils I think...mergemaster is your friend, and a really, really awesome program.

  16. Top 10 reasons IPTABLES is better than PF by DeBeuk · · Score: 5, Funny

    Top 10 reasons IPTABLES is better than PF:

    10. Parsing IPTABLES config files excellent preparation for subsequent
    learning of Asian pictograph-based languages.

    9. Standard logging via syslogd helps eliminate clutter in /var/log.

    8. GPL prevents Steve Jobs from stealing your code.

    7. Simplistic man pages encourage development of social skills via mailing
    lists.

    6. Multiple distributions, versions, kernels, modules, plugins, etc. keep
    hackers confused as to exactly what they're attacking.

    5. "Mangle" just sounds so much more 133+ than "Scrub".

    4. Complexity of structure leads to more opportunities for obfuscation and
    subsequent job security.

    3. New and experimental kernel modules make life exciting again.

    2. GUI and Web based utilities mean that anyone can set one up without knowing
    what they're doing.

    And the number one reason IPTABLES is better than PF:

    1. No distracting arguments about whether to port it to OpenBSD.

    Shamelessly stolen from the pf mailinglist.

    --
    Reality has a notoriously liberal bias -- Stephen Colbert
  17. OpenBSD is great for learning, too by mmkhd · · Score: 5, Informative

    I want to recommend OpenBSD to anyone who wants to build a small server and it is a must for a firewall/NAT box.

    I have never seen such a clear, concise, and easy to understand configuration file as that of pf.conf (IP filter).
    The files for the boot-up configuration rc.conf and rc.local are also very clear and easy to understand.

    Everything has very _good_ man pages and sample configuration files with lots of comments.

    The faq on openbsd.org is quite good, too.

    One aspect of security is simplicity, which implies easily understood configuration files.

    Another aspect of security is that you learn about the fundamentals of your system /network. OpenBSD's lack of graphical configuration aids is a great help here.
    You simply _have_ to learn about your system to be able to operate it, but at the same time learning is made easy, by great documentation.

    And if anybody is put off by OpenBSD's (in)famous penchant for straight/rude talking developers: Don't worry, I found people friendly and helpful. They are only put off, by questions that are very obvious and have been covered in the documentation extensively. But I am also the kind of person who loathes to ask for help in a D.I.Y. shop such as Home Depot, preferring to find things unaided so that I learn more and more about the products they offer, so that I will be more knowledgeable when doing my next project.

    Marcus

  18. Re:SMP by Nonesuch · · Score: 4, Interesting
    I asked about SMP for Sparc32 (I have a quad SS20!) but there was no take on that. SMP for Sparc64 maybe coming..
    The new darling of the OpenBSD developers is AMD64, we can expect development on that platform to take priority, with Sparc and Sparc64 being somewhat neglected. As much as I hate to say this, we may never see OpenBSD offering SMP for Sparc platforms.
  19. Re:SMP support by styrotech · · Score: 4, Informative

    The developers admit it's pretty crude. It just uses the one big lock technique that most first time SMP projects seem to.

    Don't forget SMP opens up new opportunities for security problems, and the OpenBSD devs will be treading very cautiously and conservatively with their implementation. For them security outweighs performance.

    Don't expect it to compete with Linux 2.6 or FreeBSD 5 in terms of performance and scalability anytime soon (if ever).

  20. Don't forget to buy a CD by Keith+McClary · · Score: 3, Insightful

    Don't forget to use the mirrors!

    I've heard there are big companies using many copies of OpenBSD but haven't even bought a CD.

    They should get their names on this list:
    http://www.openbsd.com/donations.html