Kconfig 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. menuconfig IP_SET
  2. tristate "IP set support"
  3. depends on INET && NETFILTER
  4. select NETFILTER_NETLINK
  5. help
  6. This option adds IP set support to the kernel.
  7. In order to define and use the sets, you need the userspace utility
  8. ipset(8). You can use the sets in netfilter via the "set" match
  9. and "SET" target.
  10. To compile it as a module, choose M here. If unsure, say N.
  11. if IP_SET
  12. config IP_SET_MAX
  13. int "Maximum number of IP sets"
  14. default 256
  15. range 2 65534
  16. depends on IP_SET
  17. help
  18. You can define here default value of the maximum number
  19. of IP sets for the kernel.
  20. The value can be overridden by the 'max_sets' module
  21. parameter of the 'ip_set' module.
  22. config IP_SET_BITMAP_IP
  23. tristate "bitmap:ip set support"
  24. depends on IP_SET
  25. help
  26. This option adds the bitmap:ip set type support, by which one
  27. can store IPv4 addresses (or network addresse) from a range.
  28. To compile it as a module, choose M here. If unsure, say N.
  29. config IP_SET_BITMAP_IPMAC
  30. tristate "bitmap:ip,mac set support"
  31. depends on IP_SET
  32. help
  33. This option adds the bitmap:ip,mac set type support, by which one
  34. can store IPv4 address and (source) MAC address pairs from a range.
  35. To compile it as a module, choose M here. If unsure, say N.
  36. config IP_SET_BITMAP_PORT
  37. tristate "bitmap:port set support"
  38. depends on IP_SET
  39. help
  40. This option adds the bitmap:port set type support, by which one
  41. can store TCP/UDP port numbers from a range.
  42. To compile it as a module, choose M here. If unsure, say N.
  43. config IP_SET_HASH_IP
  44. tristate "hash:ip set support"
  45. depends on IP_SET
  46. help
  47. This option adds the hash:ip set type support, by which one
  48. can store arbitrary IPv4 or IPv6 addresses (or network addresses)
  49. in a set.
  50. To compile it as a module, choose M here. If unsure, say N.
  51. config IP_SET_HASH_IPMARK
  52. tristate "hash:ip,mark set support"
  53. depends on IP_SET
  54. help
  55. This option adds the hash:ip,mark set type support, by which one
  56. can store IPv4/IPv6 address and mark pairs.
  57. To compile it as a module, choose M here. If unsure, say N.
  58. config IP_SET_HASH_IPPORT
  59. tristate "hash:ip,port set support"
  60. depends on IP_SET
  61. help
  62. This option adds the hash:ip,port set type support, by which one
  63. can store IPv4/IPv6 address and protocol/port pairs.
  64. To compile it as a module, choose M here. If unsure, say N.
  65. config IP_SET_HASH_IPPORTIP
  66. tristate "hash:ip,port,ip set support"
  67. depends on IP_SET
  68. help
  69. This option adds the hash:ip,port,ip set type support, by which
  70. one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6
  71. address triples in a set.
  72. To compile it as a module, choose M here. If unsure, say N.
  73. config IP_SET_HASH_IPPORTNET
  74. tristate "hash:ip,port,net set support"
  75. depends on IP_SET
  76. help
  77. This option adds the hash:ip,port,net set type support, by which
  78. one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6
  79. network address/prefix triples in a set.
  80. To compile it as a module, choose M here. If unsure, say N.
  81. config IP_SET_HASH_MAC
  82. tristate "hash:mac set support"
  83. depends on IP_SET
  84. help
  85. This option adds the hash:mac set type support, by which
  86. one can store MAC (ethernet address) elements in a set.
  87. To compile it as a module, choose M here. If unsure, say N.
  88. config IP_SET_HASH_NETPORTNET
  89. tristate "hash:net,port,net set support"
  90. depends on IP_SET
  91. help
  92. This option adds the hash:net,port,net set type support, by which
  93. one can store two IPv4/IPv6 subnets, and a protocol/port in a set.
  94. To compile it as a module, choose M here. If unsure, say N.
  95. config IP_SET_HASH_NET
  96. tristate "hash:net set support"
  97. depends on IP_SET
  98. help
  99. This option adds the hash:net set type support, by which
  100. one can store IPv4/IPv6 network address/prefix elements in a set.
  101. To compile it as a module, choose M here. If unsure, say N.
  102. config IP_SET_HASH_NETNET
  103. tristate "hash:net,net set support"
  104. depends on IP_SET
  105. help
  106. This option adds the hash:net,net set type support, by which
  107. one can store IPv4/IPv6 network address/prefix pairs in a set.
  108. To compile it as a module, choose M here. If unsure, say N.
  109. config IP_SET_HASH_NETPORT
  110. tristate "hash:net,port set support"
  111. depends on IP_SET
  112. help
  113. This option adds the hash:net,port set type support, by which
  114. one can store IPv4/IPv6 network address/prefix and
  115. protocol/port pairs as elements in a set.
  116. To compile it as a module, choose M here. If unsure, say N.
  117. config IP_SET_HASH_NETIFACE
  118. tristate "hash:net,iface set support"
  119. depends on IP_SET
  120. help
  121. This option adds the hash:net,iface set type support, by which
  122. one can store IPv4/IPv6 network address/prefix and
  123. interface name pairs as elements in a set.
  124. To compile it as a module, choose M here. If unsure, say N.
  125. config IP_SET_LIST_SET
  126. tristate "list:set set support"
  127. depends on IP_SET
  128. help
  129. This option adds the list:set set type support. In this
  130. kind of set one can store the name of other sets and it forms
  131. an ordered union of the member sets.
  132. To compile it as a module, choose M here. If unsure, say N.
  133. endif # IP_SET