|
Apache HTTPD
|
#include "ap_config.h"#include "ap_mmn.h"#include "ap_listen.h"#include "httpd.h"#include "http_config.h"#include "http_connection.h"#include "http_protocol.h"#include "http_log.h"#include "http_main.h"#include "apr_strings.h"#include "apr_lib.h"#include "apr_want.h"#include "apr_network_io.h"#include "apr_version.h"Go to the source code of this file.
Classes | |
| struct | remoteip_proxymatch_t |
| struct | remoteip_addr_info |
| struct | remoteip_config_t |
| struct | remoteip_req_t |
| struct | proxy_v1 |
| union | proxy_v2_addr |
| struct | proxy_v2 |
| union | proxy_header |
| struct | remoteip_filter_context |
| struct | remoteip_conn_config_t |
Macros | |
| #define | APR_WANT_BYTEFUNC |
| #define | MIN_V1_HDR_LEN 15 |
| #define | MIN_V2_HDR_LEN 16 |
| #define | MIN_HDR_LEN MIN_V1_HDR_LEN |
| #define | INET6_ADDRSTRLEN 46 |
| #define | GET_NEXT_WORD(field) |
Typedefs | |
| typedef struct remoteip_addr_info | remoteip_addr_info |
Enumerations | |
| enum | remoteip_parse_status_t { HDR_DONE , HDR_ERROR , HDR_NEED_MORE } |
Variables | |
| static ap_filter_rec_t * | remoteip_filter |
| static const char | v2sig [12] = "\x0D\x0A\x0D\x0A\x00\x0D\x0A\x51\x55\x49\x54\x0A" |
| static const command_rec | remoteip_cmds [] |
| static int *const | aplog_module_index = &( remoteip_module.module_index) |
| #define APR_WANT_BYTEFUNC |
Definition at line 31 of file mod_remoteip.c.
| #define INET6_ADDRSTRLEN 46 |
Definition at line 127 of file mod_remoteip.c.
| #define MIN_HDR_LEN MIN_V1_HDR_LEN |
Definition at line 122 of file mod_remoteip.c.
| #define MIN_V1_HDR_LEN 15 |
Definition at line 120 of file mod_remoteip.c.
| #define MIN_V2_HDR_LEN 16 |
Definition at line 121 of file mod_remoteip.c.
| Enumerator | |
|---|---|
| HDR_DONE | |
| HDR_ERROR | |
| HDR_NEED_MORE | |
Definition at line 150 of file mod_remoteip.c.
|
static |
Definition at line 152 of file mod_remoteip.c.
Definition at line 185 of file mod_remoteip.c.
Definition at line 205 of file mod_remoteip.c.
|
static |
Definition at line 165 of file mod_remoteip.c.
|
static |
Definition at line 194 of file mod_remoteip.c.
Definition at line 275 of file mod_remoteip.c.
|
static |
Definition at line 1246 of file mod_remoteip.c.
|
static |
Definition at line 377 of file mod_remoteip.c.
Determine if this is a v1 or v2 PROXY header.
Definition at line 1025 of file mod_remoteip.c.
|
static |
Definition at line 456 of file mod_remoteip.c.
|
static |
Definition at line 404 of file mod_remoteip.c.
|
static |
Return length for a v2 protocol header.
Definition at line 1018 of file mod_remoteip.c.
|
static |
< Module has handled this stage.
Definition at line 495 of file mod_remoteip.c.
Add our filter to the connection if it is requested
< Module declines to handle
< Module declines to handle
< Module declines to handle
< Module declines to handle
< Module declines to handle
< Module has handled this stage.
Definition at line 876 of file mod_remoteip.c.
|
static |
Definition at line 1046 of file mod_remoteip.c.
|
static |
Definition at line 752 of file mod_remoteip.c.
|
static |
< Module declines to handle
< Module has handled this stage.
< Module has handled this stage.
<
< Module has handled this stage.
< Module has handled this stage.
Definition at line 519 of file mod_remoteip.c.
|
static |
Definition at line 769 of file mod_remoteip.c.
|
static |
Definition at line 944 of file mod_remoteip.c.
|
static |
Similar to remoteip_sockaddr_equal, except that it handles wildcard addresses and ports too.
Definition at line 355 of file mod_remoteip.c.
|
static |
Similar to apr_sockaddr_equal, except that it compares ports too.
Definition at line 313 of file mod_remoteip.c.
|
static |
Definition at line 388 of file mod_remoteip.c.
Definition at line 1259 of file mod_remoteip.c.
|
static |
Definition at line 1215 of file mod_remoteip.c.
|
static |
Definition at line 81 of file mod_remoteip.c.
Definition at line 119 of file mod_remoteip.c.