external_acl.cc File Reference
#include "squid.h"
#include "acl/Acl.h"
#include "acl/FilledChecklist.h"
#include "cache_cf.h"
#include "client_side.h"
#include "client_side_request.h"
#include "comm/Connection.h"
#include "ConfigParser.h"
#include "ExternalACL.h"
#include "ExternalACLEntry.h"
#include "fde.h"
#include "format/Token.h"
#include "helper.h"
#include "helper/Reply.h"
#include "http/Stream.h"
#include "HttpHeaderTools.h"
#include "HttpReply.h"
#include "HttpRequest.h"
#include "ip/tools.h"
#include "MemBuf.h"
#include "mgr/Registration.h"
#include "rfc1738.h"
#include "SquidConfig.h"
#include "SquidString.h"
#include "Store.h"
#include "tools.h"
#include "wordlist.h"
#include "ssl/ServerBump.h"
#include "ssl/support.h"
#include "auth/Acl.h"
#include "auth/Gadgets.h"
#include "auth/UserRequest.h"
#include "ident/AclIdent.h"
Include dependency graph for external_acl.cc:

Go to the source code of this file.

Classes

class  external_acl
 
class  external_acl_data
 
class  externalAclState
 

Macros

#define DEFAULT_EXTERNAL_ACL_TTL   1 * 60 * 60
 
#define DEFAULT_EXTERNAL_ACL_CHILDREN   5
 

Functions

static char * makeExternalAclKey (ACLFilledChecklist *ch, external_acl_data *acl_data)
 
static void external_acl_cache_delete (external_acl *def, const ExternalACLEntryPointer &entry)
 
static int external_acl_entry_expired (external_acl *def, const ExternalACLEntryPointer &entry)
 
static int external_acl_grace_expired (external_acl *def, const ExternalACLEntryPointer &entry)
 
static void external_acl_cache_touch (external_acl *def, const ExternalACLEntryPointer &entry)
 
static ExternalACLEntryPointer external_acl_cache_add (external_acl *def, const char *key, ExternalACLEntryData const &data)
 
void parse_externalAclHelper (external_acl **list)
 
void dump_externalAclHelper (StoreEntry *sentry, const char *name, const external_acl *list)
 
void free_externalAclHelper (external_acl **list)
 
static external_aclfind_externalAclHelper (const char *name)
 
static void copyResultsFromEntry (const HttpRequest::Pointer &req, const ExternalACLEntryPointer &entry)
 
static Acl::Answer aclMatchExternal (external_acl_data *acl, ACLFilledChecklist *ch)
 
static void externalAclHandleReply (void *data, const Helper::Reply &reply)
 
static void externalAclStats (StoreEntry *sentry)
 
static void externalAclRegisterWithCacheManager (void)
 
void externalAclInit (void)
 
void externalAclShutdown (void)
 

Macro Definition Documentation

◆ DEFAULT_EXTERNAL_ACL_CHILDREN

#define DEFAULT_EXTERNAL_ACL_CHILDREN   5

Definition at line 55 of file external_acl.cc.

◆ DEFAULT_EXTERNAL_ACL_TTL

#define DEFAULT_EXTERNAL_ACL_TTL   1 * 60 * 60

Definition at line 52 of file external_acl.cc.

Function Documentation

◆ aclMatchExternal()

◆ copyResultsFromEntry()

◆ dump_externalAclHelper()

void dump_externalAclHelper ( StoreEntry sentry,
const char *  name,
const external_acl list 
)

◆ external_acl_cache_add()

◆ external_acl_cache_delete()

◆ external_acl_cache_touch()

static void external_acl_cache_touch ( external_acl def,
const ExternalACLEntryPointer entry 
)
static

◆ external_acl_entry_expired()

◆ external_acl_grace_expired()

◆ externalAclHandleReply()

◆ externalAclInit()

◆ externalAclRegisterWithCacheManager()

static void externalAclRegisterWithCacheManager ( void  )
static

Definition at line 1101 of file external_acl.cc.

References externalAclStats(), and Mgr::RegisterAction().

Referenced by externalAclInit().

◆ externalAclShutdown()

void externalAclShutdown ( void  )

◆ externalAclStats()

static void externalAclStats ( StoreEntry sentry)
static

◆ find_externalAclHelper()

static external_acl * find_externalAclHelper ( const char *  name)
static

Definition at line 431 of file external_acl.cc.

References Config, SquidConfig::externalAclHelperList, and node::next.

Referenced by ACLExternal::parse().

◆ free_externalAclHelper()

void free_externalAclHelper ( external_acl **  list)

Definition at line 424 of file external_acl.cc.

◆ makeExternalAclKey()

◆ parse_externalAclHelper()

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors