import from branch_1_1:
[freeradius.git] / man / man1 / radeapclient.1
1 .TH RADEAPCLIENT 1 "08 September 2003" "" "FreeRADIUS Daemon"
2 .SH NAME
3 radeapclient - send EAP packets to a RADIUS server, calculate responses
4 .SH SYNOPSIS
5 .B radeapclient
6 .RB [ \-d
7 .IR raddb_directory ]
8 .RB [ \-f
9 .IR file ]
10 .RB [ \-i
11 .IR source_ip ]
12 .RB [ \-xy ]
13 \fIserver {acct|auth} secret\fP
14 .SH DESCRIPTION
15 \fBradeapclient\fP is a radius client program. It can send arbitrary radius
16 packets to a radius server, then shows the reply. Radeapclient differs from
17 radclient in that if there is an EAP-MD5 challenge, then it will be responded
18 to. 
19 .PP
20 \fBradeapclient\fP is otherwise identical to \fBradclient\fP.
21 .PP
22 The \fIEAP-Identity\fP attribute, if present is used to construct an
23 EAP Identity message.
24 .PP
25 .PP
26 The \fIEAP-MD5-Password\fP attribute, if present is used to respond to an
27 MD5 challenge. 
28 .PP
29 No other EAP types are currently supported.
30
31 .SH EXAMPLE
32
33 A sample session that queries the remote server with an EAP-MD5
34 challenge.
35 .RS
36 .sp
37 .nf
38 .ne 3
39 ( echo 'User-Name = "bob"';
40   echo 'EAP-MD5-Password = "hello"';
41   echo 'NAS-IP-Address = marajade.sandelman.ottawa.on.c';
42   echo 'EAP-Code = Response';
43   echo 'EAP-Id = 210';
44   echo 'EAP-Type-Identity = "bob";
45   echo 'Message-Authenticator = 0x00';
46   echo 'NAS-Port = 0' ) >req.txt
47   
48 radeapclient -x localhost auth testing123 <req.txt
49 .fi
50 .sp
51 .RE
52
53 .SH SEE ALSO
54 radclient(1)
55 .SH AUTHOR
56 Michael Richardson, <mcr@sandelman.ottawa.on.ca>