66 debugs(28, 5,
"aclParseUserMaxIP: First token is " << t);
70 debugs(28, 5,
"aclParseUserMaxIP: Max IP address's " <<
maximum);
102 debugs(28, 4,
"aclMatchUserMaxIP: Denying access in strict mode");
109 debugs(28, 4,
"aclMatchUserMaxIP: Denying access in non-strict mode - flushing the user ip cache");
139 checklist->
markFinished(answer,
"AuthenticateAcl exception");
ACLFilledChecklist * Filled(ACLChecklist *checklist)
convenience and safety wrapper for dynamic_cast<ACLFilledChecklist*>
int xatoi(const char *token)
void authenticateAuthUserRequestClearIp(Auth::UserRequest::Pointer auth_user_request)
void authenticateAuthUserRequestRemoveIp(Auth::UserRequest::Pointer auth_user_request, Ip::Address const &ipaddr)
int authenticateAuthUserRequestIPCount(Auth::UserRequest::Pointer auth_user_request)
Acl::Answer AuthenticateAcl(ACLChecklist *ch, const Acl::Node &acl)
void markFinished(const Acl::Answer &newAnswer, const char *reason)
bool keepMatching() const
Whether we should continue to match tree nodes or stop/pause.
Auth::UserRequest::Pointer auth_user_request
void parse() override
parses node representation in squid.conf; dies on failures
bool valid() const override
Acl::BooleanOptionValue beStrict
Enforce "one user, one device" policy?
bool empty() const override
int match(ACLChecklist *cl) override
Matches the actual data in checklist against this Acl::Node.
ACLMaxUserIP(char const *theClass)
const Acl::Options & options() override
char const * typeString() const override
SBufList dump() const override
a type-specific Option (e.g., a boolean –toggle or -m=SBuf)
void linkWith(Recipient *recipient) const
who to tell when this option is enabled
char const * username() const
static char * strtokFile()
void push_back(char)
Append a single character. The character may be NUL (\0).
SBuf & Printf(const char *fmt,...) PRINTF_FORMAT_ARG2
#define debugs(SECTION, LEVEL, CONTENT)
std::vector< const Option * > Options
std::list< SBuf > SBufList