Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Latest News
    • Servers

    OpenBSD 3.2 Gets It Right

    Written by

    Timothy Dyck
    Published October 18, 2002
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      On Nov. 1, the next release of OpenBSD, the Internets most secure operating system, comes out. OpenBSD has had a bad summer for security, with its first remote hole in six years, but this new release again demonstrates the way the OpenBSD development team obsesses over security. OpenBSDs record—one remote hole in the default install in nearly six years—is still far, far better than any other OS out there.

      Ive been working extensively with a snapshot of OpenBSD 3.2 code over the past two weeks for eWEEKs OpenHack security test. There is nothing better out there to get a security-sensitive system up and running.

      OpenBSD installs incredibly quickly—I can go from a blank drive to a functional yet secure Web server or domain name server in 10 minutes flat. The system also has a highly centralized configuration, providing a single place to turn included server packages on or off: All kernel configuration parameters go in /etc/sysctl.conf and all startup and server configuration settings go in /etc/rc.conf. This is far simpler than most other Unixes System V-style /etc/init.d/rc.d hierarchy, with its mess of symbolic links and special tools to enable or disable particular servers on boot-up.

      One of the key things in this release, of course, was to include a fixed version of OpenSSH—OpenSSH 3.5 is included and has that programs privilege separation turned on by default.

      OpenBSD 3.2 also takes greater advantage of the memory protection features built into modern CPUs to block buffer overflow attacks. It now sets program stack memory to be non-executable, and on SPARC and Alpha CPUs, it also sets program data to be non-executable.

      This use of CPU memory permission bits is the start of a major new security direction for OpenBSD. “We want to move to a model in 3.3 or 3.4 where all objects will only ever have execute or write permission, but never have both,” Theo de Raadt, Project Leader for OpenBSD, in Calgary, Alberta, told me. “Were going to try for that. If we can, we can significantly reduce attacks.”

      Unfortunately, Intel x86 chips dont allow arbitrary memory pages to be marked as non-executable the way SPARC and Alpha CPUs can, although AMDs upcoming Hammer chips can do this, said de Raadt.

      The development team has continued to do their intensive code auditing and has been able to significantly reduce the number of executables that have the setuid bit set, effectively reducing the number of programs that need to be run with root privileges to work. One such example de Raadt described to me is the utility ping.

      “Ping has to be set root because it allocates a sockraw [raw socket] to send ICMP [Internet Control Message Protocol] requests. We modified ping so it opens up sockraw and then revokes privileges. … If theres a bug, it crashes as a user. Weve taken this to the nth degree with every setuid binary in the system,” said de Raadt.

      “The impact of many security holes has been significantly reduced. We had 40 exposed setuid programs in 3.1; we now have about nine,” he said. “Thirty-one of those 40 are not setuid any more or the setuid is at a trivial level.”

      Its this kind of attention to detail, this systematic addressing of even minor security risks, that sets OpenBSD apart.

      However, in spite of all this attention to detail, one thing that OpenBSD really lacks is an easy way to maintain the great security that you get from a fresh install. The OS has no software update tools whatsoever, other than downloading another cut of the code and recompiling the kernel and user programs. This can take 12 hours or more and is extremely disruptive to the system.

      Unfortunately, this system is here to stay for now. “We dont have the manpower to take care of that. Were going to keep doing things the way we are now,” said de Raadt, who emphasized the importance of refreshing the whole system every six months or so, something thats tricky to do even with patching tools. “We may start making stable snapshots. We would put it out two months after the release and continue for six months. … I think anyone that considers the stable branch to have all the fixes after six months are crazy.”

      OpenBSD isnt a do-it-all Unix like Linux or Solaris, but it is a great tool for those edge-of-the-network spots where things have to be right the first time. Bootable OpenBSD 3.2 CDs can be ordered at www.openbsd.org for $40.

      Whats been your experience with OpenBSD? Let me know at [email protected].

      Timothy Dyck
      Timothy Dyck
      Timothy Dyck is a Senior Analyst with eWEEK Labs. He has been testing and reviewing application server, database and middleware products and technologies for eWEEK since 1996. Prior to joining eWEEK, he worked at the LAN and WAN network operations center for a large telecommunications firm, in operating systems and development tools technical marketing for a large software company and in the IT department at a government agency. He has an honors bachelors degree of mathematics in computer science from the University of Waterloo in Waterloo, Ontario, Canada, and a masters of arts degree in journalism from the University of Western Ontario in London, Ontario, Canada.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.