auth_mod.h File Reference

Digest Authentication Module

More...

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

Include dependency graph for auth_mod.h:

This graph shows which files directly or indirectly include this file:

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


Detailed Description

Digest Authentication Module

Definition in file auth_mod.h.


Define Documentation

#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)

nonce buffer length

Definition at line 43 of file auth_mod.h.

Referenced by mod_init().


Variable Documentation

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().

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

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().

struct sl_binds slb

SL binds

Definition at line 88 of file auth_mod.c.


Generated on Thu May 17 12:00:35 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6