hashlimit: add support for xt_hashlimit options
commitd0b74aa8e154d065cde51bdefb8524b9ee8a29c3
authorApollon Oikonomopoulos <apoikos@debian.org>
Thu, 3 Dec 2015 15:17:12 +0000 (3 17:17 +0200)
committerMax Kellermann <max@duempel.org>
Thu, 3 Dec 2015 15:27:33 +0000 (3 16:27 +0100)
tree5d4d6aac4e740fcee45b84f3ea49d0c7ecbe1282
parent845577e7717557fb8d891f1bc08b0cff168d3e71
hashlimit: add support for xt_hashlimit options

Add more options supported by the current hashlimit module
(xt_hashlimit): hashlimit-upto, hashlimit-above, hashlimit-srcmask and
hashlimit-dstmask.

Note that in xt_hashlimit, hashlimit is an alias for hashlimit-upto.
However, we will not define it as such in ferm to maintain compatibility
with the old hashlimit module (ipt_hashlimit).
src/ferm
test/modules/hashlimit.ferm
test/modules/hashlimit.result