| 1 |
.TH RPLAY.HOSTS 5 12/21/97 |
| 2 |
.SH NAME |
| 3 |
rplay.hosts \- rplay host authentication database |
| 4 |
.SH SYNOPSIS |
| 5 |
.B /usr/local/etc/rplay.hosts |
| 6 |
.SH DESCRIPTION |
| 7 |
The |
| 8 |
.I rplay.hosts |
| 9 |
file contains a list of hosts and access permissions which |
| 10 |
.I rplayd |
| 11 |
uses to validate incoming connections. Each line is of |
| 12 |
the form: |
| 13 |
.IP |
| 14 |
hostname[:permission] |
| 15 |
.PP |
| 16 |
where |
| 17 |
.TP 15 |
| 18 |
.B hostname |
| 19 |
is the name of a remote host or a host's IP address. |
| 20 |
Wildcards can be used within IP addresses to match |
| 21 |
multiple hosts. The wildcard character is "*". |
| 22 |
.TP 15 |
| 23 |
.B permission |
| 24 |
is an optional field containing any combination of the following |
| 25 |
characters: |
| 26 |
.RS |
| 27 |
.TP 3 |
| 28 |
.B r |
| 29 |
the host can read sounds. |
| 30 |
.TP 3 |
| 31 |
.B w |
| 32 |
the host can write sounds. |
| 33 |
.TP 3 |
| 34 |
.B x |
| 35 |
the host can play, stop, pause, and continue sounds. This |
| 36 |
is normally called execute permission. |
| •37 |
.TP 3 |
| 38 |
.B m |
| 39 |
the host can monitor the audio stream written by rplayd to the audio device. |
| 40 |
.RE |
| 41 |
.TP |
| 42 |
"rx" permissions are used when no permissions are specified. |
| 43 |
.SH EXAMPLE |
| 44 |
.LP |
| 45 |
.ft B |
| 46 |
.nf |
| 47 |
# |
| 48 |
# All hosts have read access: |
| 49 |
# |
| 50 |
*:r |
| 51 |
|
| 52 |
# |
| 53 |
# Trusted hosts: |
| 54 |
# |
| 55 |
nice-guy.sdsu.edu:rwx |
| 56 |
friend.sdsu.edu:rwx |
| 57 |
amigo.sdsu.edu:rwx |
| 58 |
130.191.224.224:rwx |
| 59 |
|
| 60 |
# |
| 61 |
# Hosts which can read and execute: |
| 62 |
# |
| 63 |
foo.bar.com:rx |
| 64 |
130.190.*:rx |
| 65 |
146.244.234.*:rx |
| 66 |
using.default.perms.edu |
| •67 |
|
| 68 |
# |
| 69 |
# Hosts which can monitor the audio stream |
| 70 |
# |
| 71 |
nsa.sdsu.edu:m |
| 72 |
|
| 73 |
.fi |
| 74 |
.ft R |
| 75 |
.LP |
| 76 |
.SH FILES |
| 77 |
.B /usr/local/etc/rplay.hosts |
| 78 |
.SH "SEE ALSO" |
| 79 |
.BR rplayd (1) |
| 80 |
.SH BUGS |
| 81 |
The permissions for an "*" entry apply to |
| 82 |
.B all |
| 83 |
matching hosts. |
| 84 |
The order of this file does not matter. |
| 85 |
Specific hosts can have access disabled with entries like: |
| 86 |
.LP |
| 87 |
.nf |
| 88 |
bad.guy.edu: |
| 89 |
.fi |
| 90 |
.LP |
| 91 |
however, any matching "*" entries will still apply. |