oh, ok, I think I understand a little more now.

I was using f2b-regex cmd in console to test it,
but without the host_info alias (as provided by the "before INCLUDE"),
it won't return any matches?

Is it because f2b-regex needs to return a host portion to be considered a
match?
I mean, I can't just use it as a usual regular expression checker to find a
word or phrase, because without the host info, it will not return any
matches form the cmd line?

I am also testing it in a file under filter.d, but I can't find any
matches in the log.


2. UPGRADING
I would like to know if there are instructions how to UPGRADE a f2b
installation, so my custom rules can be used.
I tried to read the manual / doc quickly, but did not see a section on how
to upgrade, but maybe my eyes missed it.


3. COMMENTS INTO LOG
The next thing I will need to learn is how to use an action to
write comments into the log, so instead of just seeing "FOUND [ip address],
I can add comments about the message / domain/ TO, FROM, etc.


Thank you.
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to