Jump to content

FreeBSD: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
See also: Get rid of unnecessary piping. (BTW, that page doesn't list FreeBSD as a "security-focused operating system".)
JeffV (talk | contribs)
Clarified Solaris Zones name
Line 166: Line 166:
===Virtualization===
===Virtualization===
{{main|bhyve}}
{{main|bhyve}}
[[bhyve]], a new virtualization solution was introduced in FreeBSD 10.0. bhyve allows a user to run a number of guest operating systems (FreeBSD, [[OpenBSD]] and [[Linux]]) simultaneously. Other operating systems such as [[Microsoft Windows]] and [[Illumos]] are planned. bhyve was written by Neel Nato and Peter Grehan and was announced in the 2011 BSDCan conference for the first time. The main difference between bhyve and [[FreeBSD jail]]s is that jails are an [[operating system-level virtualization]] and therefore limited to only FreeBSD guests; but bhyve is a type 2 [[hypervisor]] and is not limited to only FreeBSD guests.<ref name="fosdem-bhyve" /><ref name="phoronix-bhyve" /><ref name="eurobsdcon-bhyve" /> For comparison, bhyve is a similar technology to [[Kernel-based Virtual Machine|KVM]] whereas jails are closer to [[LXC|LXC containers]] or [[Solaris Containers|Zones]].
[[bhyve]], a new virtualization solution was introduced in FreeBSD 10.0. bhyve allows a user to run a number of guest operating systems (FreeBSD, [[OpenBSD]] and [[Linux]]) simultaneously. Other operating systems such as [[Microsoft Windows]] and [[Illumos]] are planned. bhyve was written by Neel Nato and Peter Grehan and was announced in the 2011 BSDCan conference for the first time. The main difference between bhyve and [[FreeBSD jail]]s is that jails are an [[operating system-level virtualization]] and therefore limited to only FreeBSD guests; but bhyve is a type 2 [[hypervisor]] and is not limited to only FreeBSD guests.<ref name="fosdem-bhyve" /><ref name="phoronix-bhyve" /><ref name="eurobsdcon-bhyve" /> For comparison, bhyve is a similar technology to [[Kernel-based Virtual Machine|KVM]] whereas jails are closer to [[LXC|LXC containers]] or [[Solaris Containers|Solaris Zones]].


===Compatibility layers with other operating systems===
===Compatibility layers with other operating systems===

Revision as of 20:57, 3 June 2015

FreeBSD
FreeBSD 10 bootloader with ASCII art logo
DeveloperThe FreeBSD Project
OS familyUnix-like (BSD)
Working stateActive
Source modelOpen source
Initial release1.0 (November 1, 1993; 31 years ago (1993-11-01))
Latest release14.1 (4 June 2024; 5 months ago (2024-06-04)) [±][1]
13.4 (17 September 2024; 54 days ago (2024-09-17)) [±][2]
Repository
Marketing targetDesktop, Workstation, Server, Embedded systems
PlatformsIA-32, x86-64, SPARC64, IA-64, PowerPC, ARM, MIPS
Kernel typeMonolithic with dynamically loadable modules
UserlandBSD
Default
user interface
Command-line interface
LicenseFreeBSD License, FreeBSD Documentation License
Official websitefreebsd.org

FreeBSD is a free Unix-like operating system descended from Research Unix via the Berkeley Software Distribution (BSD). Although for legal reasons FreeBSD cannot use the Unix trademark, it is a direct descendant of BSD, which was historically also called "BSD Unix" or "Berkeley Unix". The first version of FreeBSD was released in 1993, and today FreeBSD is the most widely used open-source BSD distribution, accounting for more than three-quarters of all installed systems running open-source BSD derivatives.[3]

FreeBSD has similarities with Linux, with two major differences in scope and licensing: FreeBSD maintains a complete operating system, i.e. the project delivers kernel, device drivers, userland utilities and documentation, as opposed to Linux delivering a kernel and drivers only and relying on third-parties for system software;[4] and FreeBSD source code is generally released under a permissive BSD license as opposed to the copyleft GPL.

The FreeBSD project includes a security team overseeing all software shipped in the base distribution. A wide range of additional third-party applications may be installed via two package managers, "pkgng" and the FreeBSD Ports, or by directly compiling source code. Due to its permissive licensing terms, much of FreeBSD's code base has become an integral part of other operating systems such as Juniper JUNOS and Apple's OS X.

History

Background

FreeBSD's roots go back to the University of California, Berkeley. The university acquired a UNIX source license from AT&T. Students of the university started to modify and improve the AT&T Unix and called this modified version Berkeley Unix or BSD, implementing features such as TCP/IP, virtual memory and the Unix File System. The BSD project was founded in 1976 by Bill Joy. But since BSD contained code from AT&T Unix, all recipients had to get a license from AT&T first in order to use BSD.[5]

In June 1989, "Networking Release 1" or simply Net-1 – the first public version of BSD – was released. After releasing Net-1, Keith Bostic, a developer of BSD, suggested replacing all AT&T code with freely-redistributable code under the original BSD license. Work on replacing AT&T code began and, after 18 months, much of the AT&T code was replaced. However, six files containing AT&T code remained in the kernel. The BSD developers decided to release the "Networking Release 2" without those six files. Net-2 was released in 1991.[5]

Birth of FreeBSD

In 1992, several months after the release of Net-2, William Jolitz and Lynne Jolitz, wrote replacements for those six missing files and ported BSD to the Intel 80386-based microprocessors and called their new operating system 386BSD. They released 386BSD via an anonymous FTP server.[5] The development flow of 386BSD was slow and after a period of neglect, a group of 386BSD users decided to branch out on their own and create FreeBSD so that they could keep the operating system up to date. The first version of FreeBSD was released on November 1993.[6][5]

In the early days of the project's inception, a company named Walnut Creek CDROM, upon the suggestion of the two FreeBSD developers, agreed to release the operating system on CD-ROM. In addition to that, the company employed Jordan Hubbard and David Greenman, ran FreeBSD on its servers, sponsored FreeBSD conferences and published FreeBSD-related books, including The Complete FreeBSD by Greg Lehey. By 1997, FreeBSD was Walnut Creek's "most successful product". The company itself later renamed to The FreeBSD Mall and later iXSystems.[7][8][9]

Today, FreeBSD is used by many IT companies such as IBM, Nokia, Juniper Networks, and NetApp to build their product.[10][11] Certain parts of Apple's Mac OS X operating system are based on FreeBSD.[12] The PlayStation 3 operating system also borrows certain components from FreeBSD,[13] while the PlayStation 4 operating system is derived from FreeBSD 9.[14] Netflix,[15] WhatsApp,[16] and FlightAware[17] are also examples of big, successful and heavily network-oriented companies which are running FreeBSD.

Lawsuit

386BSD and FreeBSD were both derived from 1992's BSD release.[10] In January 1992, BSDi started to release BSD/386, later called BSD/OS, an operating system similar to FreeBSD and based on 1992's BSD release. AT&T filed a lawsuit against BSDi and alleged distribution of AT&T source code in violation of license agreements. The lawsuit was settled out of court and the exact terms were not all disclosed. The only one that became public was that BSDi would migrate their source base to the newer 4.4BSD-Lite sources. Although not involved in the litigation, it was suggested to FreeBSD that they should also move to 4.4BSD-Lite.[18] FreeBSD 2.0 which was released on November 1994, was the first version of FreeBSD without any code from AT&T.[19]

Uses

As a general purpose operating system, FreeBSD could be used in various scenarios:[20]

Servers

FreeBSD contains a significant collection of server-related software in the base system and the ports collection, it is possible to configure and use FreeBSD as a mail server, web server, Firewall, FTP server, DNS server and a router, among other applications.

Desktop

Although FreeBSD does not install the X Window System by default, it is available in the FreeBSD ports collection. A number of Desktop environments such as GNOME, KDE and Xfce, and lightweight window managers such as Openbox, Fluxbox and dwm are also available to FreeBSD.

Embedded systems

In addition to widely used x86 and x86-64 platforms, FreeBSD supports a number of less-used hardware platforms such as ARM, PowerPC and MIPS to a lesser degree.

Features

FreeBSD 9.1 startup with console login prompt

Networking

FreeBSD's TCP/IP stack is based on the 4.2BSD implementation of TCP/IP which greatly contributed to the widespread adoption of these protocols.[21] FreeBSD also supports IPv6,[22] SCTP, IPSec, and wireless networking (Wi-Fi).[23] The IPv6 and IPSec stacks were taken from the KAME project.[24] Also, FreeBSD supports IPX and AppleTalk protocols, but they are considered old and it is planned to drop support of them in the upcoming FreeBSD 11.0.[25]

As of FreeBSD 5.4, support for the Common Address Redundancy Protocol (CARP) was imported from the OpenBSD project. CARP allows multiple nodes to share a set of IP addresses. So if one of the nodes goes down, other nodes still can serve the requests.[26]

Storage

FreeBSD has several unique features related to storage. Soft updates can protect the consistency of the UFS filesystem (widely used on the BSDs) in the event of a system crash.[27] Filesystem snapshots allow an image of a UFS filesystem at an instant in time to be efficiently created.[28] Snapshots allow reliable backup of a live filesystem. GEOM is a modular framework that provides RAID (levels 0, 1, 3 currently), full disk encryption, journaling, concatenation, caching, and access to network-backed storage. GEOM allows building of complex storage solutions combining ("chaining") these mechanisms.[29] FreeBSD provides two frameworks for data encryption: GBDE and Geli. Both GBDE and Geli operate at the disk level. GBDE was written by Poul-Henning Kamp and is distributed under the two-clause BSD license. Geli is an alternative to GBDE that was written by Pawel Jakub Dawidek and first appeared in FreeBSD 6.0.[30][31]

From 7.0 onward, FreeBSD supports the ZFS filesystem. ZFS was previously an open source filesystem that was first developed by Sun Microsystems, but when Oracle acquired Sun, ZFS became a proprietary product. However, the FreeBSD project is still developing and improving its ZFS implemention via the OpenZFS project.[32]

Security

FreeBSD provides several security-related features including access control lists (ACLs),[33] security event auditing, extended file system attributes, mandatory access controls (MAC)[34] and fine-grained capabilities.[35] These security enhancements were developed by the TrustedBSD project. The project was founded by Robert Watson with the goal of implementing concepts from the Common Criteria for Information Technology Security Evaluation and the Orange Book. This project is ongoing and many of its extensions have been integrated into FreeBSD.[36] The project is supported by a variety of organizations, including the DARPA, NSA, Network Associates Laboratories, Safeport Network Services, the University of Pennsylvania, Yahoo!, McAfee Research, SPARTA, Apple Computer, nCircle Network Security, Google, the University of Cambridge Computer Laboratory, and others.[37]

The project has also ported the NSA's FLASK/TE implementation from SELinux to FreeBSD. Other work includes the development of OpenBSM, an open source implementation of Sun's Basic Security Module (BSM) API and audit log file format, which supports an extensive security audit system. This was shipped as part of FreeBSD 6.2. Other infrastructure work in FreeBSD performed as part of the TrustedBSD Project has included GEOM and OpenPAM.[35]

While most components of the TrustedBSD project are eventually folded into the main sources for FreeBSD, many features, once fully matured, find their way into other operating systems. For example, OpenPAM has been adopted by NetBSD.[38] Moreover, the TrustedBSD MAC Framework has been adopted by Apple for OS X.[39]

FreeBSD ships with three different firewall packages: IPFW, pf and IPFilter. IPFW is FreeBSD's native firewall. pf was taken from OpenBSD and IPFilter was ported to FreeBSD by Darren Reed.[40]

Taken from OpenBSD, the OpenSSH program was included in default install. OpenSSH is a Free implementation of the SSH protocol and is a replacement for telnet. Unlike telnet, OpenSSH encrypts all information (including username and password).[41]

Portability

FreeBSD has been ported to a variety of processor architectures. The FreeBSD project organizes architectures into tiers that characterize the level of support provided. Tier 1 architectures are mature and fully supported. Tier 2 architectures are undergoing major development. Tier 3 architectures are experimental or are no longer under active development and Tier 4 architectures have no support at all.

As of March 2014, FreeBSD has been ported to the following architectures:[42]

Architecture Support Level[43] Notes
x86 (IA-32) Tier 1 referred to as "i386"
x86-64 Tier 1 referred to as "amd64"
NEC PC-9801 Tier 2 referred to as "pc98"
Sun SPARC Tier 2 Only 64-bit (V9) architecture
Itanium (IA-64) Tier 2
PowerPC and PowerPC/64 Tier 2
ARM Tier 2
MIPS Tier 3
IBM ESA/390 Tier 3 referred to as "S/390"

The ARM and MIPS support is mostly aimed at embedded systems, however FreeBSD/ARM runs on a number of single-board computers, including the BeagleBone Black, Raspberry Pi[44][45] and Wandboard.[46]

Third-party software

File:FreeBSD Applications.png
FreeBSD running GIMP, Firefox, and GNOME installed from the ports collection.

FreeBSD has a repository of over 24,000 applications that are developed by third parties outside of the project itself. (Examples include windowing systems, Internet browsers, email programs, office suites, and so forth.) In general, the project itself does not develop this software, only the framework to allow these programs to be installed (termed the Ports Collection). Applications may be installed either from source, if its licensing terms allow such redistribution (these are called ports), or as compiled binaries if allowed (these are called packages). The Ports Collection supports the latest release on the -CURRENT and -STABLE branches. Older releases are not supported and may or may not work correctly with an up-to-date ports collection.[47]

Ports and Packages

FreeBSD 9.1-RC3 running KDE SC, the Dolphin file manager, the Konsole terminal emulator, and the Mozilla Firefox Web browser from the FreeBSD Ports Collection

Each application in the Ports Collection is installed from source. Ports are instructions for compiling software on FreeBSD, and packages are pre-compiled ports.[48] Each port's Makefile automatically fetches the application source code, either from a local disk, CD-ROM or via ftp, unpacks it on the system, applies the patches, and compiles.[4][49] This method can be very time consuming as compiling large packages can take hours, but the user is able to install a customized program. For most ports, precompiled binary packages also exist. This method is very quick as the whole compilation process is avoided, but the user is not able to install a program with customized compile time options.[48]

In FreeBSD 10.0, a new package manager, called pkg, was introduced. pkg is a replacement for the previously used package tools.[50] It has functionality similar to apt and yum. It includes installation and upgrades from both source (ports) and with pre-built binary packages.

PackageKit also supports the FreeBSD Ports collection as an accepted repository.

Jails

First introduced in 4.x, a FreeBSD jail is a security mechanism and an implementation of operating system-level virtualization that enables the user to run multiple instances of a guest operating system (FreeBSD) on top of a FreeBSD host. Jails are enhanced version of traditional chroot mechanism. A process that runs in a jail, is unable to access the resources outside of that jail. Every jail has its own hostname and IP address. It is possible to run multiple jails at the same time. The kernel is shared among all of them, therefore only software supported by the FreeBSD kernel can be run inside a jail.[51]

Virtualization

bhyve, a new virtualization solution was introduced in FreeBSD 10.0. bhyve allows a user to run a number of guest operating systems (FreeBSD, OpenBSD and Linux) simultaneously. Other operating systems such as Microsoft Windows and Illumos are planned. bhyve was written by Neel Nato and Peter Grehan and was announced in the 2011 BSDCan conference for the first time. The main difference between bhyve and FreeBSD jails is that jails are an operating system-level virtualization and therefore limited to only FreeBSD guests; but bhyve is a type 2 hypervisor and is not limited to only FreeBSD guests.[52][53][54] For comparison, bhyve is a similar technology to KVM whereas jails are closer to LXC containers or Solaris Zones.

Compatibility layers with other operating systems

Most software that runs on Linux can run on FreeBSD using an optional built-in compatibility layer. Hence, most Linux binaries can be run on FreeBSD, including some proprietary applications distributed only in binary form. This compatibility layer is not an emulation; Linux's system call interface is implemented in the FreeBSD's kernel and hence, Linux executable images and shared libraries are treated the same as FreeBSD's native executable images and shared libraries.[55] Additionally, FreeBSD provides compatibility layers for several other Unix-like operating systems, in addition to Linux, such as BSD/OS and SVR4,[55] however, it is more common for users to compile those programs directly on FreeBSD.[56] No noticeable performance penalty over native FreeBSD programs has been noted when running Linux binaries, and, in some cases, these may even perform more smoothly than on Linux.[57][58] However, the layer is not altogether seamless, and some Linux binaries are unusable or only partially usable on FreeBSD. There is support for system calls up to version 2.6.18, available since FreeBSD 7.0. However, there is currently no support for running 64-bit Linux binaries.[58] As of September 2014, there are plans for supporting 64-bit Linux binaries.[59]

FreeBSD has implemented a number of Microsoft Windows native NDIS kernel interfaces to allow FreeBSD to run Windows-only network drivers.[60][61]

Kernel

FreeBSD's kernel provides support for some essential tasks such as managing processes, communication, booting and filesystems. FreeBSD has a monolithic kernel,[62] with modular design. Different parts of the kernel such as drivers, are designed as modules. The user can load and unload these modules at any time.[63] ULE is the default scheduler in FreeBSD since version 7.1, it supports SMP and SMT.[64] The FreeBSD kernel has also a scalable event notification interface, named kqueue. It has been ported to other BSD-derivatives such as OpenBSD, NetBSD.[65] Kernel threading was introduced in FreeBSD 5.0, using an M:N threading model. This model works well in theory,[66][67] but it is hard to implement and few operating systems support it. Although FreeBSD's implementation of this model worked, it did not perform well, so from version 7.0 onward, FreeBSD started using a 1:1 threading model, called libthr.[67]

Documentation and support

FreeBSD's documentation consists of its handbooks, manual pages, mailing list archives, FAQs and a variety of articles, mainly maintained by The FreeBSD Documentation Project. FreeBSD's documentation is translated into several languages.[68] All official documentation is released under the FreeBSD Documentation License, "a permissive non-copyleft free documentation license that is compatible with the GNU FDL".[69] FreeBSD's documentation is described as "high-quality".[70][71]

The FreeBSD project maintains a variety of mailing lists.[72] Among the most popular mailing lists are FreeBSD-questions (general questions) and FreeBSD-hackers (a place for asking more technical questions).[73]

Installers

From version 2.0 to 9.0, FreeBSD used the sysinstall program as its main installer. It was written in C by Jordan Hubbard. It uses a text user interface, and is divided into a number of menus and screens that can be used to configure and control the installation process. It can also be used to install Ports and Packages as an alternative to the command-line interface.[74]

The sysinstall utility is now considered deprecated in favor of bsdinstall, a new installer which was introduced in FreeBSD 9.0. bsdinstall is "a lightweight replacement for sysinstall" that was written in sh. According to OSNews, "It has lost some features while gaining others, but it is a much more flexible design, and will ultimately be significant improvement".[51][75]

Development

FreeBSD is developed by a volunteer team located around the world. The developers use the Internet for all communication and many have not met each other in person. In addition to local user groups sponsored and attended by users, an annual conference, called BSDcon, is held by USENIX. BSDcon is not FreeBSD-specific so it deals with the technical aspects of all BSD operating systems, including OpenBSD and NetBSD.[76] In addition to BSDcon, three other annual conferences, EuroBSDCon, AsiaBSDCon and BSDCan take place in Europe, Japan and Canada respectively.[77][78][79]

Governance structure

The FreeBSD Project is run by around 500 committers, or developers who have commit access to the master source code repositories and can develop, debug or enhance any part of the system. Most of the developers are volunteers and few developers are paid by some companies.[10] There are several kinds of committers, including source committers (base operating system), doc committers (documentation and web site authors) and ports (third party application porting and infrastructure). Every two years the FreeBSD committers select a 9-member FreeBSD Core Team who are responsible for overall project direction, setting and enforcing project rules and approving new commiters, or the granting of SVN commit access. A number of responsibilities are officially assigned to other development teams by the FreeBSD Core Team, for example, responsibility for managing the ports collection is delegated to the Ports Management Team.[80]

In addition to developers, FreeBSD has thousands of "contributors". Contributors are also volunteers outside of the FreeBSD project who submit patches for consideration by committers, as they don't have direct access to FreeBSD's source code repository. Committers then evaluate contributors submissions and decide what to accept and what to reject. A contributor who submits high-quality patches is often asked to become a committer.[80]

Branches

FreeBSD developers maintain at least two branches of simultaneous development. The -CURRENT branch always represents the "bleeding edge" of FreeBSD development. A -STABLE branch of FreeBSD is created for each major version number, from which -RELEASE are cut about once every 4–6 months. If a feature is sufficiently stable and mature it will likely be backported (MFC or Merge from CURRENT in FreeBSD developer slang) to the -STABLE branch.[81][4]

Foundation

"Last week, I donated one million dollars to the FreeBSD Foundation, which supports the open source operating system that has helped millions of programmers pursue their passions and bring their ideas to life. I’m actually one of those people. I started using FreeBSD in the late 90s, when I didn’t have much money and was living in government housing. In a way, FreeBSD helped lift me out of poverty – one of the main reasons I got a job at Yahoo! is because they were using FreeBSD, and it was my operating system of choice. Years later, when Brian and I set out to build WhatsApp, we used FreeBSD to keep our servers running. We still do. I’m announcing this donation to shine a light on the good work being done by the FreeBSD Foundation, with the hope that others will also help move this project forward. We’ll all benefit if FreeBSD can continue to give people the same opportunity it gave me – if it can lift more immigrant kids out of poverty, and help more startups build something successful, and even transformative."

Jan Koum

FreeBSD development is supported in part by the FreeBSD Foundation. The foundation is a non-profit organization that accepts donations to fund FreeBSD development. Such funding has been used to sponsor developers for specific activities, purchase hardware and network infrastructure, provide travel grants to developer summits, and provide legal support to the FreeBSD project.[82]

In November 2014, the FreeBSD Foundation received 1 million USD donation from Jan Koum, Co-Founder and CEO of WhatsApp, - the largest single donation to the Foundation since its inception. Jan Koum himself is a FreeBSD user since the late 1990s and WhatsApp uses FreeBSD on its servers.[83]

License

FreeBSD is released under a variety of open source licenses. The kernel code and most newly created code is released under the two-clause BSD license which allows everyone to use and redistribute FreeBSD as they wish. This license was approved by Free Software Foundation[84] and Open Source Initiative[85] as a Free Software and Open Source license respectively. Free Software Foundation described this license as "a lax, permissive non-copyleft free software license, compatible with the GNU GPL". There are parts released under three- and four-clause BSD licenses, as well as Beerware license. Some device drivers include a binary blob,[86] such as the Atheros HAL of FreeBSD versions before 7.2.[87] Some of the code contributed by other projects is licensed under GPL, LGPL, CDDL[88] and ISC. All the code licensed under GPL and CDDL is clearly separated from the code under liberal licenses, to make it easy for users such as embedded device manufacturers to use only permissive free software licenses. ClangBSD aims to replace some GPL dependencies in the FreeBSD base system by replacing the GNU compiler collection with the BSD-licenced LLVM/Clang compiler. ClangBSD became self-hosting on 16 April 2010.[89]

FreeBSD's mascot is the generic BSD Daemon, also known as Beastie

For many years FreeBSD's logo was the generic BSD daemon, also called Beastie, a distorted pronunciation of BSD. First appearing in 1976 on Unix T-shirts purchased by Bell Labs, the more popular versions of the BSD daemon were drawn by animation director John Lasseter beginning in 1984.[90][91] Several FreeBSD-specific versions were later drawn by Tatsumi Hosokawa.[92] However, Beastie was not unique to FreeBSD. In lithographic terms, the Lasseter graphic is not line art and often requires a screened, four color photo offset printing process for faithful reproduction on physical surfaces such as paper. Also, the BSD daemon was thought to be too graphically detailed for smooth size scaling and aesthetically over dependent upon multiple color gradations, making it hard to reliably reproduce as a simple, standardized logo in only two or three colors, much less in monochrome. Because of these worries, a competition was held and a new logo designed by Anton K. Gural, still echoing the BSD daemon, was released on 8 October 2005.[93][94][95] However, it was announced by Robert Watson that, the FreeBSD project is "seeking a new logo, but not a new mascot" and that the FreeBSD project will continue to use Beastie as its mascot.[93]

The name "FreeBSD" was coined by David Greenman on 19 June 1993, other suggested names were "BSDFree86" and "Free86BSD".[96] FreeBSD's slogan, "The Power to serve", is a registered trademark of The FreeBSD Foundation.[97]

Derivatives

PC-BSD

There are a number of software distributions based on FreeBSD including:

All these distributions have no or only minor changes when compared with the original FreeBSD base system. The main difference to the original FreeBSD is that they come with pre-installed and pre-configured software for specific use cases. This can be compared with Linux distributions, which are all binary compatible because they use the same kernel and also use the same basic tools, compilers and libraries, while coming with different applications, configurations and branding.

Besides these distributions, there are some independent operating systems based on FreeBSD. DragonFly BSD is a fork from FreeBSD 4.8 aiming for a different multiprocessor synchronization strategy than the one chosen for FreeBSD 5 and development of some microkernel features.[98] It does not aim to stay compatible with FreeBSD and has huge differences in the kernel and basic userland. MidnightBSD is a fork of FreeBSD 6.1 borrowing heavily from NeXTSTEP, particularly in the user interface department.

Darwin, the core of Apple OS X, includes a virtual file system and network stack derived from the FreeBSD virtual file system and network stack, and components of its userspace are also FreeBSD-derived.[12][99]

Some subscription services that are directly based on FreeBSD are:

Embedded devices and embedded device operating systems based on FreeBSD include:

Unauthorized access to FreeBSD's servers

On November 2012, The FreeBSD Security Team announced that hackers gained unauthorized access on two of the project's servers. These servers were turned off immediately. More research demonstrated that the first unauthorized access by hackers occurred on 19 September. Apparently hackers gained access to these servers by stealing SSH keys from FreeBSD's developers, not by exploiting a bug in the operating system itself. These two hacked servers were part of the infrastructure used to build third-party software packages. The FreeBSD Security Team checked the integrity of the binary packages and announced that no unauthorized change was made to the binary packages, but they stated that they can't guarantee the integrity of packages that were downloaded between 19 September and 11 November.[105][106][107]

Version history


Legend: Old version, not maintained Old version, still maintained Current stable version Latest preview version Future release
Version Release date Supported until Significant changes
Old version, no longer maintained: 1.0 November 1993
  • The first official release.
  • The Ports Collection
Old version, no longer maintained: 1.1 May 1994
Old version, no longer maintained: 2.0 22 November 1994
  • replace code base with BSD-Lite 4.4 (to satisfy terms of the USL v. BSDi lawsuit settlement)
  • new installer and new boot manager
  • loadable filesystems support for more filesystems (MS-DOS, unionfs, kernfs)
  • imported loadable kernel modules from NetBSD
Old version, no longer maintained: 2.2 March 1997
Old version, no longer maintained: 2.2.8 29 November 1998
Old version, no longer maintained: 3.0 16 October 1998
Old version, no longer maintained: 3.1 15 February 1999
Old version, no longer maintained: 3.4 20 December 1999
Old version, no longer maintained: 4.0 14 March 2000
  • IPv6 support and IPsec with KAME (applications were also updated to support IPv6)
  • OpenSSH integrated into the base system
  • emulator for SVR4 binary files
Old version, no longer maintained: 4.1 27 July 2000
Old version, no longer maintained: 4.8 3 April 2003 31 March 2004
Old version, no longer maintained: 4.10 27 May 2004 May 2006
Old version, no longer maintained: 5.0 14 January 2003 30 June 2003
Old version, no longer maintained: 5.1 9 June 2003 February 2004
  • experimental support for AMD64
  • experimental 1:1 and M:N thread libraries for multithreaded processing
  • experimental ULE scheduler
Old version, no longer maintained: 5.3 6 November 2004 31 October 2006
  • ALTQ
  • addition of new debugging framework KDB
  • import pf from OpenBSD
  • binary compatibility interface for native execution of NDIS drivers
  • replace XFree86 with X.Org 6.7
  • cryptography enabled by default in base
Old version, no longer maintained: 5.4 9 May 2005 31 October 2006
Old version, no longer maintained: 6.2 15 January 2007 31 May 2008
  • support for Xbox architecture
  • OpenBSM
  • freebsd-update (binary updates for security fixes and errata patches)
Old version, no longer maintained: 7.0 27 February 2008 30 April 2009
Old version, no longer maintained: 7.1 4 January 2009 28 February 2011
Old version, no longer maintained: 8.1 23 July 2010 31 July 2012
  • High Availability Storage
Old version, no longer maintained: 8.3 9 April 2012 30 April 2014
Old version, yet still maintained: 8.4 9 June 2013 30 June 2015
Old version, no longer maintained: 9.0 12 January 2012 31 March 2013
  • substitute GCC with Clang and LLVM for base system
  • USB 3.0 support
  • UFS SoftUpdates+Journal
  • update ZFS to version 28
  • replaced Sysinstall with bsdinstall
Old version, no longer maintained: 9.1 30 December 2012 31 December 2014
Old version, no longer maintained: 9.2 30 September 2013 31 December 2014
Old version, yet still maintained: 9.3 16 July 2014 31 December 2016
Old version, no longer maintained: 10.0 20 January 2014 28 February 2015
  • Virtualization improvements (bhyve, virtio)
  • use Clang and LLVM by default
  • capsicum (sandbox) enabled by default in the kernel
  • pkgng
  • BIND replaced with LDNS and Unbound in base system
  • add support for Raspberry Pi
  • ZFS on Root File system
Current stable version: 10.1 14 November 2014 31 December 2016[108]
  • Virtualization improvements (FreeBSD/i386 guests in bhyve, boot from zfs)
  • UEFI boot for amd64
  • Support for UDP Lite protocol (RFC 3828)
  • ZFS performance improvements
  • SMP support for armv6
Version Release date Supported until Significant changes

See also

References

  1. ^ "FreeBSD 14.1-RELEASE Announcement". FreeBSD.org. 4 June 2024. Retrieved 5 June 2024.
  2. ^ "FreeBSD 13.4-RELEASE Announcement". FreeBSD.org. 17 September 2024. Retrieved 17 September 2024.
  3. ^ "BSD Usage Survey Report" (PDF). The BSD Certification Group. 31 October 2005. Retrieved 5 December 2010. {{cite journal}}: Cite journal requires |journal= (help)
  4. ^ a b c Chisnall, David (20 January 2006). "BSD: The Other Free UNIX Family". informit.com. Retrieved 13 December 2013.
  5. ^ a b c d "Open Sources: Voices from the Open Source Revolution". O'Reilly Media. Archived from the original on 15 December 2013. Retrieved 10 September 2014.
  6. ^ Lucas 2007, pp. 4–5.
  7. ^ "A Brief History of FreeBSD". FreeBSD.org. Retrieved 31 January 2009.
  8. ^ Bruce, Bob. "Company History". FreeBSD Mall. Retrieved 6 August 2014.
  9. ^ Johnson, Dwight. "Report from Comdex--Walnut Creek CDROM, FreeBSD and Slackware". Linux Today. Retrieved 6 August 2014.
  10. ^ a b c Lucas 2007, p. 5.
  11. ^ Pohlmann, Frank (19 July 2005). "Why FreeBSD". IBM DeveloperWorks. Archived from the original on 11 September 2013.
  12. ^ a b "Kernel Programming Guide: BSD Overview". Apple Inc.
  13. ^ a b "Licenses of software used on PlayStation®3 console". Retrieved 11 August 2010.
  14. ^ a b Michael Larabel (23 June 2013). "Sony's PlayStation 4 Is Running Modified FreeBSD 9". Phoronix. Retrieved 17 August 2013.
  15. ^ https://lists.freebsd.org/pipermail/freebsd-stable/2012-June/068129.html
  16. ^ https://www.freebsdfoundation.org/press/2013Jul-newsletter#whatsapp
  17. ^ http://flightaware.com/about/code/freebsd.rvt
  18. ^ Lehey 2003, p. 8.
  19. ^ "Release Information". The FreeBSD Project. Retrieved 11 September 2014.
  20. ^ "Welcome to FreeBSD!". The FreeBSD Project. Retrieved 9 September 2014.
  21. ^ McKusick, Marshall (2005). "Section 2.13". The Design and Implementation of the FreeBSD Operating System. ISBN 0-201-70245-2.
  22. ^ Farrokhi, Babak. "Network Configuration—IPv6 with FreeBSD". Packt. Archived from the original on 26 December 2013. Retrieved 26 December 2013.
  23. ^ Sam Leffler. "FreeBSD Wireless Netwokring Support". BSDCan. Archived from the original (PDF) on 26 December 2013. Retrieved 26 December 2013.
  24. ^ "Overview of the KAME Project". KAME project. Retrieved 11 August 2014.
  25. ^ Smirnoff, Gleb (28 October 2013). "[heads up] axing AppleTalk and IPX/SPX". freebsd-stable (Mailing list). Retrieved 12 August 2014. {{cite mailing list}}: Unknown parameter |mailinglist= ignored (|mailing-list= suggested) (help)
  26. ^ "CARP(4)". The FreeBSD documentation Project. Retrieved 25 October 2013.
  27. ^ McKusick, Marshall; V. Neville-Neil, George (2005). "8.6. Soft Updates". The Design and Implementation of the FreeBSD Operating System. ISBN 0-201-70245-2.
  28. ^ Lucas 2007, p. 220.
  29. ^ Lucas 2007, 18. DISK TRICKS WITH GEOM.
  30. ^ "geli(8)". The FreeBSD Project. Retrieved 12 August 2014.
  31. ^ Kamp, Poul-Henning. "GBDE—GEOM Based Disk Encryption". USENIX. Archived from the original (PDF) on 15 December 2013. Retrieved 12 August 2014.
  32. ^ Sean Michael Kerner (25 February 2011). "FreeBSD 8.2 Expands ZFS Support -- Without Oracle". Datamation. Archived from the original on 15 December 2013. Retrieved 15 December 2013.
  33. ^ "FreeBSD Access Control Lists". ONLamp. Retrieved 15 December 2013.
  34. ^ "The TrustedBSD MAC Framework: Extensible Kernel Access Control for FreeBSD 5.0". USENIX. Retrieved 12 September 2014.
  35. ^ a b "TrustedBSD: Adding Trusted Operating System Features to FreeBSD" (PDF). Retrieved 12 September 2014.
  36. ^ "TrustedBSD: Adding Trusted Operating System Features to FreeBSD". USENIX. Retrieved 12 September 2014.
  37. ^ "TrustedBSD Project". TrustedBSD Project. Retrieved 9 August 2014.
  38. ^ "OPENPAM(3)". The NetBSD Project. Retrieved 12 September 2014.
  39. ^ "Authentication, Authorization, and Permissions Guide". developer.apple.com. Apple Inc. Retrieved 13 September 2014.
  40. ^ Lucas 2007, p. 273.
  41. ^ Lucas 2007, p. 440.
  42. ^ "FreeBSD/Supported Platforms". FreeBSD.org. Retrieved 26 March 2014.
  43. ^ "Committer's Guide". The FreeBSD Documentation Project.
  44. ^ "FreeBSD – Raspberry Pi"., see also Raspbian#Software build
  45. ^ "Raspberry Pi Software Is Rapidly Maturing". OSNews.
  46. ^ "FreeBSD/arm". Retrieved 30 November 2014.
  47. ^ "Chapter 4 Installing Applications: Packages and Ports". FreeBSD.org. Retrieved 30 January 2009.
  48. ^ a b Lucas, p. 317.
  49. ^ Asami, Satoshi. "The FreeBSD Ports Collection" (PDF). USENIX. Retrieved 13 December 2013.
  50. ^ Larabel, Michael. "FreeBSD Still Working On Next-Gen Package Manager". Phoronix. Retrieved 9 August 2014.
  51. ^ a b "The BSD family, pt. 1: FreeBSD 9.1". OSNews. Retrieved 9 August 2014.
  52. ^ Schenkeveld, Paul. "The BSD Hypervisor" (PDF). FOSDEM. Retrieved 9 August 2014.
  53. ^ Larabel, Michael. "The State Of FreeBSD's Bhyve Virtualization". Phoronix. Retrieved 9 August 2014.
  54. ^ Grehan, Peter. "Introduction to bhyve" (PDF). Retrieved 9 August 2014.
  55. ^ a b McEwen, Gordon. "Setting up Linux compatibility on FreeBSD 6". Archived from the original on 14 November 2006. Retrieved 15 December 2013.
  56. ^ Lehey 2003, p. 162.
  57. ^ Tiemann, Brian (2006). "How FreeBSD Compares to Other Operating Systems". FreeBSD 6 Unleashed. ISBN 0-672-32875-5.
  58. ^ a b Michael, Larabel. "FreeBSD: A Faster Platform For Linux Gaming Than Linux?". Phoronix. Retrieved 5 August 2014.
  59. ^ "FreeBSD10 - FreeBSD Wiki". Retrieved 3 August 2013.
  60. ^ Bill Paul (24 January 2004). "Project Evil: The Evil Continues". freebsd-current (Mailing list). {{cite mailing list}}: Unknown parameter |mailinglist= ignored (|mailing-list= suggested) (help)
  61. ^ Chisnall, David (15 July 2005). "Project Evil: Windows network drivers on FreeBSD". Ping Wales. Archived from the original on 4 November 2005. Retrieved 23 October 2013.
  62. ^ McKusick & Neville-Neil 2004, Chapter 2. Design Overview of FreeBSD.
  63. ^ Michael Lucas 2007, p. 118.
  64. ^ Roberson, Jeff. "ULE: A Modern Scheduler for FreeBSD" (PDF). USENIX. Retrieved 5 August 2014.
  65. ^ Lemon, Jonathan. "KQueue–A Generic and Scalable Event Notification Facility" (PDF). USENIX. Retrieved 5 August 2014.
  66. ^ "Thread models semantics: Solaris and Linux M:N to 1:1 thread model" (PDF). Department of computer Science and Engineering, Air University Multan Pakistan. Retrieved 16 September 2014.
  67. ^ a b Lucas 2007, p. 359.
  68. ^ Lucas 2007, p. 25.
  69. ^ "Various Licenses and Comments about Them". GNU Project. Retrieved 12 August 2014.
  70. ^ Lehey 2003, p. 16.
  71. ^ "BSD: The Other Free UNIX Family". InformIT. Retrieved 12 August 2014.
  72. ^ "lists.freebsd.org Mailing Lists". Retrieved 11 September 2014.
  73. ^ Lehey 2003, p. 17.
  74. ^ "SYSINSTALL(8)". FreeBSD Man Pages. Retrieved 11 September 2014.
  75. ^ "2012: a BSD year in retrospective". OSNews. Retrieved 9 August 2014.
  76. ^ Lehey 2003, p. 20.
  77. ^ "EuroBSDcon 2014". EuroBSDcon. Retrieved 9 August 2014.
  78. ^ "AsiaBSDCon 2014". AsiaBSDCon. Retrieved 9 August 2014.
  79. ^ "BSDCan - The BSD Conference". BSDCan. Retrieved 19 February 2015.
  80. ^ a b Lucas 2007, p. 6.
  81. ^ Lucas 2007, pp. 372–375.
  82. ^ "About the FreeBSD Foundation". The FreeBSD Foundation. Retrieved 6 September 2009.
  83. ^ "Updated! - FreeBSD Foundation Announces Generous Donation and Fundraising Milestone". FreeBSD Foundation. Retrieved 20 November 2014.
  84. ^ "Various Licenses and Comments about Them". The GNU Project. Retrieved 9 August 2014.
  85. ^ "The BSD 2-Clause License". Open Source Initiative. Retrieved 9 August 2014.
  86. ^ Watson, Robert (22 October 2006). "binary blobs in freebsd". freebsd-questions (Mailing list). Retrieved 20 October 2013. {{cite mailing list}}: Unknown parameter |mailinglist= ignored (|mailing-list= suggested) (help)
  87. ^ "Contents of /stable/9/cddl/contrib/opensolaris/OPENSOLARIS.LICENSE". The FreeBSD Project. Retrieved 28 August 2014.
  88. ^ "ClangBSD Is Selfhosting, We Need Testers Now". osnews.com. 17 April 2010. Retrieved 23 April 2013.
  89. ^ "Usenix". mckusick.com. Retrieved 15 December 2007.
  90. ^ "Saving UNIX from /dev/null". minnie.tuhs.org. Retrieved 15 December 2007.
  91. ^ "The BSD Daemon". FreeBSD.org. Retrieved 15 December 2007.
  92. ^ a b "FreeBSD logo design competition". OSNews. Retrieved 1 November 2013.
  93. ^ Kuriyama, Jun (22 February 2005). "FreeBSD logo design competition". FreeBSD-Announce (Mailing list). Retrieved 1 November 2013. {{cite mailing list}}: Unknown parameter |mailinglist= ignored (|mailing-list= suggested) (help)
  94. ^ "Final result for the FreeBSD logo design competition". FreeBSD.org. 2005. Archived from the original on 16 October 2012. Retrieved 1 March 2007.
  95. ^ Greenman, David. "FreeBSD Archives". The FreeBSD Project. Retrieved 6 August 2014.
  96. ^ "FreeBSD Logo". The FreeBSD Project. Retrieved 6 August 2014.
  97. ^ Dillon, Matthew (16 July 2003), "Announcing DragonFly BSD!", freebsd-current mailing list, retrieved 26 July 2007
  98. ^ "Porting UNIX/Linux Applications to OS X: Overview of OS X". Apple Inc.
  99. ^ a b "1 million is so 2011". WhatsApp Blog. Retrieved 27 August 2014.
  100. ^ Netflix (29 May 2012). "Open Connect Appliance Deployment Guide" (PDF).
  101. ^ Long, Scott (5 June 2012). "Netflix's New Peering Appliance Uses FreeBSD". freebsd-stable (Mailing list). Retrieved 5 June 2012. {{cite mailing list}}: Unknown parameter |mailinglist= ignored (|mailing-list= suggested) (help)
  102. ^ Matthew Humphries (24 June 2013). "PS4 runs modified version of the FreeBSD 9.0 operating system". Retrieved 19 October 2013.
  103. ^ Clark, Jack. "Sony's new PlayStation 4 and open source FreeBSD: The TRUTH". theregister.co.uk. Retrieved 16 November 2013.
  104. ^ "Hackers obtained access to FreeBSD servers". H-Online. Retrieved 9 August 2014.
  105. ^ "Hackers break into two FreeBSD Project servers using stolen SSH keys". Computer World. Retrieved 9 August 2014.
  106. ^ "FreeBSD servers hacked". Techeye. Retrieved 9 August 2014.
  107. ^ "FreeBSD Security Information - End of Life". The FreeBSD Project. Retrieved 5 April 2015.

Notes