Skip to content

Commit

Permalink
netfilter: ipset; bitmap:port set type support
Browse files Browse the repository at this point in the history
The module implements the bitmap:port type in two flavours, without
and with timeout support to store TCP/UDP ports from a range.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
  • Loading branch information
Jozsef Kadlecsik authored and Patrick McHardy committed Feb 1, 2011
1 parent de76021 commit 5432619
Show file tree
Hide file tree
Showing 3 changed files with 530 additions and 0 deletions.
9 changes: 9 additions & 0 deletions net/netfilter/ipset/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,13 @@ config IP_SET_BITMAP_IPMAC

To compile it as a module, choose M here. If unsure, say N.

config IP_SET_BITMAP_PORT
tristate "bitmap:port set support"
depends on IP_SET
help
This option adds the bitmap:port set type support, by which one
can store TCP/UDP port numbers from a range.

To compile it as a module, choose M here. If unsure, say N.

endif # IP_SET
1 change: 1 addition & 0 deletions net/netfilter/ipset/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ obj-$(CONFIG_IP_SET) += ip_set.o
# bitmap types
obj-$(CONFIG_IP_SET_BITMAP_IP) += ip_set_bitmap_ip.o
obj-$(CONFIG_IP_SET_BITMAP_IPMAC) += ip_set_bitmap_ipmac.o
obj-$(CONFIG_IP_SET_BITMAP_PORT) += ip_set_bitmap_port.o
Loading

0 comments on commit 5432619

Please sign in to comment.