Debian Codegraph @

doc/antora/modules/tutorials/pages/eap-md5.adoc

raw
1 = Other protocols within RADIUS: EAP-MD5
2
3 *Goal:* To configure the server to use the EAP-MD5 authentication
4 protocol and to send and receive test packets.
5
6 *Time:* 10-15 minutes.
7
8 *File:*
9
10 - `etc/raddb/mods-available/eap`
11
12 *Diagram:*
13
14 image::eap-md5.svg[Fig. EAP-MD5]
15
16 *Programs*: radtest
17
18 For this exercise, your are assumed to have previously worked
19 through and be familiar with the exercise in xref:new_user.adoc[New User] for
20 user "bob".
21
22 While RADIUS is an authentication protocol in its own right, other
23 authentication protocols are also used in the network. One such protocol
24 is the Extensible Authentication Protocol (EAP). It originally was
25 designed to be used in PPP, but has been more widely used in recent
26 deployments.
27
28 EAP is a protocol that is intended to carry other authentication
29 protocols. It does not carry authorization information like RADIUS, so it
30 therefore has a more limited application. One of the most common uses for
31 EAP is for wireless authentication. In this exercise, we will configure
32 and test the EAP-MD5 sub-type of EAP.
33
34 `raddb/mods-available/eap` has a configuration section for the `eap`
35 module. The EAP sub-types are configured inside of that section. By
36 default, the server ships with the EAP-MD5 module enabled, and with the
37 EAP module initiating EAP-MD5 for all RADIUS requests containing EAP.
38
39 You should now read the appropriate section of the `raddb/mods-available/eap`
40 file, to verify that the `eap` module is configured and that the `md5`
41 sub-module of the `eap` module is configured.
42
43 The sample packet `eap-md5.sh` may now be used to test EAP-MD5
44 authentication. The server output should be examined to follow the
45 EAP-MD5 authentication process, and that output should be compared to the
46 schematic diagram
47
48 image::eap-md5.svg[Fig. EAP-MD5]
49
50 == Questions
51
52 1. In which of the following sections is the `eap` module used?
53 authorize, authenticate, and accounting.
54 2. Which of those sections do not reference the `eap`
55 module? Why?
56 3. What is the difference (if any) between the server output for this
57 test and the diagram below? Why is there a difference?
58 image::eap_md5.svg[Fig. EAP-MD5]
59 4. Why do we test EAP-MD5 before testing other EAP types?
60 5. How is the EAP protocol carried within a RADIUS packet?
61 6. Why is the Message-Authenticator attribute required when using EAP?
62 7. What security issues exist with EAP-MD5?
63 8. Why is EAP-MD5 disabled in newer operating systems?
64
65 // Copyright (C) 2021 Network RADIUS SAS. Licenced under CC-by-NC 4.0.
66 // This documentation was developed by Network RADIUS SAS.