What I had initially done was make a PHP script to add offending IPs to
APF, or optionally just notify me. Thus the use of flags, to tell it if
I wanted it to run in notifyonly mode or not. I've since gotten around
this problem by just copying the script and hardcoding the options.
TM
Ivan Ristic wrote:
> ffolkes wrote:
>
>> Hello-
>>
>> Is there a way to put arguments in the exec action? For example:
>>
>> "exec:/path/to -a=123"
>>
>> I tried but it appeared to never run the command at all.
>
>
> Correct. At the moment the whole thing is treated as the
> path to the script. It would help if you could explain why
> you need this feature.
>
|