| 1 |
.\" manual page [] for srp-entry |
| 2 |
.\" SH section heading |
| 3 |
.\" SS subsection heading |
| 4 |
.\" LP paragraph |
| 5 |
.\" IP indented paragraph |
| 6 |
.\" TP hanging label |
| 7 |
.TH SRP-ENTRY 8 |
| 8 |
.SH NAME |
| 9 |
srp\-entry \- Generate a SRP\-SHA1 Server Entry |
| 10 |
.SH SYNOPSIS |
| 11 |
.B srp\-entry |
| 12 |
[ |
| 13 |
.I \-i index |
| 14 |
] [ |
| 15 |
.I clientname |
| 16 |
] |
| 17 |
.SH DESCRIPTION |
| 18 |
.LP |
| 19 |
This utility generates an entry suitable for use in the |
| 20 |
/etc/ppp/srp\-secrets file on a PPP EAP SRP\-SHA1 authenticator |
| 21 |
("server"). This file has the same basic layout as the other pppd(8) |
| 22 |
authentication files, /etc/ppp/pap\-secrets and /etc/ppp/chap\-secrets. |
| 23 |
Thus, the entry generated has at least four main fields separated by |
| 24 |
spaces. The first field is the authenticatee ("client") name. The |
| 25 |
second is the server name. The third is the secret. The fourth is |
| 26 |
the allowed (or assigned) IP address for the client, and defaults to |
| 27 |
"*". Additional fields can contain additional IP addresses or pppd |
| 28 |
options; see pppd(8) for details. |
| 29 |
.LP |
| 30 |
The third field has three subfields, separated by colons. The first |
| 31 |
subfield is the index of the modulus and generator from SRP's |
| 32 |
/etc/tpasswd.conf. The special value 0 is used to represent the |
| 33 |
well-known modulus and generator specified in the EAP SRP\-SHA1 draft. |
| 34 |
The second subfield is the password validator. The third is the |
| 35 |
password salt. These latter two values are encoded in base64 notation. |
| 36 |
.SH OPTIONS |
| 37 |
.TP |
| 38 |
.I \-i <index> |
| 39 |
Specifies the modulus/generator index in /etc/tpasswd.conf. In order |
| 40 |
to use this option, you will need to run the "tconf" utility from the |
| 41 |
SRP package to generate local entries for this file. Note that if |
| 42 |
these values are not known to the client, the client will be forced to |
| 43 |
run time-consuming safety tests on the values used. For this reason, |
| 44 |
using the well-known values is recommended. |
| 45 |
.TP |
| 46 |
.I <clientname> |
| 47 |
Specifies the client name. The password validator is a hashed |
| 48 |
combination of the client's name and password, and both are required. |
| 49 |
If the client name is not supplied on the command line, srp\-entry will |
| 50 |
prompt for the client name first. |
| 51 |
.SH FILES |
| 52 |
.TP |
| 53 |
.B /etc/ppp/srp\-secrets |
| 54 |
Usernames, passwords and IP addresses for SRP authentication. This |
| 55 |
file should be owned by root and not readable or writable by any other |
| 56 |
user. Pppd will log a warning if this is not the case. Note that |
| 57 |
srp\-entry does not write to this file. The user is responsible for |
| 58 |
copying the output of srp\-entry into this file. |
| 59 |
.TP |
| 60 |
.B /etc/tpasswd.conf |
| 61 |
Indexed copies of tested modulus/generator combinations; part of the |
| 62 |
SRP package. |
| 63 |
.SH SEE ALSO |
| 64 |
.TP |
| 65 |
pppd(8) |
| 66 |
.TP |
| 67 |
.B RFC2284 |
| 68 |
Blunk, L., Vollbrecht, J., |
| 69 |
.I PPP Extensible Authentication Protocol (EAP). |
| 70 |
March 1998. |
| 71 |
.TP |
| 72 |
.B draft\-ietf\-pppext\-eap\-srp\-03.txt |
| 73 |
Carlson, J., et al., |
| 74 |
.I EAP SRP\-SHA1 Authentication Protocol. |
| 75 |
July 2001. |
| 76 |
.TP |
| 77 |
.B RFC2945 |
| 78 |
Wu, T., |
| 79 |
.I The SRP Authentication and Key Exchange System |
| 80 |
September 2000. |
| 81 |
.SH AUTHOR |
| 82 |
James Carlson ([email protected]) |