Saltar al contenido ForoHackers

BSD: start here

BSD
#863 · Ophuscado · · Denunciar

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

Inicia sesión o únete para responder.