mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-09-18 15:57:41 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
14
config/e2guardian/preauth.story
Normal file
14
config/e2guardian/preauth.story
Normal file
@@ -0,0 +1,14 @@
|
||||
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)
|
Reference in New Issue
Block a user