#include "../../str.h"
#include "../../parser/msg_parser.h"
#include "../sl/sl_api.h"
#include "../../lock_ops.h"


Go to the source code of this file.
Defines | |
| #define | MAX_NONCE_INDEX 100000 |
| #define | NBUF_LEN (MAX_NONCE_INDEX>>3) |
Variables | |
| int * | next_index |
| char * | nonce_buf |
| unsigned int | nonce_expire |
| gen_lock_t * | nonce_lock |
| int | nonce_reuse |
| str | realm_prefix |
| str | rpid_prefix |
| str | rpid_suffix |
| int * | sec_monit |
| int * | second |
| str | secret |
| struct sl_binds | slb |
Definition in file auth_mod.h.
| #define MAX_NONCE_INDEX 100000 |
Definition at line 42 of file auth_mod.h.
Referenced by is_nonce_index_valid(), and reserve_nonce_index().
| #define NBUF_LEN (MAX_NONCE_INDEX>>3) |
| int* next_index |
Definition at line 126 of file auth_mod.c.
Referenced by is_nonce_index_valid(), load_gws_from_grp(), and reserve_nonce_index().
| char* nonce_buf |
Definition at line 123 of file auth_mod.c.
| unsigned int nonce_expire |
nonce expire interval
Nonce lifetime - default 30 seconds
Definition at line 95 of file auth_mod.c.
Referenced by build_auth_hf(), mod_init(), and reserve_nonce_index().
| gen_lock_t* nonce_lock |
nonce index
Definition at line 122 of file auth_mod.c.
Referenced by is_nonce_index_valid(), and reserve_nonce_index().
| int nonce_reuse |
control nonce usage checking
Definition at line 129 of file auth_mod.c.
Referenced by build_auth_hf(), calc_nonce(), check_nonce(), and post_auth().
strip off auto-generated realm
Prefix to strip from realm
Definition at line 107 of file auth_mod.c.
Remote-Party-ID prefix
Default Remote-Party-ID prefix
Definition at line 103 of file auth_mod.c.
Referenced by append_rpid_hf().
Remote-Party-ID suffix
Default Remote-Party-IDD suffix
Definition at line 105 of file auth_mod.c.
Referenced by append_rpid_hf().
| int* sec_monit |
Definition at line 124 of file auth_mod.c.
Referenced by is_nonce_index_valid(), and reserve_nonce_index().
| int* second |
Definition at line 125 of file auth_mod.c.
Referenced by is_nonce_index_valid(), parse_first_line(), parse_naptr_regexp(), parse_phostport(), and reserve_nonce_index().
secret phrase used to generate nonce
Definition at line 97 of file auth_mod.c.
Referenced by build_auth_hf(), pre_auth(), and random_secret().
SL binds
Definition at line 88 of file auth_mod.c.
1.5.6