|
Apache HTTPD
|
#include "apr_sha1.h"#include "apr_base64.h"#include "apr_lib.h"#include "apr_time.h"#include "apr_errno.h"#include "apr_global_mutex.h"#include "apr_strings.h"#include "apr_want.h"#include "ap_config.h"#include "httpd.h"#include "http_config.h"#include "http_core.h"#include "http_request.h"#include "http_log.h"#include "http_protocol.h"#include "apr_uri.h"#include "util_md5.h"#include "util_mutex.h"#include "apr_shm.h"#include "apr_rmm.h"#include "ap_provider.h"#include "mod_auth.h"Go to the source code of this file.
Classes | |
| struct | digest_config_struct |
| struct | hash_entry |
| struct | hash_table |
| struct | digest_header_struct |
| union | time_union |
Macros | |
| #define | APR_WANT_STRFUNC |
| #define | DFLT_ALGORITHM "MD5" |
| #define | DFLT_NONCE_LIFE apr_time_from_sec(300) |
| #define | NEXTNONCE_DELTA apr_time_from_sec(30) |
| #define | NONCE_TIME_LEN (((sizeof(apr_time_t)+2)/3)*4) |
| #define | NONCE_HASH_LEN (2*APR_SHA1_DIGESTSIZE) |
| #define | NONCE_LEN (int )(NONCE_TIME_LEN + NONCE_HASH_LEN) |
| #define | SECRET_LEN 20 |
| #define | RETAINED_DATA_ID "mod_auth_digest" |
| #define | DEF_SHMEM_SIZE 1000L /* ~ 12 entries */ |
| #define | DEF_NUM_BUCKETS 15L |
| #define | HASH_DEPTH 5 |
Typedefs | |
| typedef struct digest_config_struct | digest_config_rec |
| typedef struct hash_entry | client_entry |
| typedef struct digest_header_struct | digest_header_rec |
| typedef union time_union | time_rec |
Enumerations | |
| enum | hdr_sts { NO_HEADER , NOT_DIGEST , INVALID , VALID } |
Variables | |
| static struct hash_table * | client_list |
| static unsigned char * | secret |
| static apr_shm_t * | client_shm = NULL |
| static apr_rmm_t * | client_rmm = NULL |
| static unsigned long * | opaque_cntr |
| static apr_time_t * | otn_counter |
| static apr_global_mutex_t * | client_lock = NULL |
| static apr_global_mutex_t * | opaque_lock = NULL |
| static const char * | client_mutex_type = "authdigest-client" |
| static const char * | opaque_mutex_type = "authdigest-opaque" |
| static const char * | client_shm_filename |
| static apr_size_t | shmem_size = 1000L |
| static unsigned long | num_buckets = 15L |
| static const command_rec | digest_cmds [] |
| static int *const | aplog_module_index = &( auth_digest_module.module_index) |
| #define APR_WANT_STRFUNC |
Definition at line 60 of file mod_auth_digest.c.
| #define DEF_NUM_BUCKETS 15L |
Definition at line 182 of file mod_auth_digest.c.
| #define DEF_SHMEM_SIZE 1000L /* ~ 12 entries */ |
Definition at line 181 of file mod_auth_digest.c.
| #define DFLT_ALGORITHM "MD5" |
Definition at line 98 of file mod_auth_digest.c.
| #define DFLT_NONCE_LIFE apr_time_from_sec(300) |
Definition at line 100 of file mod_auth_digest.c.
| #define HASH_DEPTH 5 |
Definition at line 183 of file mod_auth_digest.c.
| #define NEXTNONCE_DELTA apr_time_from_sec(30) |
Definition at line 101 of file mod_auth_digest.c.
| #define NONCE_HASH_LEN (2*APR_SHA1_DIGESTSIZE) |
Definition at line 105 of file mod_auth_digest.c.
| #define NONCE_LEN (int )(NONCE_TIME_LEN + NONCE_HASH_LEN) |
Definition at line 106 of file mod_auth_digest.c.
| #define NONCE_TIME_LEN (((sizeof(apr_time_t)+2)/3)*4) |
Definition at line 104 of file mod_auth_digest.c.
| #define RETAINED_DATA_ID "mod_auth_digest" |
Definition at line 109 of file mod_auth_digest.c.
| #define SECRET_LEN 20 |
Definition at line 108 of file mod_auth_digest.c.
| Enumerator | |
|---|---|
| NO_HEADER | |
| NOT_DIGEST | |
| INVALID | |
| VALID | |
Definition at line 133 of file mod_auth_digest.c.
|
static |
< Module has handled this stage.
< Standard proxy
< Module has handled this stage.
Definition at line 1861 of file mod_auth_digest.c.
Definition at line 511 of file mod_auth_digest.c.
|
static |
Definition at line 859 of file mod_auth_digest.c.
|
static |
< Module declines to handle
< Module has handled this stage.
< Module has handled this stage.
Definition at line 1582 of file mod_auth_digest.c.
|
static |
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
Definition at line 1369 of file mod_auth_digest.c.
|
static |
< Module has handled this stage.
Definition at line 1422 of file mod_auth_digest.c.
|
static |
Definition at line 195 of file mod_auth_digest.c.
|
static |
Definition at line 1525 of file mod_auth_digest.c.
|
static |
Definition at line 459 of file mod_auth_digest.c.
|
static |
Definition at line 806 of file mod_auth_digest.c.
|
static |
Definition at line 1142 of file mod_auth_digest.c.
|
static |
Definition at line 1107 of file mod_auth_digest.c.
|
static |
Definition at line 1080 of file mod_auth_digest.c.
|
static |
Definition at line 763 of file mod_auth_digest.c.
|
static |
< Standard proxy
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
Definition at line 917 of file mod_auth_digest.c.
|
static |
Definition at line 1310 of file mod_auth_digest.c.
|
static |
< Module declines to handle
< Module has handled this stage.
Definition at line 1272 of file mod_auth_digest.c.
|
static |
Definition at line 421 of file mod_auth_digest.c.
|
static |
< Module has handled this stage.
< Module has handled this stage.
Definition at line 394 of file mod_auth_digest.c.
|
static |
Definition at line 225 of file mod_auth_digest.c.
Definition at line 1169 of file mod_auth_digest.c.
|
static |
Definition at line 1507 of file mod_auth_digest.c.
|
static |
< Standard proxy
Definition at line 1179 of file mod_auth_digest.c.
|
static |
Definition at line 1494 of file mod_auth_digest.c.
|
static |
< Module declines to handle
< Module has handled this stage.
< Module declines to handle
Definition at line 1047 of file mod_auth_digest.c.
|
static |
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
< Module has handled this stage.
Definition at line 362 of file mod_auth_digest.c.
|
static |
< Run access control hooks only on internal requests with configurations distinct from that of initial request
Definition at line 1955 of file mod_auth_digest.c.
|
static |
Definition at line 247 of file mod_auth_digest.c.
|
static |
Definition at line 236 of file mod_auth_digest.c.
Definition at line 615 of file mod_auth_digest.c.
Definition at line 601 of file mod_auth_digest.c.
Definition at line 595 of file mod_auth_digest.c.
Definition at line 578 of file mod_auth_digest.c.
Definition at line 556 of file mod_auth_digest.c.
Definition at line 478 of file mod_auth_digest.c.
Definition at line 642 of file mod_auth_digest.c.
Definition at line 629 of file mod_auth_digest.c.
Definition at line 1973 of file mod_auth_digest.c.
|
static |
|
static |
Definition at line 175 of file mod_auth_digest.c.
Definition at line 177 of file mod_auth_digest.c.
Definition at line 172 of file mod_auth_digest.c.
Definition at line 171 of file mod_auth_digest.c.
Definition at line 179 of file mod_auth_digest.c.
|
static |
Definition at line 683 of file mod_auth_digest.c.
Definition at line 186 of file mod_auth_digest.c.
Definition at line 173 of file mod_auth_digest.c.
|
static |
Definition at line 176 of file mod_auth_digest.c.
Definition at line 178 of file mod_auth_digest.c.
|
static |
Definition at line 174 of file mod_auth_digest.c.
Definition at line 167 of file mod_auth_digest.c.
|
static |
Definition at line 185 of file mod_auth_digest.c.