I did not found any documentation regarding actions of the CheckRules.
If I understand correctly, DROP will block the request no matter the learning mode state, while BLOCK will block the request only if not in learning mode.
LOG will just write learning log without blocking the request.
What will LOG do if learning mode is disabled?
Moreover, I checked the code, ctx->allow is set but never used (no if (ctx->allow)).
What is the purpose of ALLOW ?
I did not found any documentation regarding actions of the CheckRules. If I understand correctly,
DROP
will block the request no matter the learning mode state, whileBLOCK
will block the request only if not in learning mode.LOG
will just write learning log without blocking the request. What willLOG
do if learning mode is disabled? Moreover, I checked the code,ctx->allow
is set but never used (noif (ctx->allow)
). What is the purpose ofALLOW
?Thanks.