Enterprise Licenses Only#
The Radius plugin lets you validate authentication against a Radius server. This plugin is only enabled for Enterprise users. You can set the authentication type to use, the host information, and port information for the authentication process.
The RADIUS protocol itself and related terms are well documented (external link), outside the purpose of this wiki.
With the RADIUS plugin enabled the CrushFTP Server acts as the Network Access Server(NAS) in a RADIUS infrastructure, with HTTPS, SFTP, FTP, etc. endpoints on the front, passing authentication through to a RADIUS server backend by means of the plugin.
In the upper part of the config panel the Connection Parameters are set:
- Authenticator Type
- dropdown selector to choose the RADIUS authentication type (PAP, CHAP, etc.)
- Server Item
- dropdown list selector allows binding the plugin to specific server items (FTP, SFTP, etc)
- Server Host and Port
- the RADIUS server IP and Authentication port (IANA default 1812)
- NAS IP
- sets the NAS-IP-Address RADIUS attribute. If left empty, the local private address of the server is used.
- NAS Port
- sets the NAS-Port RADIUS attribute\
- Retries
- sets the number of retries in case of failing to connect to the specified RADIUS server.
- Timeout (s)
- sets the connection timeout for the connection to the RADIUS server.
- Shared Secret
- the RADIUS shared secret. The term is usually same for all RADIUS implementations.
IMPORTANT: The NAS-Port-Type attribute is hard coded to "Ethernet".
#
The mid section of the plugin panel allows setting the user directory (home directory) access options. Some form of directory access must be configured, otherwise the plugin will deny access even if the credentials validate successfully.
- Username to use as template (except directory access)
- the plugin-wide inheritance template user name. Usually "default". Various user customizations can be inherited from. In the chain of user inheritance, it has lowest prevalence.
- Radius only used for Authentication (User manager then defines user's access.)
- per user template mode or local home directory mode. When the checkbox is set, will need to create for each RADIUS user a matching user name un User Manager (local per user template account). VFS directory access arious user customizations can be inherited from.In the chain of inheritance, the local template has highest prevalence.
- When the checkbox is un-set, the various home directory settings are revealed. The plugin will grant individual home directories automatically at login time.
- Home folder location
- the common root directory path for all automatic RADIUS user directories.
- Directory Permissions
- set of virtual permission flags.
- Use local folder if HomeDirectory not found?
- long standing GUI bug, ignored
- Append username to path?
- toggles the use of the user name as the user directory name. When off, all users will access the common root path under Home folder location
- Create folder with username
- toggles creation of the per user home directory automatically. When off, it needs to be created manually or the plugin denies login to all users who don't have a home directory already.
- Create additional subfolders in home directory
- allows creation of a set of subdirectories, with various permissions, under each user's own working(home) directory.
- Advanced
- can set up PGP file cryptography and CrushSync here.
The end section allows mapping of RADIUS user groups as Roles, based on the Filter-Id attribute value returned by the RADIUS server for each user object.
The management buttons allow to add, remove and move around role filters.
Roles have two components, the role name added in the Enter Role field and an optional Role Template account name. The role name string is matched exactly against the Filter-Id attribute value. If at least one role is specified, users with no/empty Filter-Id will not be able to log in.
The role template account is a local user in User Manager, from which various customizations, like per-group (per-role) common working directory is inherited. In the chain of inheritance, it has middle prevalence, higher than the global plugin template user ( set as Username to use as template) but lower than per-user local templates ( when using Radius only used for Authentication ).
Unlike with other integration plugins, multiple role membership does not cumulate inheritance. For such a user account, the last role in the list will have highest prevalence.
Debugging:#
At Debug level 2 and the Debug checkbox enabled on the plugin panel, we log all RADIUS chat in CrushFTP.log.Add new attachment
Only authorized users are allowed to upload new attachments.
List of attachments
Kind | Attachment Name | Size | Version | Date Modified | Author | Change note |
---|---|---|---|---|---|---|
jar |
bcprov-ext-jdk15on-1.65.jar | 4,530.4 kB | 1 | 22-Apr-2024 17:39 | Ben Spink | |
jpg |
rad1.jpg | 108.6 kB | 3 | 10-Oct-2024 18:09 | Ada Csaba | |
jpg |
rad11.jpg | 108.6 kB | 1 | 10-Oct-2024 18:12 | Ada Csaba | |
jpg |
rad2.jpg | 154.7 kB | 1 | 10-Oct-2024 14:31 | Ada Csaba | |
jpg |
rad22.jpg | 190.6 kB | 1 | 10-Oct-2024 18:13 | Ada Csaba | |
jpg |
rad23.jpg | 142.7 kB | 1 | 10-Oct-2024 18:18 | Ada Csaba | |
jpg |
rad24.jpg | 154.0 kB | 1 | 10-Oct-2024 18:36 | Ada Csaba | |
jpg |
rad31.jpg | 50.7 kB | 1 | 10-Oct-2024 19:01 | Ada Csaba | |
jpg |
rad32.jpg | 72.6 kB | 1 | 10-Oct-2024 19:01 | Ada Csaba | |
jpg |
rad4.jpg | 403.8 kB | 1 | 10-Oct-2024 19:19 | Ada Csaba | |
png |
radius.png | 42.9 kB | 1 | 05-Dec-2023 05:32 | Ben Spink |
«
This particular version was published on 10-Oct-2024 19:18 by Ada Csaba.
G’day (anonymous guest)
Log in
JSPWiki