xref: /openbsd-src/share/man/man5/ethers.5 (revision 58a48454be8200c823ef09fb358acf021130a0a0)
1*58a48454Sderaadt.\"	$OpenBSD: ethers.5,v 1.20 2019/08/30 19:34:04 deraadt Exp $
2df930be7Sderaadt.\"	$NetBSD: ethers.5,v 1.2 1994/11/30 19:31:16 jtc Exp $
3df930be7Sderaadt.\"
4df930be7Sderaadt.\"     Written by Roland McGrath <roland@frob.com>.  Public domain.
5df930be7Sderaadt.\"
6*58a48454Sderaadt.Dd $Mdocdate: August 30 2019 $
7df930be7Sderaadt.Dt ETHERS 5
8fc8533a3Saaron.Os
9df930be7Sderaadt.Sh NAME
10df930be7Sderaadt.Nm ethers
11df930be7Sderaadt.Nd Ethernet host name database
12df930be7Sderaadt.Sh DESCRIPTION
13df930be7SderaadtThe
14fbd19cc4Saaron.Nm
15df930be7Sderaadtfile maps Ethernet addresses to host names.
16431305c8SaaronLines consist of an address and a host name, separated by any number
17431305c8Saaronof blanks and/or tab characters.
18ae8c025fSaaronA
19431305c8Saaron.Ql #
20ae8c025fSaaronindicates the beginning of a comment; characters up to the end of
21df930be7Sderaadtthe line are not interpreted by routines which search the file.
22df930be7Sderaadt.Pp
23ae8c025fSaaronEthernet addresses are expressed as six hexadecimal numbers separated by
241f53fde1Saaroncolons.
251f53fde1SaaronThe functions described in
26*58a48454Sderaadt.Xr ether_aton 3
27df930be7Sderaadtcan read and produce this format.
28df930be7Sderaadt.Sh FILES
29df930be7Sderaadt.Bl -tag -width /etc/ethers -compact
30df930be7Sderaadt.It Pa /etc/ethers
31df930be7Sderaadt.El
32df930be7Sderaadt.Sh SEE ALSO
33*58a48454Sderaadt.Xr ether_aton 3 ,
340f31a5bbSderaadt.Xr diskless 8
353b1d4ce7Sjmc.Sh HISTORY
363b1d4ce7SjmcThe
373b1d4ce7Sjmc.Nm
383b1d4ce7Sjmcfile format was adopted from SunOS and appeared in
393b1d4ce7Sjmc.Nx
403b1d4ce7Sjmc0.9b.
41df930be7Sderaadt.Sh BUGS
42df930be7SderaadtA name server should be used instead of a static file.
4382fc667aSjmc.Pp
4482fc667aSjmcLines in
4582fc667aSjmc.Pa /etc/ethers
4682fc667aSjmcare limited to
4782fc667aSjmc.Dv BUFSIZ
4882fc667aSjmccharacters
4982fc667aSjmc.Pq currently 1024 .
5082fc667aSjmcLonger lines will be ignored.
51