You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have these commands I want to use with Rex iptables:
# /sbin/iptables -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --set
# /sbin/iptables -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --update --seconds 60 --hitcount 15 -j DROP
The problem I run into is with the -m <match> [match options]. So I would need to create an arrayref for the match arg
m => [['state', '--state NEW'],['recent', '--update --seconds 60 --hitcount 15']]
This is an example me and @ferki talked about but maybe there is an easier solution? Otherwise I think the stance would be if you need something more advanced then to write a custom module to handle that use case.
The text was updated successfully, but these errors were encountered:
So I have these commands I want to use with Rex iptables:
The problem I run into is with the
-m <match> [match options]
. So I would need to create an arrayref for the match argThis is an example me and @ferki talked about but maybe there is an easier solution? Otherwise I think the stance would be if you need something more advanced then to write a custom module to handle that use case.
The text was updated successfully, but these errors were encountered: