| 1 |
= Introduction |
| 2 |
|
| 3 |
This is the documentation for FreeRADIUS, version 3. The documentation |
| 4 |
is available under the Creative Commons Non-Commercial license, as given |
| 5 |
in the `LICENSE` file in this directory. |
| 6 |
|
| 7 |
FreeRADIUS is a complex piece of software with many configuration |
| 8 |
options. However, we have taken great care to make the default |
| 9 |
configuration work in most circumstances. The result is that for most |
| 10 |
simple systems, it is easy to install and configure the server. For |
| 11 |
those situations, this documentation will serve to answer basic |
| 12 |
questions about functionality, configuration, etc. |
| 13 |
|
| 14 |
For more complex requirements, FreeRADIUS can be difficult to |
| 15 |
configure. The reason for this difficulty is that the server can do |
| 16 |
almost anything, which means that there are a near-infinite number of |
| 17 |
ways to configure it. The question for an administrator, then, is what |
| 18 |
piece of the configuration to change, and how to change it. |
| 19 |
|
| 20 |
This documentation will answer those questions. The FreeRADIUS team has |
| 21 |
put substantial effort into writing the documentation for this release. |
| 22 |
Everything in the server is fully documented, and there are many |
| 23 |
`Howto` guides available. |
| 24 |
|
| 25 |
include::ROOT:partial$externaldoc.adoc[] |
| 26 |
|
| 27 |
The documentation is split into sections by subject area, oganized by |
| 28 |
desired outcome. At a high level, the subject areas describe: |
| 29 |
|
| 30 |
* xref:installation:index.adoc[Install and Upgrade] Guides. |
| 31 |
* xref:concepts:index.adoc[Concepts] provides an high level explanation for newcomers . |
| 32 |
* The syntax of the xref:unlang:index.adoc[Unlang] Policy Language. |
| 33 |
* The https://github.com/FreeRADIUS/freeradius-server/tree/v3.2.x/raddb[configuration files] located in `/etc/raddb/`, or `/etc/freeradius/`. |
| 34 |
* Various xref:howto:index.adoc[Howto Guides] gives step-by-step instructions on how to complete tasks. |
| 35 |
* xref:developers:index.adoc[Developers] documentation outlines coding standards, raising defects, and using GitHub. |
| 36 |
|
| 37 |
This organization means that for example, the `ldap` module has |
| 38 |
documention located in multiple places. We feel that organizing the |
| 39 |
documentation by desired *goal* is better than the alternatives. |
| 40 |
|
| 41 |
Within each section, the documentation is split into small pages, which |
| 42 |
are generally no more than a few screens worth of information. We feel |
| 43 |
that having multiple small pages with cross-links is more helpful than |
| 44 |
having a smaller number of enormous pages. This division ensures that |
| 45 |
(for example) the `Howto` guides are split into a series of small |
| 46 |
steps, each of which can be performed quickly. |
| 47 |
|
| 48 |
We hope that this extended documentation will address any lingering |
| 49 |
concerns about the quality of the FreeRADIUS documentation. |
| 50 |
|
| 51 |
== Changes From Earlier Versions |
| 52 |
|
| 53 |
Administrators who have version 2 and wish to upgrade to version 3 |
| 54 |
should read the xref:installation:upgrade.adoc[Upgrade to v3] documentation. |
| 55 |
That documentation explains the differences between the two versions, and |
| 56 |
how an existing configuration can be reproduced in the latest |
| 57 |
release. We do *not* recommend using version 2 configuration files |
| 58 |
with version 3. The configuration files are *not* compatible across a |
| 59 |
major version upgrade. |
| 60 |
|
| 61 |
== Getting Started with FreeRADIUS |
| 62 |
|
| 63 |
FreeRADIUS can be installed using the pre-built packages available |
| 64 |
from https://packages.inkbridgenetworks.com/[InkBridge Networks]. That page contains packages for all common OS distributions. New packages are available as soon as a new version has been released. Packages for older releases are also available for historical purposes. |
| 65 |
|
| 66 |
FreeRADIUS can also be installed from the source code. Please see the |
| 67 |
xref:installation:index.adoc[Installation Guide] for instructions. |
| 68 |
|
| 69 |
[WARNING] |
| 70 |
==== |
| 71 |
Many Operating System distributions ship versions of FreeRADIUS |
| 72 |
which are years out of date. Those versions may contain bugs which have |
| 73 |
been fixed in newer releases. We recommend using the |
| 74 |
https://packages.inkbridgenetworks.com/[InkBridge Networks] packages where possible. |
| 75 |
==== |
| 76 |
|
| 77 |
Administrators who are new to FreeRADIUS should read the |
| 78 |
xref:concepts:index.adoc[Concepts] section as it describes the key components behind |
| 79 |
FreeRADIUS. It is vital for newcomers to understand these concepts, as the rest |
| 80 |
of the documentation assumes familiarity with them. |
| 81 |
|
| 82 |
A detailed xref:unlang:index.adoc[Unlang] reference guide is also available. |
| 83 |
This section describes the syntax and functionality of the keywords, |
| 84 |
data types, etc. used in the `unlang` processing language. |
| 85 |
|
| 86 |
All of the https://github.com/FreeRADIUS/freeradius-server/tree/v3.2.x/raddb[configuration files] are available in GitHub. |
| 87 |
|
| 88 |
For specific problem solving, we recommend the xref:howto:index.adoc[Howto] |
| 89 |
guides. These guides give instructions for reaching high-level goals, or |
| 90 |
for configuring and testing individual https://github.com/FreeRADIUS/freeradius-server/tree/v3.2.x/doc/modules[modules]. |
| 91 |
|
| 92 |
There is also xref:developers:index.adoc[Developers] documentation. This section |
| 93 |
documents the APIs for developers. Most people can bypass this section. |
| 94 |
|
| 95 |
== Debugging |
| 96 |
|
| 97 |
If you have ANY problems, concerns, or surprises when running the |
| 98 |
server, the the server should be run in debugging mode as root, from the |
| 99 |
command line: |
| 100 |
|
| 101 |
``` |
| 102 |
# radiusd -X |
| 103 |
``` |
| 104 |
|
| 105 |
It will produce a large number of messages. The answers to many |
| 106 |
questions, and the solution to many problems, can usually be found in |
| 107 |
these messages. When run in a terminal window, error messages will be |
| 108 |
shown in red text, and warning messages will be shown in yellow text. |
| 109 |
|
| 110 |
For other use-cases, please look for `ERROR` or `WARNING` in the |
| 111 |
debug output. In many cases, those messages describe exactly what is |
| 112 |
going wrong, and how to fix it. |
| 113 |
|
| 114 |
For further details, about the debug output see the |
| 115 |
refer to the https://www.freeradius.org/documentation/freeradius-server/3.2.8/radiusd_x.html[debug output] page on the |
| 116 |
http://www.freeradius.org[freeradius org] website. |
| 117 |
|
| 118 |
== Getting Help |
| 119 |
|
| 120 |
We also recommend joining the |
| 121 |
http://lists.freeradius.org/mailman/listinfo/freeradius-users[mailing |
| 122 |
list] in order to ask questions and receive answers. The developers are |
| 123 |
not on Stack Overflow, IRC, or other web sites. While the FreeRADIUS |
| 124 |
source is available on |
| 125 |
https://github.com/FreeRADIUS/freeradius-server/[GitHub, window="_blank"], questions posted there will not be answered. |
| 126 |
|
| 127 |
Before posting to the list, please read the |
| 128 |
https://www.freeradius.org/documentation/freeradius-server/3.2.8/radiusd_x.html[debugging] page. That page explains |
| 129 |
how to run the server in debugging mode; how to understand the debug |
| 130 |
output; and what information to post to the list. |
| 131 |
|
| 132 |
Commercial support for FreeRADIUS is available from |
| 133 |
https://packages.inkbridgenetworks.com/[InkBridge Networks]. |