Collaboration diagram for Access Controls:

Namespaces

namespace  Acl
 

Classes

class  ACL
 
class  acl_proxy_auth_match_cache
 
class  ACLAdaptationServiceData
 
class  ACLAnnotationData
 
class  ACLARP
 
class  ACLASN
 
class  ACLCertificateData
 
class  ACLChecklist
 
class  DestinationDomainLookup
 
class  ACLFilledChecklist
 
class  ACLHasComponentData
 
struct  acl_httpstatus_data
 
class  ACLHTTPStatus
 
class  ACLLocalIP
 
class  ACLMaxConnection
 
class  ACLNoteData
 
class  ACLSquidErrorData
 
class  IdentLookup
 
class  ACLIdent
 

Enumerations

enum  aclMatchCode {
  ACCESS_DENIED ,
  ACCESS_ALLOWED ,
  ACCESS_DUNNO ,
  ACCESS_AUTH_REQUIRED
}
 

Functions

void asnInit (void)
 
void asnFreeMemory (void)
 
void aclRegister (ACL *acl)
 
void aclDestroyAccessList (acl_access **list)
 
void aclDestroyAcls (ACL **)
 called to delete ALL Acls. More...
 
void aclDestroyAclList (ACLList **)
 
void aclParseAccessLine (const char *directive, ConfigParser &parser, Acl::Tree **)
 
template<class Any >
size_t aclParseAclList (ConfigParser &parser, Acl::Tree **tree, const Any any)
 Template to convert various context labels to strings. More...
 
int aclIsProxyAuth (const char *name)
 
err_type aclGetDenyInfoPage (AclDenyInfoList **head, const char *name, int redirect_allowed)
 
void aclParseDenyInfoLine (AclDenyInfoList **)
 
void aclDestroyDenyInfoList (AclDenyInfoList **)
 
wordlistaclDumpGeneric (const ACL *)
 
void aclCacheMatchFlush (dlink_list *cache)
 
void dump_acl_access (StoreEntry *entry, const char *name, acl_access *head)
 
void dump_acl_list (StoreEntry *entry, ACLList *head)
 

Variables

const char * AclMatchedName
 

Detailed Description

These functions are responsible for allowing or denying a request, based on a number of different parameters. These parameters include the client's IP address, the hostname of the requested resource, the request method, etc. Some of the necessary information may not be immediately available, for example the origin server's IP address. In these cases, the ACL routines initiate lookups for the necessary information and continues the access control checks when the information is available.

Enumeration Type Documentation

◆ aclMatchCode

Enumerator
ACCESS_DENIED 
ACCESS_ALLOWED 
ACCESS_DUNNO 
ACCESS_AUTH_REQUIRED 

Definition at line 113 of file Acl.h.

Function Documentation

◆ aclCacheMatchFlush()

void aclCacheMatchFlush ( dlink_list cache)

◆ aclDestroyAccessList()

◆ aclDestroyAclList()

◆ aclDestroyAcls()

void aclDestroyAcls ( ACL **  head)

Definition at line 249 of file Gadgets.cc.

References aclDeregister(), assert, debugs, head, ACL::registered, and RegisteredAcls.

Referenced by free_acl().

◆ aclDestroyDenyInfoList()

void aclDestroyDenyInfoList ( AclDenyInfoList **  list)

Definition at line 289 of file Gadgets.cc.

References debugs, and AclDenyInfoList::next.

◆ aclDumpGeneric()

wordlist * aclDumpGeneric ( const ACL )

◆ aclGetDenyInfoPage()

err_type aclGetDenyInfoPage ( AclDenyInfoList **  head,
const char *  name,
int  redirect_allowed 
)

◆ aclIsProxyAuth()

int aclIsProxyAuth ( const char *  name)

Definition at line 70 of file Gadgets.cc.

References debugs, ACL::FindByName(), and ACL::isProxyAuth().

Referenced by ClientRequestContext::clientAccessCheckDone().

◆ aclParseAccessLine()

void aclParseAccessLine ( const char *  directive,
ConfigParser parser,
Acl::Tree **   
)

Parses a single line of a "action followed by acls" directive (e.g., http_access).

◆ aclParseAclList()

template<class Any >
size_t aclParseAclList ( ConfigParser parser,
Acl::Tree **  tree,
const Any  any 
)
inline

Definition at line 41 of file Gadgets.h.

References aclParseAclList().

◆ aclParseDenyInfoLine()

void aclParseDenyInfoLine ( AclDenyInfoList **  head)

◆ aclRegister()

void aclRegister ( ACL acl)

Register an ACL object for future deletion. Repeated registrations are OK.

Definition at line 221 of file Gadgets.cc.

References ACL::registered, and RegisteredAcls.

Referenced by Acl::InnerNode::add(), Acl::AllOf::parse(), and ACL::ParseAclLine().

◆ asnFreeMemory()

void asnFreeMemory ( void  )

Definition at line 206 of file Asn.cc.

References AS_tree_head, destroyRadixNode(), and squid_rn_walktree().

Referenced by serverConnectionsClose().

◆ asnInit()

void asnInit ( void  )

◆ dump_acl_access()

void dump_acl_access ( StoreEntry entry,
const char *  name,
acl_access head 
)

◆ dump_acl_list()

Variable Documentation

◆ AclMatchedName

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors