From: Joey J <jac...@gm...> - 2014-03-21 09:16:38
|
Hello all, can I execute multiple actions per rule in jail.local? so something like: action = iptables[name=SSH, port=ssh, protocol=tcp] action = other-action[name=SSH, port=ssh, protocol=tcp] -- Thanks! Joey |
From: Steven H. <ste...@hi...> - 2014-03-21 09:31:06
|
On 21 March 2014 09:16:32 GMT+00:00, Joey J <jac...@gm...> wrote: >Hello all, > >can I execute multiple actions per rule in jail.local? > >so something like: >action = iptables[name=SSH, port=ssh, protocol=tcp] >action = other-action[name=SSH, port=ssh, protocol=tcp] Sure can. Example below. action = iptables[name=SSH, port=ssh, protocol=tcp] other-action[name=SSH, port=ssh, protocol=tcp] -- Steven Hiscocks |
From: Thauvin, B. <bla...@fr...> - 2014-03-21 09:38:36
|
Hi, You can, but the syntax is: action = iptables[name=SSH, port=ssh, protocol=tcp] other-action[name=SSH, port=ssh, protocol=tcp] Hope this helps, Blaise De : Joey J [mailto:jac...@gm...] Envoyé : vendredi 21 mars 2014 10:17 À : fai...@li... Objet : [Fail2ban-users] multiple actions per rule? Hello all, can I execute multiple actions per rule in jail.local? so something like: action = iptables[name=SSH, port=ssh, protocol=tcp] action = other-action[name=SSH, port=ssh, protocol=tcp] -- Thanks! Joey |