mo betta rdl action
Filed Under:
Ok, so I realize my use of the RDL in the last blog entry was /totally pathetic/
Lets try that again...
We could write the rule like this and simplify our lives:
I'm using the RDL to replace the find-invalid-user-message function - that saves me a lot of code!
Lets try that again...
We could write the rule like this and simplify our lives:
(defvar *ssh-scanner-rule*
(rule
matching "Invalid user (.*) from (.*)"
binding variables (user ip)
doing
#'handle-invalid-user-message))
I'm using the RDL to replace the find-invalid-user-message function - that saves me a lot of code!