Hi everybody,

 

I am using Fail2ban 8.4.

 

I have created a filter with the following failregex:

 

failregex = .* Connection with .* \(<HOST> port .*\) activated

 

The line that appear in the log file is:

 

2018-02-02 17:27:49 tinc[25152]: Connection with VPN_002 (88.88.88.88 port
19410) activated

 

It's works well but I need know if I can configure a custom variable in the
filter file to use in the action file later.

 

By example, I need use what host name was connect 'VPN_002" and pass it to a
action file.

 

 

Regards,

 

Ramses

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to