mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-01-19 06:34:29 -05:00
15 lines
456 B
Plaintext
15 lines
456 B
Plaintext
|
function(pre-authcheck)
|
||
|
if(clientin,bannedclient) return setblock
|
||
|
if(clientin,exceptionclient) return setexception
|
||
|
if(urlin,authexception) setexception
|
||
|
# allow authexceptions to go direct to avoid being blocked by any auth on squid
|
||
|
if(returnset) setgodirect
|
||
|
|
||
|
function(thttps-pre-authcheck)
|
||
|
if(clientin,bannedclient) return setblock
|
||
|
if(clientin,exceptionclient) return setexception
|
||
|
if(urlin,authexception) return setexception
|
||
|
|
||
|
|
||
|
function(icap-pre-authcheck)
|