The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
TACACS+ module. More...
#include <freeradius-devel/io/listen.h>
#include <freeradius-devel/io/master.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/tacacs/tacacs.h>
#include "proto_tacacs.h"
Go to the source code of this file.
Functions | |
static int | mod_decode (UNUSED void const *instance, request_t *request, uint8_t *const data, size_t data_len) |
Decode the packet. More... | |
static ssize_t | mod_encode (UNUSED void const *instance, request_t *request, uint8_t *buffer, size_t buffer_len) |
static int | mod_instantiate (module_inst_ctx_t const *mctx) |
Instantiate the application. More... | |
static int | mod_load (void) |
static int | mod_open (void *instance, fr_schedule_t *sc, UNUSED CONF_SECTION *conf) |
Open listen sockets/connect to external event source. More... | |
static int | mod_priority_set (void const *instance, uint8_t const *buffer, UNUSED size_t buflen) |
static void | mod_unload (void) |
static int | transport_parse (TALLOC_CTX *ctx, void *out, void *parent, CONF_ITEM *ci, conf_parser_t const *rule) |
static int | type_parse (TALLOC_CTX *ctx, void *out, void *parent, CONF_ITEM *ci, UNUSED conf_parser_t const *rule) |
static int | type_parse (UNUSED TALLOC_CTX *ctx, void *out, void *parent, CONF_ITEM *ci, UNUSED conf_parser_t const *rule) |
Translates the packet-type into a submodule name. More... | |
Variables | |
static fr_dict_attr_t const * | attr_packet_type |
static fr_dict_attr_t const * | attr_tacacs_user_name |
static fr_dict_t const * | dict_tacacs |
static conf_parser_t const | limit_config [] |
static const conf_parser_t | priority_config [] |
fr_app_t | proto_tacacs |
static const conf_parser_t | proto_tacacs_config [] |
fr_dict_autoload_t | proto_tacacs_dict [] |
fr_dict_attr_autoload_t | proto_tacacs_dict_attr [] |
TACACS+ module.
Definition in file proto_tacacs.c.
|
static |
Decode the packet.
Definition at line 151 of file proto_tacacs.c.
|
static |
Instantiate the application.
Instantiate I/O and type submodules.
Definition at line 469 of file proto_tacacs.c.
|
static |
|
static |
Open listen sockets/connect to external event source.
[in] | instance | Ctx data for this application. |
[in] | sc | to add our file descriptor to. |
[in] | conf | Listen section parsed to give us instance. |
Definition at line 448 of file proto_tacacs.c.
|
static |
|
static |
|
static |
|
static |
Translates the packet-type into a submodule name.
If we found a Packet-Type = Authentication-Start CONF_PAIR for example, here's we'd load the proto_tacacs_auth module.
[in] | ctx | to allocate data in (instance of proto_tacacs). |
[out] | out | Where to write a module_instance_t containing the module handle and instance. |
[in] | parent | Base structure address. |
[in] | ci | CONF_PAIR specifying the name of the type module. |
[in] | rule | unused. |
Definition at line 126 of file proto_tacacs.c.
|
static |
Definition at line 85 of file proto_tacacs.c.
|
static |
Definition at line 86 of file proto_tacacs.c.
|
static |
Definition at line 76 of file proto_tacacs.c.
|
static |
Definition at line 39 of file proto_tacacs.c.
|
static |
Definition at line 53 of file proto_tacacs.c.
fr_app_t proto_tacacs |
Definition at line 546 of file proto_tacacs.c.
|
static |
Definition at line 66 of file proto_tacacs.c.
fr_dict_autoload_t proto_tacacs_dict |
Definition at line 79 of file proto_tacacs.c.
fr_dict_attr_autoload_t proto_tacacs_dict_attr |
Definition at line 89 of file proto_tacacs.c.