blob: fad85bd70b4398e3fd7dc00c51c8ac152f757aa0 [file] [log] [blame]
Brian Waters13d96012017-12-08 16:53:31 -06001DiamEAP (http://diameap.yagami.freediameter.net/)
2
3Copyright (c) 2009-2010 Souheil Ben Ayed, Teraoka Laboratory of Keio University, and the WIDE Project.
4
5Author: Souheil Ben Ayed <souheil@tera.ics.keio.ac.jp>
6
7
8
9----- SUMMARY -----
10
11DiamEAP is an implementation of the Diameter Extensible Authentication Protocol (EAP) Application (RFC 4072).
12The Diameter protocol is a AAA protocol to securely carry Authentication, Authorization and Accounting informations between the AAA client and the AAA server.
13Diameter EAP Application is a Diameter application that supports authentication using Extensible Authentication Protocol (RFC 3748).
14
15DiamEAP is designed to be extensible so that any new EAP method can be implemented separately as a shared library called 'EAP method plug-in'.
16Currently, DiamEAP comprises two EAP Methods plug-ins:
17 - EAP MD5 plug-in : implementation of EAP-MD5 authentication method.
18 - EAP TLS plug-in : implementation of EAP-TLS authentication method .
19
20Other EAP methods are scheduled to be added in future releases.
21
22DiamEAP is an extension for freeDiameter. Visit http://www.freediameter.net/ for more information on freeDiameter project.
23
24For more information on DiamEAP project, visit http://diameap.yagami.freediameter.net/
25
26
27
28----- REQUIREMENTS -----
29
30Some packages are required to compile DiamEAP from source.
31
32If you will install DiamEAP on Debian or Ubuntu system install the following packages: cmake flex bison libgnutls-dev libgcrypt-dev libmysqlclient-dev
33
34 $ sudo apt-get install cmake flex bison libgnutls-dev libgcrypt-dev libmysqlclient-dev
35
36
37
38----- INSTALLATION -----
39
401- Add DiamEAP extension to freeDiameter.
41 See freeDiameter documentation (http://www.freediameter.net/)
42
432-Create a new MySQL database and add tables using the sql script 'diameap.sql'.
44
453- Edit the extensions/CMakeList.txt file to add DiamEAP to freeDiameter.
46
47Add the following lines:
48
49 OPTION(BUILD_APP_DIAMEAP "Build DiamEAP? (Diameter EAP Application - RFC 4072)" OFF)
50 IF (BUILD_APP_DIAMEAP)
51 ADD_SUBDIRECTORY(app_diameap)
52 ENDIF (BUILD_APP_DIAMEAP)
53
54Note: you can enable DiamEAP to be built with freeDiameter by setting the BUILD_APP_DIAMEAP to ON. If you enable it here you don't need to enable it when building freeDiameter.
55
564- Enable DiamEAP by enabling BUILD_APP_DIAMEAP option with CMake:
57
58cmake -DBUILD_APP_DIAMEAP:BOOl=ON ../
59
60
61
62----- CONFIGURATION -----
63
64DiamEAP requires a configuration file to start the DiamEAP server.
65It is advised to start by a copy of the sample file, and customize the configuration to fit your needs.
66A sample configuration file 'diameap.conf.sample' can be find in extensions/app_diameap/ or in doc/ folder of freeDiameter.
67The file 'diameap.conf.sample' contains a description of all parameters that can be added to the DiamEAP configuration file.
68
69*Specify connection parameters to DiamEAP MySQL database:
70- username and password to connect to the MySQL Server
71- database server : address to MySQL server.
72- database name : database for DiamEAP.
73
74Example:
75
76DiamEAP_MySQL = "UserName" , "MyPassword" , "localhost" , "drupal_ui";
77
78
79*Add EAP Method plug-ins to be loaded with DiamEAP server. Note that EAP Identity must be add.
80
81Example:
82
83Load_plugin = "EAP MD5":4:0:"extensions/eap_md5.emp":"";
84Load_plugin = "EAP TLS":13:0:"extensions/eap_tls.emp":"doc/eap_tls_plugin.app_diameap.conf";
85
86
87* Enable Authorization with DiamEAP.
88
89You can enable DiamEAP to check authorization of authenticated users. To enable authorization set authorization to 1. ( by default disabled).
90
91
92* Multiple round trips timeout
93
94This parameter indicates the maximum number of seconds provides the user to answer to a Diameter-EAP-Request. (by default set to 30 seconds)
95
96
97* Invalid EAP Packets
98
99This parameter defines the maximum number of invalid EAP packets that can be received before rejecting the connection. (by default set to 5 packets)
100
101
102For more documentation on configuring DiamEAP, visit the documentation page of the project : http://diameap.yagami.freediameter.net/documentation
103
104
105
106----- COPYRIGHT -----
107
108See LICENSE file for legal information on this software.
109
110
111
112----- CONTACT -----
113
114Author: Souheil Ben Ayed (souheil@tera.ics.keio.ac.jp)
115
116
117Current maintainers:
118-Souheil Ben Ayed (Teraoka Laboratory of Keio University)
119 souheil@tera.ics.keio.ac.jp