Config.in.netfilter 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  1. menu "Netfilter (Firewall/Filtering)"
  2. config ADK_KERNEL_NETFILTER
  3. bool
  4. default n
  5. config ADK_KERNEL_NETFILTER_ADVANCED
  6. bool
  7. default n
  8. config ADK_KERNEL_BRIDGE_NETFILTER
  9. bool
  10. default n
  11. config ADK_KERNEL_NETFILTER_XTABLES
  12. bool
  13. select ADK_KERNEL_NETFILTER
  14. select ADK_KERNEL_NETFILTER_ADVANCED
  15. default n
  16. config ADK_KERNEL_NETFILTER_DEBUG
  17. bool
  18. default n
  19. config ADK_KERNEL_IP_NF_MATCH_LAYER7_DEBUG
  20. bool
  21. default n
  22. config ADK_KERNEL_IP_NF_TARGET_MIRROR
  23. tristate
  24. default n
  25. config ADK_KERNEL_IP_NF_NAT_SNMP_BASIC
  26. tristate
  27. default n
  28. config ADK_KERNEL_IP_NF_TARGET_DSCP
  29. tristate
  30. default n
  31. config ADK_KERNEL_IP_NF_TARGET_MARK
  32. tristate
  33. default n
  34. config ADK_KERNEL_IP_NF_TARGET_CLASSIFY
  35. tristate
  36. default n
  37. config ADK_KERNEL_IP_NF_TARGET_IMQ
  38. tristate
  39. default n
  40. config ADK_KERNEL_IP_NF_TARGET_CONNMARK
  41. tristate
  42. default n
  43. config ADK_KERNEL_IP_NF_ARPTABLES
  44. tristate
  45. default n
  46. config ADK_KERNEL_IP_NF_COMPAT_IPCHAINS
  47. tristate
  48. default n
  49. config ADK_KERNEL_IP_NF_COMPAT_IPFWADM
  50. tristate
  51. default n
  52. config ADK_KERNEL_IP6_NF_QUEUE
  53. tristate
  54. default n
  55. config ADK_KERNEL_IP6_NF_IPTABLES
  56. tristate
  57. default n
  58. config ADK_KERNEL_IP_ROUTE_FWMARK
  59. bool
  60. default n
  61. config ADK_KERNEL_IP_NF_QUEUE
  62. tristate
  63. default n
  64. config ADK_KERNEL_IP_NF_MATCH_TIME
  65. tristate
  66. default n
  67. config ADK_KERNEL_IP_NF_MATCH_CONDITION
  68. tristate
  69. default n
  70. config ADK_KERNEL_IP_NF_MATCH_DSCP
  71. tristate
  72. default n
  73. config ADK_KERNEL_IP_NF_MATCH_AH_ESP
  74. tristate
  75. default n
  76. config ADK_KERNEL_IP_NF_MATCH_LENGTH
  77. tristate
  78. default n
  79. config ADK_KERNEL_IP_NF_MATCH_HELPER
  80. tristate
  81. default n
  82. # cannot be ADK_KERNEL_IP_NF_MATCH_STATE because
  83. # netfilter is built as a module -> this'll always be
  84. # a module, too
  85. config ADK_KPACKAGE_KMOD_IP_NF_MATCH_STATE
  86. tristate
  87. select ADK_KPACKAGE_KMOD_NETFILTER_XT_MATCH_STATE
  88. default n
  89. config ADK_KPACKAGE_KMOD_NETFILTER_XT_MATCH_STATE
  90. tristate
  91. default n
  92. # cannot be ADK_KERNEL_IP_NF_MATCH_CONNTRACK because
  93. # netfilter is built as a module -> this'll always be
  94. # a module, too
  95. config ADK_KPACKAGE_KMOD_IP_NF_MATCH_CONNTRACK
  96. tristate
  97. default n
  98. config ADK_KERNEL_IP_NF_MATCH_CONNMARK
  99. tristate
  100. default n
  101. config ADK_KERNEL_IP_NF_MATCH_UNCLEAN
  102. tristate
  103. default n
  104. config ADK_KERNEL_IP_NF_MATCH_STRING
  105. tristate
  106. default n
  107. menu "Core Netfilter Configuration"
  108. config ADK_KPACKAGE_KMOD_NF_CONNTRACK
  109. tristate 'Netfilter connection tracking support'
  110. select ADK_KERNEL_NETFILTER_XTABLES
  111. help
  112. Connection tracking keeps a record of what packets have passed
  113. through your machine, in order to figure out how they are related
  114. into connections.
  115. Layer 3 independent connection tracking is experimental scheme
  116. which generalize ip_conntrack to support other layer 3 protocols.
  117. config ADK_KPACKAGE_KMOD_NETFILTER_XT_TARGET_CLASSIFY
  118. tristate '"CLASSIFY" target support'
  119. select ADK_KERNEL_NETFILTER_XTABLES
  120. help
  121. This option adds a `CLASSIFY' target, which enables the user to set
  122. the priority of a packet. Some qdiscs can use this value for
  123. classification, among these are:
  124. atm, cbq, dsmark, pfifo_fast, htb, prio
  125. config ADK_KPACKAGE_KMOD_NETFILTER_XT_TARGET_CONNMARK
  126. tristate '"CONNMARK" target support'
  127. select ADK_KERNEL_NETFILTER_XTABLES
  128. select ADK_KPACKAGE_KMOD_NF_CONNTRACK
  129. help
  130. This option adds a `CONNMARK' target, which allows one to manipulate
  131. the connection mark value. Similar to the MARK target, but
  132. affects the connection mark value rather than the packet mark value.
  133. config ADK_KPACKAGE_KMOD_NETFILTER_XT_TARGET_MARK
  134. tristate '"MARK" target support'
  135. select ADK_KERNEL_NETFILTER_XTABLES
  136. help
  137. This option adds a `MARK' target, which allows you to create rules
  138. in the `mangle' table which alter the netfilter mark (nfmark) field
  139. associated with the packet prior to routing. This can change
  140. the routing method (see `Use netfilter MARK value as routing
  141. key') and can also be used by other subsystems to change their
  142. behavior.
  143. config ADK_KPACKAGE_KMOD_NETFILTER_XT_TARGET_NFQUEUE
  144. tristate '"NFQUEUE" target support'
  145. select ADK_KERNEL_NETFILTER_XTABLES
  146. help
  147. This target replaced the old obsolete QUEUE target.
  148. As opposed to QUEUE, it supports 65535 different queues,
  149. not just one.
  150. config ADK_KPACKAGE_KMOD_NETFILTER_XT_TARGET_TCPMSS
  151. tristate 'TCPMSS target'
  152. select ADK_KERNEL_NETFILTER_XTABLES
  153. help
  154. endmenu
  155. menu "IP: Netfilter Configuration"
  156. source target/linux/config/Config.in.netfilter.ip4
  157. endmenu
  158. menu "IPv6: Netfilter Configuration"
  159. depends on ADK_ENABLE_IPV6
  160. source target/linux/config/Config.in.netfilter.ip6
  161. endmenu
  162. menu "Ethernet bridge firewalling"
  163. config ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  164. tristate 'Ethernet Bridge tables (ebtables) support'
  165. select ADK_KERNEL_BRIDGE_NETFILTER
  166. help
  167. ebtables is a general, extensible frame/packet identification
  168. framework. Say 'Y' or 'M' here if you want to do Ethernet
  169. filtering/NAT/brouting on the Ethernet bridge.
  170. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_BROUTE
  171. tristate "ebt: broute table support"
  172. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  173. help
  174. The ebtables broute table is used to define rules that decide between
  175. bridging and routing frames, giving Linux the functionality of a
  176. brouter. See the man page for ebtables(8) and examples on the ebtables
  177. website.
  178. To compile it as a module, choose M here. If unsure, say N.
  179. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_T_FILTER
  180. tristate "ebt: filter table support"
  181. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  182. help
  183. The ebtables filter table is used to define frame filtering rules at
  184. local input, forwarding and local output. See the man page for
  185. ebtables(8).
  186. To compile it as a module, choose M here. If unsure, say N.
  187. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_T_NAT
  188. tristate "ebt: nat table support"
  189. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  190. help
  191. The ebtables nat table is used to define rules that alter the MAC
  192. source address (MAC SNAT) or the MAC destination address (MAC DNAT).
  193. See the man page for ebtables(8).
  194. To compile it as a module, choose M here. If unsure, say N.
  195. #
  196. # matches
  197. #
  198. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_802_3
  199. tristate "ebt: 802.3 filter support"
  200. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  201. help
  202. This option adds matching support for 802.3 Ethernet frames.
  203. To compile it as a module, choose M here. If unsure, say N.
  204. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_AMONG
  205. tristate "ebt: among filter support"
  206. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  207. help
  208. This option adds the among match, which allows matching the MAC source
  209. and/or destination address on a list of addresses. Optionally,
  210. MAC/IP address pairs can be matched, f.e. for anti-spoofing rules.
  211. To compile it as a module, choose M here. If unsure, say N.
  212. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_ARP
  213. tristate "ebt: ARP filter support"
  214. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  215. help
  216. This option adds the ARP match, which allows ARP and RARP header field
  217. filtering.
  218. To compile it as a module, choose M here. If unsure, say N.
  219. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_IP
  220. tristate "ebt: IP filter support"
  221. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  222. help
  223. This option adds the IP match, which allows basic IP header field
  224. filtering.
  225. To compile it as a module, choose M here. If unsure, say N.
  226. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_IP6
  227. tristate "ebt: IP6 filter support"
  228. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES && ADK_KPACKAGE_KMOD_IPV6
  229. help
  230. This option adds the IP6 match, which allows basic IPV6 header field
  231. filtering.
  232. To compile it as a module, choose M here. If unsure, say N.
  233. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_LIMIT
  234. tristate "ebt: limit match support"
  235. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  236. help
  237. This option adds the limit match, which allows you to control
  238. the rate at which a rule can be matched. This match is the
  239. equivalent of the iptables limit match.
  240. If you want to compile it as a module, say M here and read
  241. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  242. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_MARK
  243. tristate "ebt: mark filter support"
  244. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  245. help
  246. This option adds the mark match, which allows matching frames based on
  247. the 'nfmark' value in the frame. This can be set by the mark target.
  248. This value is the same as the one used in the iptables mark match and
  249. target.
  250. To compile it as a module, choose M here. If unsure, say N.
  251. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_PKTTYPE
  252. tristate "ebt: packet type filter support"
  253. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  254. help
  255. This option adds the packet type match, which allows matching on the
  256. type of packet based on its Ethernet "class" (as determined by
  257. the generic networking code): broadcast, multicast,
  258. for this host alone or for another host.
  259. To compile it as a module, choose M here. If unsure, say N.
  260. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_STP
  261. tristate "ebt: STP filter support"
  262. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  263. help
  264. This option adds the Spanning Tree Protocol match, which
  265. allows STP header field filtering.
  266. To compile it as a module, choose M here. If unsure, say N.
  267. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_VLAN
  268. tristate "ebt: 802.1Q VLAN filter support"
  269. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  270. help
  271. This option adds the 802.1Q vlan match, which allows the filtering of
  272. 802.1Q vlan fields.
  273. To compile it as a module, choose M here. If unsure, say N.
  274. #
  275. # targets
  276. #
  277. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_ARPREPLY
  278. tristate "ebt: arp reply target support"
  279. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  280. help
  281. This option adds the arp reply target, which allows
  282. automatically sending arp replies to arp requests.
  283. To compile it as a module, choose M here. If unsure, say N.
  284. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_DNAT
  285. tristate "ebt: dnat target support"
  286. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  287. help
  288. This option adds the MAC DNAT target, which allows altering the MAC
  289. destination address of frames.
  290. To compile it as a module, choose M here. If unsure, say N.
  291. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_MARK_T
  292. tristate "ebt: mark target support"
  293. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  294. help
  295. This option adds the mark target, which allows marking frames by
  296. setting the 'nfmark' value in the frame.
  297. This value is the same as the one used in the iptables mark match and
  298. target.
  299. To compile it as a module, choose M here. If unsure, say N.
  300. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_REDIRECT
  301. tristate "ebt: redirect target support"
  302. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  303. help
  304. This option adds the MAC redirect target, which allows altering the MAC
  305. destination address of a frame to that of the device it arrived on.
  306. To compile it as a module, choose M here. If unsure, say N.
  307. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_SNAT
  308. tristate "ebt: snat target support"
  309. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  310. help
  311. This option adds the MAC SNAT target, which allows altering the MAC
  312. source address of frames.
  313. To compile it as a module, choose M here. If unsure, say N.
  314. #
  315. # watchers
  316. #
  317. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_LOG
  318. tristate "ebt: log support"
  319. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  320. help
  321. This option adds the log watcher, that you can use in any rule
  322. in any ebtables table. It records info about the frame header
  323. to the syslog.
  324. To compile it as a module, choose M here. If unsure, say N.
  325. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_ULOG
  326. tristate "ebt: ulog support (OBSOLETE)"
  327. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  328. help
  329. This option enables the old bridge-specific "ebt_ulog" implementation
  330. which has been obsoleted by the new "nfnetlink_log" code (see
  331. CONFIG_NETFILTER_NETLINK_LOG).
  332. This option adds the ulog watcher, that you can use in any rule
  333. in any ebtables table. The packet is passed to a userspace
  334. logging daemon using netlink multicast sockets. This differs
  335. from the log watcher in the sense that the complete packet is
  336. sent to userspace instead of a descriptive text and that
  337. netlink multicast sockets are used instead of the syslog.
  338. To compile it as a module, choose M here. If unsure, say N.
  339. config ADK_KPACKAGE_KMOD_BRIDGE_EBT_NFLOG
  340. tristate "ebt: nflog support"
  341. depends on ADK_KPACKAGE_KMOD_BRIDGE_NF_EBTABLES
  342. help
  343. This option enables the nflog watcher, which allows to LOG
  344. messages through the netfilter logging API, which can use
  345. either the old LOG target, the old ULOG target or nfnetlink_log
  346. as backend.
  347. This option adds the nflog watcher, that you can use in any rule
  348. in any ebtables table.
  349. To compile it as a module, choose M here. If unsure, say N.
  350. endmenu
  351. source package/ipset/Config.in.kmod
  352. endmenu