The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
#include <freeradius-devel/util/conf.h>
#include <freeradius-devel/util/syserror.h>
#include <freeradius-devel/util/atexit.h>
#include <freeradius-devel/util/pair_legacy.h>
#include <freeradius-devel/util/time.h>
#include <freeradius-devel/util/event.h>
#include <freeradius-devel/server/packet.h>
#include <freeradius-devel/radius/list.h>
#include <freeradius-devel/radius/radius.h>
#include <freeradius-devel/util/chap.h>
#include <freeradius-devel/radius/client.h>
#include <ctype.h>
#include <assert.h>
#include "smbdes.h"
#include "mschap.h"
#include "radclient.h"
Go to the source code of this file.
Macros | |
#define | openssl3_free() |
#define | openssl3_init() |
#define | pair_update_request(_attr, _da) |
Typedefs | |
typedef struct request_s | request_t |
Functions | |
static int | _loop_status (UNUSED fr_time_t now, fr_time_delta_t wake, UNUSED void *ctx) |
static int | _rc_request_free (rc_request_t *request) |
static bool | already_hex (fr_pair_t *vp) |
static void | cleanup (fr_bio_packet_t *client, rc_request_t *request) |
static void | client_bio_connected (fr_bio_packet_t *client) |
static NEVER_RETURNS void | client_bio_failed (fr_bio_packet_t *bio) |
static int | client_bio_write_pause (fr_bio_packet_t *bio) |
static int | client_bio_write_resume (fr_bio_packet_t *bio) |
static NEVER_RETURNS void | client_error (UNUSED fr_event_list_t *el, UNUSED int fd, UNUSED int flags, int fd_errno, void *uctx) |
static void | client_packet_release (fr_bio_packet_t *client, fr_packet_t *packet) |
static void | client_packet_retry_log (UNUSED fr_bio_packet_t *client, fr_packet_t *packet) |
static void | client_read (fr_event_list_t *el, int fd, UNUSED int flags, void *uctx) |
static void | client_write (fr_event_list_t *el, int fd, UNUSED int flags, void *uctx) |
static int | coa_init (rc_request_t *parent, FILE *coa_reply, char const *reply_filename, bool *coa_reply_done, FILE *coa_filter, char const *filter_filename, bool *coa_filter_done) |
static int | getport (char const *name) |
int | main (int argc, char **argv) |
static int | mschapv1_encode (fr_packet_t *packet, fr_pair_list_t *list, char const *password) |
static fr_radius_packet_code_t | radclient_get_code (uint16_t port) |
static void | radclient_get_port (fr_radius_packet_code_t type, uint16_t *port) |
static int | radclient_init (TALLOC_CTX *ctx, rc_file_pair_t *files) |
static int | radclient_sane (rc_request_t *request) |
static int8_t | request_cmp (void const *one, void const *two) |
static int | send_one_packet (fr_bio_packet_t *client, rc_request_t *request) |
static NEVER_RETURNS void | usage (void) |
#define openssl3_free | ( | ) |
Definition at line 253 of file radclient-ng.c.
#define openssl3_init | ( | ) |
Definition at line 252 of file radclient-ng.c.
#define pair_update_request | ( | _attr, | |
_da | |||
) |
Definition at line 60 of file radclient-ng.c.
Definition at line 53 of file radclient-ng.c.
|
static |
Definition at line 256 of file radclient-ng.c.
|
static |
Definition at line 192 of file radclient-ng.c.
|
static |
|
static |
Definition at line 1290 of file radclient-ng.c.
|
static |
|
static |
Definition at line 1078 of file radclient-ng.c.
|
static |
Definition at line 1089 of file radclient-ng.c.
|
static |
Definition at line 1115 of file radclient-ng.c.
|
static |
|
static |
Definition at line 960 of file radclient-ng.c.
|
static |
Definition at line 1131 of file radclient-ng.c.
|
static |
Definition at line 1243 of file radclient-ng.c.
|
static |
Definition at line 395 of file radclient-ng.c.
|
static |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 1308 of file radclient-ng.c.
|
static |
Definition at line 267 of file radclient-ng.c.
|
static |
Definition at line 349 of file radclient-ng.c.
|
static |
Definition at line 316 of file radclient-ng.c.
|
static |
Definition at line 486 of file radclient-ng.c.
|
static |
|
static |
Definition at line 918 of file radclient-ng.c.
|
static |
Definition at line 984 of file radclient-ng.c.
|
static |
|
static |
Definition at line 126 of file radclient-ng.c.
|
static |
Definition at line 125 of file radclient-ng.c.
|
static |
Definition at line 116 of file radclient-ng.c.
|
static |
Definition at line 134 of file radclient-ng.c.
|
static |
Definition at line 72 of file radclient-ng.c.
|
static |
Definition at line 118 of file radclient-ng.c.
|
static |
Definition at line 119 of file radclient-ng.c.
|
static |
Definition at line 120 of file radclient-ng.c.
|
static |
Definition at line 127 of file radclient-ng.c.
|
static |
Definition at line 131 of file radclient-ng.c.
|
static |
Definition at line 132 of file radclient-ng.c.
|
static |
Definition at line 122 of file radclient-ng.c.
|
static |
Definition at line 123 of file radclient-ng.c.
|
static |
Definition at line 128 of file radclient-ng.c.
|
static |
Definition at line 129 of file radclient-ng.c.
|
static |
Definition at line 107 of file radclient-ng.c.
|
static |
Definition at line 88 of file radclient-ng.c.
|
static |
Definition at line 86 of file radclient-ng.c.
|
static |
Definition at line 90 of file radclient-ng.c.
|
static |
Definition at line 96 of file radclient-ng.c.
|
static |
Definition at line 97 of file radclient-ng.c.
|
static |
Definition at line 100 of file radclient-ng.c.
|
static |
Definition at line 104 of file radclient-ng.c.
|
static |
Definition at line 105 of file radclient-ng.c.
|
static |
Definition at line 94 of file radclient-ng.c.
|
static |
Definition at line 70 of file radclient-ng.c.
|
static |
Definition at line 84 of file radclient-ng.c.
|
static |
Definition at line 80 of file radclient-ng.c.
|
static |
Definition at line 92 of file radclient-ng.c.
|
static |
Definition at line 76 of file radclient-ng.c.
|
static |
Definition at line 81 of file radclient-ng.c.
|
static |
Definition at line 1067 of file radclient-ng.c.
|
static |
Definition at line 82 of file radclient-ng.c.
|
static |
Definition at line 78 of file radclient-ng.c.
fr_dict_autoload_t radclient_dict |
Definition at line 110 of file radclient-ng.c.
fr_dict_attr_autoload_t radclient_dict_attr |
Definition at line 137 of file radclient-ng.c.
|
static |
Definition at line 102 of file radclient-ng.c.
|
static |
Definition at line 99 of file radclient-ng.c.
|
static |
Definition at line 77 of file radclient-ng.c.
|
static |
Definition at line 1072 of file radclient-ng.c.
|
static |
Definition at line 69 of file radclient-ng.c.
|
static |
Definition at line 74 of file radclient-ng.c.