]> git.saurik.com Git - apple/network_cmds.git/blame - ypserv.tproj/securenet.5
network_cmds-176.2.1.tar.gz
[apple/network_cmds.git] / ypserv.tproj / securenet.5
CommitLineData
b7080c8e
A
1.\" $OpenBSD: securenet.5,v 1.4 1996/06/26 21:26:37 maja Exp $
2.\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\" notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\" notice, this list of conditions and the following disclaimer in the
12.\" documentation and/or other materials provided with the distribution.
13.\" 3. All advertising materials mentioning features or use of this software
14.\" must display the following acknowledgement:
15.\" This product includes software developed by Mats O Jansson
16.\" 4. The name of the author may not be used to endorse or promote products
17.\" derived from this software without specific prior written permission.
18.\"
19.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
20.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
23.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.Dd June 27, 1994
32.Dt SECURENET 5
33.Os
34.Sh NAME
35.Nm securenet
36.Nd
37.Xr ypserv 8
38configuration file for secure networks
39.Sh DESCRIPTION
40The
41.Nm securenet
42file controls which hosts can connect to the
43.Nm YP
44server.
45.Pp
46The format is rather simple. Each row consists of two items. The first item
47is the network mask. The second item is the network.
48.Sh EXAMPLES
49.Pp
50A configuration file might appear as follows:
51.Bd -literal
52#
53# Only my local net is secure.
54#
55255.255.255.0 139.58.253.0
56.Ed
57.Sh FILES
58.Bl -tag -width /var/yp/securenet -compact
59.It Pa /var/yp/securenet
60A
61.Xr ypserv 8
62configuration file.
63.El
64.Sh SEE ALSO
65.Xr yp 8 ,
66.Xr ypserv 8 ,
67.Xr ypserv.acl 5
68.Sh HISTORY
69The
70.Nm securenet
71was added to
72.Nm NIS
73by Sun Microsystems, Inc. as a bugfix for weak security.
74