Files
squidguard/config/e2guardian/preauth.story
T

15 lines
456 B
Gherkin
Raw Normal View History

2022-02-15 09:55:45 -05:00
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)