![](group__ACLAPI.png)
Namespaces | |
Acl | |
Classes | |
class | acl_proxy_auth_match_cache |
class | ACLAdaptationServiceData |
class | ACLAnnotationData |
class | ACLARP |
class | ACLASN |
class | ACLCertificateData |
class | ACLChecklist |
class | ACLFilledChecklist |
class | ACLHasComponentData |
struct | acl_httpstatus_data |
class | ACLHTTPStatus |
class | ACLLocalIP |
class | ACLMaxConnection |
class | Acl::Node |
class | ACLNoteData |
class | ACLSquidErrorData |
Enumerations | |
enum | aclMatchCode { ACCESS_DENIED, ACCESS_ALLOWED, ACCESS_DUNNO, ACCESS_AUTH_REQUIRED } |
Functions | |
void | asnInit (void) |
void | asnFreeMemory (void) |
void | aclDestroyAccessList (acl_access **list) |
void | aclDestroyAclList (ACLList **) |
template<class Any > | |
size_t | aclParseAclList (ConfigParser &parser, ACLList **const tree, const Any any) |
Template to convert various context labels to strings. More... | |
void | aclParseDenyInfoLine (AclDenyInfoList **) |
void | aclDestroyDenyInfoList (AclDenyInfoList **) |
wordlist * | aclDumpGeneric (const Acl::Node *) |
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) |
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
enum aclMatchCode |
Function Documentation
◆ aclCacheMatchFlush()
void aclCacheMatchFlush | ( | dlink_list * | cache | ) |
Definition at line 425 of file Acl.cc.
References dlink_node::data, debugs, dlinkDelete(), dlink_list::head, and dlink_node::next.
Referenced by Auth::CredentialsCache::doConfigChangeCleanup(), and Auth::User::~User().
◆ aclDestroyAccessList()
void aclDestroyAccessList | ( | acl_access ** | list | ) |
Definition at line 223 of file Gadgets.cc.
References assert, debugs, Acl::Node::name, and Acl::ToTree().
Referenced by free_acl_access(), header_mangler_clean(), CachePeer::~CachePeer(), ClientDelayPool::~ClientDelayPool(), DelayPool::~DelayPool(), HttpUpgradeProtocolAccess::~HttpUpgradeProtocolAccess(), MessageDelayPool::~MessageDelayPool(), and HttpUpgradeProtocolAccess::NamedGuard::~NamedGuard().
◆ aclDestroyAclList()
void aclDestroyAclList | ( | ACLList ** | ) |
Definition at line 214 of file Gadgets.cc.
References assert, and debugs.
Referenced by free_HeaderWithAclList(), acl_nfmark::~acl_nfmark(), acl_tos::~acl_tos(), AclSizeLimit::~AclSizeLimit(), Acl::Address::~Address(), FormattedLog::~FormattedLog(), sslproxy_cert_adapt::~sslproxy_cert_adapt(), sslproxy_cert_sign::~sslproxy_cert_sign(), and Note::Value::~Value().
◆ aclDestroyDenyInfoList()
void aclDestroyDenyInfoList | ( | AclDenyInfoList ** | ) |
Definition at line 236 of file Gadgets.cc.
References debugs, and AclDenyInfoList::next.
◆ aclDumpGeneric()
◆ aclParseAclList()
|
inline |
Definition at line 40 of file Gadgets.h.
References aclParseAclList().
◆ aclParseDenyInfoLine()
void aclParseDenyInfoLine | ( | AclDenyInfoList ** | ) |
Definition at line 88 of file Gadgets.cc.
References A, B, cfg_filename, config_input_line, config_lineno, ConfigParser::CurrentLocation(), DBG_CRITICAL, debugs, head, and ConfigParser::NextToken().
Referenced by parse_denyinfo().
◆ asnFreeMemory()
void asnFreeMemory | ( | void | ) |
Definition at line 204 of file Asn.cc.
References AS_tree_head, destroyRadixNode(), and squid_rn_walktree().
Referenced by serverConnectionsClose().
◆ asnInit()
void asnInit | ( | void | ) |
Definition at line 188 of file Asn.cc.
References AS_tree_head, asnRegisterWithCacheManager(), squid_max_keylen, squid_rn_init(), and squid_rn_inithead().
Referenced by serverConnectionsOpen().
◆ dump_acl_access()
void dump_acl_access | ( | StoreEntry * | entry, |
const char * | name, | ||
acl_access * | head | ||
) |
Definition at line 1511 of file cache_cf.cc.
References Acl::AllowOrDeny(), dump_SBufList(), head, and Acl::ToTree().
Referenced by DelayPool::dump(), ClientDelayPool::dump(), MessageDelayPool::dump(), dump_peer(), Adaptation::Config::DumpAccess(), and header_mangler_dump_access().
◆ dump_acl_list()
void dump_acl_list | ( | StoreEntry * | entry, |
ACLList * | head | ||
) |
Definition at line 1503 of file cache_cf.cc.
References dump_SBufList(), head, and Acl::ToTree().
Referenced by dump_access_log(), dump_acl_address(), dump_acl_b_size_t(), dump_acl_tos(), dump_HeaderWithAclList(), dump_sslproxy_cert_adapt(), and dump_sslproxy_cert_sign().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products