Package: ferm
Version: 2.0.4-1
Severity: normal
# Tags: patch
Match "recent" not fully supported. Almost all abilities this module grants can
be used in ferm (set, update, rcheck and others), but "remove" not realized
(must be someone just forgot this).
So error occurs when you try to parse rules containing "remove":
---
Error in /etc/ferm/ferm.conf line 46:
table filter
{
chain INPUT
{
mod recent name "rule" remove <--
Unrecognized keyword: remove
---
Here you can see patch for ferm to fix this problem, which just adds remove to
match_def of 'recent'
-----
272c272
< add_match_def 'recent', qw(name=s !set*0 !rcheck*0 !update*0 !seconds
!hitcount rttl*0 rsource*0 rdest*0);
---
> add_match_def 'recent', qw(name=s !set*0 !remove*0 !rcheck*0 !update*0
> !seconds !hitcount rttl*0 rsource*0 rdest*0);
-----
I hope this patch will be applied to future releases of ferm
--------
Best regards, Shuvaev Vitaliy
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]