Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. menu "Core Netfilter Configuration"
  2. depends on NET && NETFILTER
  3. config NETFILTER_NETLINK
  4. tristate "Netfilter netlink interface"
  5. help
  6. If this option is enabled, the kernel will include support
  7. for the new netfilter netlink interface.
  8. config NETFILTER_NETLINK_QUEUE
  9. tristate "Netfilter NFQUEUE over NFNETLINK interface"
  10. depends on NETFILTER_NETLINK
  11. help
  12. If this option is enabled, the kernel will include support
  13. for queueing packets via NFNETLINK.
  14. config NETFILTER_NETLINK_LOG
  15. tristate "Netfilter LOG over NFNETLINK interface"
  16. depends on NETFILTER_NETLINK
  17. help
  18. If this option is enabled, the kernel will include support
  19. for logging packets via NFNETLINK.
  20. This obsoletes the existing ipt_ULOG and ebg_ulog mechanisms,
  21. and is also scheduled to replace the old syslog-based ipt_LOG
  22. and ip6t_LOG modules.
  23. config NF_CONNTRACK_ENABLED
  24. tristate "Netfilter connection tracking support"
  25. help
  26. Connection tracking keeps a record of what packets have passed
  27. through your machine, in order to figure out how they are related
  28. into connections.
  29. This is required to do Masquerading or other kinds of Network
  30. Address Translation (except for Fast NAT). It can also be used to
  31. enhance packet filtering (see `Connection state match support'
  32. below).
  33. To compile it as a module, choose M here. If unsure, say N.
  34. choice
  35. prompt "Netfilter connection tracking support"
  36. depends on NF_CONNTRACK_ENABLED
  37. config NF_CONNTRACK_SUPPORT
  38. bool "Layer 3 Independent Connection tracking (EXPERIMENTAL)"
  39. depends on EXPERIMENTAL
  40. help
  41. Layer 3 independent connection tracking is experimental scheme
  42. which generalize ip_conntrack to support other layer 3 protocols.
  43. This is required to do Masquerading or other kinds of Network
  44. Address Translation (except for Fast NAT). It can also be used to
  45. enhance packet filtering (see `Connection state match support'
  46. below).
  47. config IP_NF_CONNTRACK_SUPPORT
  48. bool "Layer 3 Dependent Connection tracking"
  49. help
  50. The old, Layer 3 dependent ip_conntrack subsystem of netfilter.
  51. This is required to do Masquerading or other kinds of Network
  52. Address Translation (except for Fast NAT). It can also be used to
  53. enhance packet filtering (see `Connection state match support'
  54. below).
  55. endchoice
  56. config NF_CONNTRACK
  57. tristate
  58. default m if NF_CONNTRACK_SUPPORT && NF_CONNTRACK_ENABLED=m
  59. default y if NF_CONNTRACK_SUPPORT && NF_CONNTRACK_ENABLED=y
  60. config IP_NF_CONNTRACK
  61. tristate
  62. default m if IP_NF_CONNTRACK_SUPPORT && NF_CONNTRACK_ENABLED=m
  63. default y if IP_NF_CONNTRACK_SUPPORT && NF_CONNTRACK_ENABLED=y
  64. config NF_CT_ACCT
  65. bool "Connection tracking flow accounting"
  66. depends on NF_CONNTRACK
  67. help
  68. If this option is enabled, the connection tracking code will
  69. keep per-flow packet and byte counters.
  70. Those counters can be used for flow-based accounting or the
  71. `connbytes' match.
  72. If unsure, say `N'.
  73. config NF_CONNTRACK_MARK
  74. bool 'Connection mark tracking support'
  75. depends on NF_CONNTRACK
  76. help
  77. This option enables support for connection marks, used by the
  78. `CONNMARK' target and `connmark' match. Similar to the mark value
  79. of packets, but this mark value is kept in the conntrack session
  80. instead of the individual packets.
  81. config NF_CONNTRACK_SECMARK
  82. bool 'Connection tracking security mark support'
  83. depends on NF_CONNTRACK && NETWORK_SECMARK
  84. help
  85. This option enables security markings to be applied to
  86. connections. Typically they are copied to connections from
  87. packets using the CONNSECMARK target and copied back from
  88. connections to packets with the same target, with the packets
  89. being originally labeled via SECMARK.
  90. If unsure, say 'N'.
  91. config NF_CONNTRACK_EVENTS
  92. bool "Connection tracking events (EXPERIMENTAL)"
  93. depends on EXPERIMENTAL && NF_CONNTRACK
  94. help
  95. If this option is enabled, the connection tracking code will
  96. provide a notifier chain that can be used by other kernel code
  97. to get notified about changes in the connection tracking state.
  98. If unsure, say `N'.
  99. config NF_CT_PROTO_GRE
  100. tristate
  101. depends on EXPERIMENTAL && NF_CONNTRACK
  102. config NF_CT_PROTO_SCTP
  103. tristate 'SCTP protocol on new connection tracking support (EXPERIMENTAL)'
  104. depends on EXPERIMENTAL && NF_CONNTRACK
  105. default n
  106. help
  107. With this option enabled, the layer 3 independent connection
  108. tracking code will be able to do state tracking on SCTP connections.
  109. If you want to compile it as a module, say M here and read
  110. Documentation/modules.txt. If unsure, say `N'.
  111. config NF_CONNTRACK_AMANDA
  112. tristate "Amanda backup protocol support (EXPERIMENTAL)"
  113. depends on EXPERIMENTAL && NF_CONNTRACK
  114. select TEXTSEARCH
  115. select TEXTSEARCH_KMP
  116. help
  117. If you are running the Amanda backup package <http://www.amanda.org/>
  118. on this machine or machines that will be MASQUERADED through this
  119. machine, then you may want to enable this feature. This allows the
  120. connection tracking and natting code to allow the sub-channels that
  121. Amanda requires for communication of the backup data, messages and
  122. index.
  123. To compile it as a module, choose M here. If unsure, say N.
  124. config NF_CONNTRACK_FTP
  125. tristate "FTP support on new connection tracking (EXPERIMENTAL)"
  126. depends on EXPERIMENTAL && NF_CONNTRACK
  127. help
  128. Tracking FTP connections is problematic: special helpers are
  129. required for tracking them, and doing masquerading and other forms
  130. of Network Address Translation on them.
  131. This is FTP support on Layer 3 independent connection tracking.
  132. Layer 3 independent connection tracking is experimental scheme
  133. which generalize ip_conntrack to support other layer 3 protocols.
  134. To compile it as a module, choose M here. If unsure, say N.
  135. config NF_CONNTRACK_H323
  136. tristate "H.323 protocol support (EXPERIMENTAL)"
  137. depends on EXPERIMENTAL && NF_CONNTRACK
  138. help
  139. H.323 is a VoIP signalling protocol from ITU-T. As one of the most
  140. important VoIP protocols, it is widely used by voice hardware and
  141. software including voice gateways, IP phones, Netmeeting, OpenPhone,
  142. Gnomemeeting, etc.
  143. With this module you can support H.323 on a connection tracking/NAT
  144. firewall.
  145. This module supports RAS, Fast Start, H.245 Tunnelling, Call
  146. Forwarding, RTP/RTCP and T.120 based audio, video, fax, chat,
  147. whiteboard, file transfer, etc. For more information, please
  148. visit http://nath323.sourceforge.net/.
  149. To compile it as a module, choose M here. If unsure, say N.
  150. config NF_CONNTRACK_IRC
  151. tristate "IRC protocol support (EXPERIMENTAL)"
  152. depends on EXPERIMENTAL && NF_CONNTRACK
  153. help
  154. There is a commonly-used extension to IRC called
  155. Direct Client-to-Client Protocol (DCC). This enables users to send
  156. files to each other, and also chat to each other without the need
  157. of a server. DCC Sending is used anywhere you send files over IRC,
  158. and DCC Chat is most commonly used by Eggdrop bots. If you are
  159. using NAT, this extension will enable you to send files and initiate
  160. chats. Note that you do NOT need this extension to get files or
  161. have others initiate chats, or everything else in IRC.
  162. To compile it as a module, choose M here. If unsure, say N.
  163. config NF_CONNTRACK_NETBIOS_NS
  164. tristate "NetBIOS name service protocol support (EXPERIMENTAL)"
  165. depends on EXPERIMENTAL && NF_CONNTRACK
  166. help
  167. NetBIOS name service requests are sent as broadcast messages from an
  168. unprivileged port and responded to with unicast messages to the
  169. same port. This make them hard to firewall properly because connection
  170. tracking doesn't deal with broadcasts. This helper tracks locally
  171. originating NetBIOS name service requests and the corresponding
  172. responses. It relies on correct IP address configuration, specifically
  173. netmask and broadcast address. When properly configured, the output
  174. of "ip address show" should look similar to this:
  175. $ ip -4 address show eth0
  176. 4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
  177. inet 172.16.2.252/24 brd 172.16.2.255 scope global eth0
  178. To compile it as a module, choose M here. If unsure, say N.
  179. config NF_CONNTRACK_PPTP
  180. tristate "PPtP protocol support (EXPERIMENTAL)"
  181. depends on EXPERIMENTAL && NF_CONNTRACK
  182. select NF_CT_PROTO_GRE
  183. help
  184. This module adds support for PPTP (Point to Point Tunnelling
  185. Protocol, RFC2637) connection tracking and NAT.
  186. If you are running PPTP sessions over a stateful firewall or NAT
  187. box, you may want to enable this feature.
  188. Please note that not all PPTP modes of operation are supported yet.
  189. Specifically these limitations exist:
  190. - Blindy assumes that control connections are always established
  191. in PNS->PAC direction. This is a violation of RFC2637.
  192. - Only supports a single call within each session
  193. To compile it as a module, choose M here. If unsure, say N.
  194. config NF_CONNTRACK_SIP
  195. tristate "SIP protocol support (EXPERIMENTAL)"
  196. depends on EXPERIMENTAL && NF_CONNTRACK
  197. help
  198. SIP is an application-layer control protocol that can establish,
  199. modify, and terminate multimedia sessions (conferences) such as
  200. Internet telephony calls. With the ip_conntrack_sip and
  201. the nf_nat_sip modules you can support the protocol on a connection
  202. tracking/NATing firewall.
  203. To compile it as a module, choose M here. If unsure, say N.
  204. config NF_CT_NETLINK
  205. tristate 'Connection tracking netlink interface (EXPERIMENTAL)'
  206. depends on EXPERIMENTAL && NF_CONNTRACK && NETFILTER_NETLINK
  207. depends on NF_CONNTRACK!=y || NETFILTER_NETLINK!=m
  208. help
  209. This option enables support for a netlink-based userspace interface
  210. config NETFILTER_XTABLES
  211. tristate "Netfilter Xtables support (required for ip_tables)"
  212. help
  213. This is required if you intend to use any of ip_tables,
  214. ip6_tables or arp_tables.
  215. # alphabetically ordered list of targets
  216. config NETFILTER_XT_TARGET_CLASSIFY
  217. tristate '"CLASSIFY" target support'
  218. depends on NETFILTER_XTABLES
  219. help
  220. This option adds a `CLASSIFY' target, which enables the user to set
  221. the priority of a packet. Some qdiscs can use this value for
  222. classification, among these are:
  223. atm, cbq, dsmark, pfifo_fast, htb, prio
  224. To compile it as a module, choose M here. If unsure, say N.
  225. config NETFILTER_XT_TARGET_CONNMARK
  226. tristate '"CONNMARK" target support'
  227. depends on NETFILTER_XTABLES
  228. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  229. depends on (IP_NF_CONNTRACK && IP_NF_CONNTRACK_MARK) || (NF_CONNTRACK_MARK && NF_CONNTRACK)
  230. help
  231. This option adds a `CONNMARK' target, which allows one to manipulate
  232. the connection mark value. Similar to the MARK target, but
  233. affects the connection mark value rather than the packet mark value.
  234. If you want to compile it as a module, say M here and read
  235. <file:Documentation/modules.txt>. The module will be called
  236. ipt_CONNMARK.o. If unsure, say `N'.
  237. config NETFILTER_XT_TARGET_DSCP
  238. tristate '"DSCP" target support'
  239. depends on NETFILTER_XTABLES
  240. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  241. help
  242. This option adds a `DSCP' target, which allows you to manipulate
  243. the IPv4/IPv6 header DSCP field (differentiated services codepoint).
  244. The DSCP field can have any value between 0x0 and 0x3f inclusive.
  245. To compile it as a module, choose M here. If unsure, say N.
  246. config NETFILTER_XT_TARGET_MARK
  247. tristate '"MARK" target support'
  248. depends on NETFILTER_XTABLES
  249. help
  250. This option adds a `MARK' target, which allows you to create rules
  251. in the `mangle' table which alter the netfilter mark (nfmark) field
  252. associated with the packet prior to routing. This can change
  253. the routing method (see `Use netfilter MARK value as routing
  254. key') and can also be used by other subsystems to change their
  255. behavior.
  256. To compile it as a module, choose M here. If unsure, say N.
  257. config NETFILTER_XT_TARGET_NFQUEUE
  258. tristate '"NFQUEUE" target Support'
  259. depends on NETFILTER_XTABLES
  260. help
  261. This target replaced the old obsolete QUEUE target.
  262. As opposed to QUEUE, it supports 65535 different queues,
  263. not just one.
  264. To compile it as a module, choose M here. If unsure, say N.
  265. config NETFILTER_XT_TARGET_NFLOG
  266. tristate '"NFLOG" target support'
  267. depends on NETFILTER_XTABLES
  268. help
  269. This option enables the NFLOG target, which allows to LOG
  270. messages through the netfilter logging API, which can use
  271. either the old LOG target, the old ULOG target or nfnetlink_log
  272. as backend.
  273. To compile it as a module, choose M here. If unsure, say N.
  274. config NETFILTER_XT_TARGET_NOTRACK
  275. tristate '"NOTRACK" target support'
  276. depends on NETFILTER_XTABLES
  277. depends on IP_NF_RAW || IP6_NF_RAW
  278. depends on IP_NF_CONNTRACK || NF_CONNTRACK
  279. help
  280. The NOTRACK target allows a select rule to specify
  281. which packets *not* to enter the conntrack/NAT
  282. subsystem with all the consequences (no ICMP error tracking,
  283. no protocol helpers for the selected packets).
  284. If you want to compile it as a module, say M here and read
  285. <file:Documentation/modules.txt>. If unsure, say `N'.
  286. config NETFILTER_XT_TARGET_SECMARK
  287. tristate '"SECMARK" target support'
  288. depends on NETFILTER_XTABLES && NETWORK_SECMARK
  289. help
  290. The SECMARK target allows security marking of network
  291. packets, for use with security subsystems.
  292. To compile it as a module, choose M here. If unsure, say N.
  293. config NETFILTER_XT_TARGET_CONNSECMARK
  294. tristate '"CONNSECMARK" target support'
  295. depends on NETFILTER_XTABLES && \
  296. ((NF_CONNTRACK && NF_CONNTRACK_SECMARK) || \
  297. (IP_NF_CONNTRACK && IP_NF_CONNTRACK_SECMARK))
  298. help
  299. The CONNSECMARK target copies security markings from packets
  300. to connections, and restores security markings from connections
  301. to packets (if the packets are not already marked). This would
  302. normally be used in conjunction with the SECMARK target.
  303. To compile it as a module, choose M here. If unsure, say N.
  304. config NETFILTER_XT_MATCH_COMMENT
  305. tristate '"comment" match support'
  306. depends on NETFILTER_XTABLES
  307. help
  308. This option adds a `comment' dummy-match, which allows you to put
  309. comments in your iptables ruleset.
  310. If you want to compile it as a module, say M here and read
  311. <file:Documentation/modules.txt>. If unsure, say `N'.
  312. config NETFILTER_XT_MATCH_CONNBYTES
  313. tristate '"connbytes" per-connection counter match support'
  314. depends on NETFILTER_XTABLES
  315. depends on (IP_NF_CONNTRACK && IP_NF_CT_ACCT) || (NF_CT_ACCT && NF_CONNTRACK)
  316. help
  317. This option adds a `connbytes' match, which allows you to match the
  318. number of bytes and/or packets for each direction within a connection.
  319. If you want to compile it as a module, say M here and read
  320. <file:Documentation/modules.txt>. If unsure, say `N'.
  321. config NETFILTER_XT_MATCH_CONNMARK
  322. tristate '"connmark" connection mark match support'
  323. depends on NETFILTER_XTABLES
  324. depends on (IP_NF_CONNTRACK && IP_NF_CONNTRACK_MARK) || (NF_CONNTRACK_MARK && NF_CONNTRACK)
  325. help
  326. This option adds a `connmark' match, which allows you to match the
  327. connection mark value previously set for the session by `CONNMARK'.
  328. If you want to compile it as a module, say M here and read
  329. <file:Documentation/modules.txt>. The module will be called
  330. ipt_connmark.o. If unsure, say `N'.
  331. config NETFILTER_XT_MATCH_CONNTRACK
  332. tristate '"conntrack" connection tracking match support'
  333. depends on NETFILTER_XTABLES
  334. depends on IP_NF_CONNTRACK || NF_CONNTRACK
  335. help
  336. This is a general conntrack match module, a superset of the state match.
  337. It allows matching on additional conntrack information, which is
  338. useful in complex configurations, such as NAT gateways with multiple
  339. internet links or tunnels.
  340. To compile it as a module, choose M here. If unsure, say N.
  341. config NETFILTER_XT_MATCH_DCCP
  342. tristate '"DCCP" protocol match support'
  343. depends on NETFILTER_XTABLES
  344. help
  345. With this option enabled, you will be able to use the iptables
  346. `dccp' match in order to match on DCCP source/destination ports
  347. and DCCP flags.
  348. If you want to compile it as a module, say M here and read
  349. <file:Documentation/modules.txt>. If unsure, say `N'.
  350. config NETFILTER_XT_MATCH_DSCP
  351. tristate '"DSCP" match support'
  352. depends on NETFILTER_XTABLES
  353. help
  354. This option adds a `DSCP' match, which allows you to match against
  355. the IPv4/IPv6 header DSCP field (differentiated services codepoint).
  356. The DSCP field can have any value between 0x0 and 0x3f inclusive.
  357. To compile it as a module, choose M here. If unsure, say N.
  358. config NETFILTER_XT_MATCH_ESP
  359. tristate '"ESP" match support'
  360. depends on NETFILTER_XTABLES
  361. help
  362. This match extension allows you to match a range of SPIs
  363. inside ESP header of IPSec packets.
  364. To compile it as a module, choose M here. If unsure, say N.
  365. config NETFILTER_XT_MATCH_HELPER
  366. tristate '"helper" match support'
  367. depends on NETFILTER_XTABLES
  368. depends on IP_NF_CONNTRACK || NF_CONNTRACK
  369. help
  370. Helper matching allows you to match packets in dynamic connections
  371. tracked by a conntrack-helper, ie. ip_conntrack_ftp
  372. To compile it as a module, choose M here. If unsure, say Y.
  373. config NETFILTER_XT_MATCH_LENGTH
  374. tristate '"length" match support'
  375. depends on NETFILTER_XTABLES
  376. help
  377. This option allows you to match the length of a packet against a
  378. specific value or range of values.
  379. To compile it as a module, choose M here. If unsure, say N.
  380. config NETFILTER_XT_MATCH_LIMIT
  381. tristate '"limit" match support'
  382. depends on NETFILTER_XTABLES
  383. help
  384. limit matching allows you to control the rate at which a rule can be
  385. matched: mainly useful in combination with the LOG target ("LOG
  386. target support", below) and to avoid some Denial of Service attacks.
  387. To compile it as a module, choose M here. If unsure, say N.
  388. config NETFILTER_XT_MATCH_MAC
  389. tristate '"mac" address match support'
  390. depends on NETFILTER_XTABLES
  391. help
  392. MAC matching allows you to match packets based on the source
  393. Ethernet address of the packet.
  394. To compile it as a module, choose M here. If unsure, say N.
  395. config NETFILTER_XT_MATCH_MARK
  396. tristate '"mark" match support'
  397. depends on NETFILTER_XTABLES
  398. help
  399. Netfilter mark matching allows you to match packets based on the
  400. `nfmark' value in the packet. This can be set by the MARK target
  401. (see below).
  402. To compile it as a module, choose M here. If unsure, say N.
  403. config NETFILTER_XT_MATCH_POLICY
  404. tristate 'IPsec "policy" match support'
  405. depends on NETFILTER_XTABLES && XFRM
  406. help
  407. Policy matching allows you to match packets based on the
  408. IPsec policy that was used during decapsulation/will
  409. be used during encapsulation.
  410. To compile it as a module, choose M here. If unsure, say N.
  411. config NETFILTER_XT_MATCH_MULTIPORT
  412. tristate "Multiple port match support"
  413. depends on NETFILTER_XTABLES
  414. help
  415. Multiport matching allows you to match TCP or UDP packets based on
  416. a series of source or destination ports: normally a rule can only
  417. match a single range of ports.
  418. To compile it as a module, choose M here. If unsure, say N.
  419. config NETFILTER_XT_MATCH_PHYSDEV
  420. tristate '"physdev" match support'
  421. depends on NETFILTER_XTABLES && BRIDGE && BRIDGE_NETFILTER
  422. help
  423. Physdev packet matching matches against the physical bridge ports
  424. the IP packet arrived on or will leave by.
  425. To compile it as a module, choose M here. If unsure, say N.
  426. config NETFILTER_XT_MATCH_PKTTYPE
  427. tristate '"pkttype" packet type match support'
  428. depends on NETFILTER_XTABLES
  429. help
  430. Packet type matching allows you to match a packet by
  431. its "class", eg. BROADCAST, MULTICAST, ...
  432. Typical usage:
  433. iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG
  434. To compile it as a module, choose M here. If unsure, say N.
  435. config NETFILTER_XT_MATCH_QUOTA
  436. tristate '"quota" match support'
  437. depends on NETFILTER_XTABLES
  438. help
  439. This option adds a `quota' match, which allows to match on a
  440. byte counter.
  441. If you want to compile it as a module, say M here and read
  442. <file:Documentation/modules.txt>. If unsure, say `N'.
  443. config NETFILTER_XT_MATCH_REALM
  444. tristate '"realm" match support'
  445. depends on NETFILTER_XTABLES
  446. select NET_CLS_ROUTE
  447. help
  448. This option adds a `realm' match, which allows you to use the realm
  449. key from the routing subsystem inside iptables.
  450. This match pretty much resembles the CONFIG_NET_CLS_ROUTE4 option
  451. in tc world.
  452. If you want to compile it as a module, say M here and read
  453. <file:Documentation/modules.txt>. If unsure, say `N'.
  454. config NETFILTER_XT_MATCH_SCTP
  455. tristate '"sctp" protocol match support (EXPERIMENTAL)'
  456. depends on NETFILTER_XTABLES && EXPERIMENTAL
  457. help
  458. With this option enabled, you will be able to use the
  459. `sctp' match in order to match on SCTP source/destination ports
  460. and SCTP chunk types.
  461. If you want to compile it as a module, say M here and read
  462. <file:Documentation/modules.txt>. If unsure, say `N'.
  463. config NETFILTER_XT_MATCH_STATE
  464. tristate '"state" match support'
  465. depends on NETFILTER_XTABLES
  466. depends on IP_NF_CONNTRACK || NF_CONNTRACK
  467. help
  468. Connection state matching allows you to match packets based on their
  469. relationship to a tracked connection (ie. previous packets). This
  470. is a powerful tool for packet classification.
  471. To compile it as a module, choose M here. If unsure, say N.
  472. config NETFILTER_XT_MATCH_STATISTIC
  473. tristate '"statistic" match support'
  474. depends on NETFILTER_XTABLES
  475. help
  476. This option adds a `statistic' match, which allows you to match
  477. on packets periodically or randomly with a given percentage.
  478. To compile it as a module, choose M here. If unsure, say N.
  479. config NETFILTER_XT_MATCH_STRING
  480. tristate '"string" match support'
  481. depends on NETFILTER_XTABLES
  482. select TEXTSEARCH
  483. select TEXTSEARCH_KMP
  484. select TEXTSEARCH_BM
  485. select TEXTSEARCH_FSM
  486. help
  487. This option adds a `string' match, which allows you to look for
  488. pattern matchings in packets.
  489. To compile it as a module, choose M here. If unsure, say N.
  490. config NETFILTER_XT_MATCH_TCPMSS
  491. tristate '"tcpmss" match support'
  492. depends on NETFILTER_XTABLES
  493. help
  494. This option adds a `tcpmss' match, which allows you to examine the
  495. MSS value of TCP SYN packets, which control the maximum packet size
  496. for that connection.
  497. To compile it as a module, choose M here. If unsure, say N.
  498. config NETFILTER_XT_MATCH_HASHLIMIT
  499. tristate '"hashlimit" match support'
  500. depends on NETFILTER_XTABLES
  501. help
  502. This option adds a `hashlimit' match.
  503. As opposed to `limit', this match dynamically creates a hash table
  504. of limit buckets, based on your selection of source/destination
  505. addresses and/or ports.
  506. It enables you to express policies like `10kpps for any given
  507. destination address' or `500pps from any given source address'
  508. with a single rule.
  509. endmenu