Jozsef Kadlecsik a écrit :
New features since 1.3.5:
- Support multiple matches of the same type within a single rule
Wow. What does this mean exactly ? Does it mean that one can set
multiple -p, -s, -d, --dport and so on in a single rule ?
No - and as the conditons in a rule are ANDed, it wouldn't make much
sense. But from now on you can set multiple match extensions of the same
type in a single rule, e.g:
.. -m condition --condition foo -m condition --condition bar ...
.. -m set --set servers dst -m set --set services dst ...
If I understand correctly, it is now possible for instance to set two
multiport matches in a single rule, one with --dports and one with
--sports ?