Skip to the content ForoHackers
Log inJoin

BSD: start here

BSD
#3369 · · Quote · Report

BSD is a lineage of Unix-like operating systems that began at the University of California, Berkeley, and lives on as FreeBSD, OpenBSD and NetBSD. Each project develops the kernel, libraries and base tools together as one system. That coherence, and a permissive licence, make BSD a popular base for servers, firewalls and embedded products.

Key concepts

  • One base system: kernel, C library and core utilities come from one source tree and release together.
  • Ports and packages: third-party software is kept apart from the base, built from ports or installed as binary packages.
  • Jails: lightweight isolation that confines processes to their own view of the system.
  • Packet filtering: built-in firewalls such as pf are a well-known strength of the family.
  • Different goals: one project favours performance and features, another security and correctness, another portability.

Vocabulary

  • Base system: what the project ships itself, as opposed to software added later.
  • Permissive licence: a licence that lets code be reused, even in closed products, with few conditions.
  • Userland: the programs outside the kernel.
  • rc: the simple script-based way BSD systems start services.

What to study, in order

  1. Install one BSD in a virtual machine and compare its layout with a Linux one.
  2. Read the project's handbook or manual pages front to back.
  3. Add software from packages, then build one program from ports.
  4. Put a service in a jail and watch what it can and cannot see.
  5. Write a small firewall ruleset and test it between two virtual machines.

Related tags

#linux #kernels #sysadmin #licensing #virtualization

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply