securenet(5)

securenet5

Ypserv(8) configuration file for secure networks

Overview

The securenet file controls which hosts can connect to the YP server.

The format is rather simple. Each row consists of two items. The first item is the network mask. The second item is the network.

Files

/var/yp/securenet

a ypserv(8) configuration file

Examples

A configuration file might look like the following:

#
# Only my local net is secure.
#
255.255.255.0 139.58.253.0

Releases

61 releases since OpenBSD 2.1; the text changed 7 times.

  1. 2.1–2.4
  2. 2.5
  3. 2.6
  4. 2.7–3.1
  5. 3.2–3.3
  6. 3.4–4.1
  7. 4.2–5.8
  8. 5.9–8.0

History

The securenet file was added to NIS by Sun Microsystems, Inc. as a bugfix for weak security.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.