Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645
  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 (OBSOLETE)"
  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 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 protocol support (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_CONNTRACK_TFTP
  205. tristate "TFTP protocol support (EXPERIMENTAL)"
  206. depends on EXPERIMENTAL && NF_CONNTRACK
  207. help
  208. TFTP connection tracking helper, this is required depending
  209. on how restrictive your ruleset is.
  210. If you are using a tftp client behind -j SNAT or -j MASQUERADING
  211. you will need this.
  212. To compile it as a module, choose M here. If unsure, say N.
  213. config NF_CT_NETLINK
  214. tristate 'Connection tracking netlink interface (EXPERIMENTAL)'
  215. depends on EXPERIMENTAL && NF_CONNTRACK && NETFILTER_NETLINK
  216. depends on NF_CONNTRACK!=y || NETFILTER_NETLINK!=m
  217. help
  218. This option enables support for a netlink-based userspace interface
  219. config NETFILTER_XTABLES
  220. tristate "Netfilter Xtables support (required for ip_tables)"
  221. help
  222. This is required if you intend to use any of ip_tables,
  223. ip6_tables or arp_tables.
  224. # alphabetically ordered list of targets
  225. config NETFILTER_XT_TARGET_CLASSIFY
  226. tristate '"CLASSIFY" target support'
  227. depends on NETFILTER_XTABLES
  228. help
  229. This option adds a `CLASSIFY' target, which enables the user to set
  230. the priority of a packet. Some qdiscs can use this value for
  231. classification, among these are:
  232. atm, cbq, dsmark, pfifo_fast, htb, prio
  233. To compile it as a module, choose M here. If unsure, say N.
  234. config NETFILTER_XT_TARGET_CONNMARK
  235. tristate '"CONNMARK" target support'
  236. depends on NETFILTER_XTABLES
  237. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  238. depends on (IP_NF_CONNTRACK && IP_NF_CONNTRACK_MARK) || (NF_CONNTRACK_MARK && NF_CONNTRACK)
  239. help
  240. This option adds a `CONNMARK' target, which allows one to manipulate
  241. the connection mark value. Similar to the MARK target, but
  242. affects the connection mark value rather than the packet mark value.
  243. If you want to compile it as a module, say M here and read
  244. <file:Documentation/modules.txt>. The module will be called
  245. ipt_CONNMARK.o. If unsure, say `N'.
  246. config NETFILTER_XT_TARGET_DSCP
  247. tristate '"DSCP" target support'
  248. depends on NETFILTER_XTABLES
  249. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  250. help
  251. This option adds a `DSCP' target, which allows you to manipulate
  252. the IPv4/IPv6 header DSCP field (differentiated services codepoint).
  253. The DSCP field can have any value between 0x0 and 0x3f inclusive.
  254. To compile it as a module, choose M here. If unsure, say N.
  255. config NETFILTER_XT_TARGET_MARK
  256. tristate '"MARK" target support'
  257. depends on NETFILTER_XTABLES
  258. help
  259. This option adds a `MARK' target, which allows you to create rules
  260. in the `mangle' table which alter the netfilter mark (nfmark) field
  261. associated with the packet prior to routing. This can change
  262. the routing method (see `Use netfilter MARK value as routing
  263. key') and can also be used by other subsystems to change their
  264. behavior.
  265. To compile it as a module, choose M here. If unsure, say N.
  266. config NETFILTER_XT_TARGET_NFQUEUE
  267. tristate '"NFQUEUE" target Support'
  268. depends on NETFILTER_XTABLES
  269. help
  270. This target replaced the old obsolete QUEUE target.
  271. As opposed to QUEUE, it supports 65535 different queues,
  272. not just one.
  273. To compile it as a module, choose M here. If unsure, say N.
  274. config NETFILTER_XT_TARGET_NFLOG
  275. tristate '"NFLOG" target support'
  276. depends on NETFILTER_XTABLES
  277. help
  278. This option enables the NFLOG target, which allows to LOG
  279. messages through the netfilter logging API, which can use
  280. either the old LOG target, the old ULOG target or nfnetlink_log
  281. as backend.
  282. To compile it as a module, choose M here. If unsure, say N.
  283. config NETFILTER_XT_TARGET_NOTRACK
  284. tristate '"NOTRACK" target support'
  285. depends on NETFILTER_XTABLES
  286. depends on IP_NF_RAW || IP6_NF_RAW
  287. depends on IP_NF_CONNTRACK || NF_CONNTRACK
  288. help
  289. The NOTRACK target allows a select rule to specify
  290. which packets *not* to enter the conntrack/NAT
  291. subsystem with all the consequences (no ICMP error tracking,
  292. no protocol helpers for the selected packets).
  293. If you want to compile it as a module, say M here and read
  294. <file:Documentation/modules.txt>. If unsure, say `N'.
  295. config NETFILTER_XT_TARGET_SECMARK
  296. tristate '"SECMARK" target support'
  297. depends on NETFILTER_XTABLES && NETWORK_SECMARK
  298. help
  299. The SECMARK target allows security marking of network
  300. packets, for use with security subsystems.
  301. To compile it as a module, choose M here. If unsure, say N.
  302. config NETFILTER_XT_TARGET_CONNSECMARK
  303. tristate '"CONNSECMARK" target support'
  304. depends on NETFILTER_XTABLES && \
  305. ((NF_CONNTRACK && NF_CONNTRACK_SECMARK) || \
  306. (IP_NF_CONNTRACK && IP_NF_CONNTRACK_SECMARK))
  307. help
  308. The CONNSECMARK target copies security markings from packets
  309. to connections, and restores security markings from connections
  310. to packets (if the packets are not already marked). This would
  311. normally be used in conjunction with the SECMARK target.
  312. To compile it as a module, choose M here. If unsure, say N.
  313. config NETFILTER_XT_MATCH_COMMENT
  314. tristate '"comment" match support'
  315. depends on NETFILTER_XTABLES
  316. help
  317. This option adds a `comment' dummy-match, which allows you to put
  318. comments in your iptables ruleset.
  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_CONNBYTES
  322. tristate '"connbytes" per-connection counter match support'
  323. depends on NETFILTER_XTABLES
  324. depends on (IP_NF_CONNTRACK && IP_NF_CT_ACCT) || (NF_CT_ACCT && NF_CONNTRACK)
  325. help
  326. This option adds a `connbytes' match, which allows you to match the
  327. number of bytes and/or packets for each direction within a connection.
  328. If you want to compile it as a module, say M here and read
  329. <file:Documentation/modules.txt>. If unsure, say `N'.
  330. config NETFILTER_XT_MATCH_CONNMARK
  331. tristate '"connmark" connection mark match support'
  332. depends on NETFILTER_XTABLES
  333. depends on (IP_NF_CONNTRACK && IP_NF_CONNTRACK_MARK) || (NF_CONNTRACK_MARK && NF_CONNTRACK)
  334. help
  335. This option adds a `connmark' match, which allows you to match the
  336. connection mark value previously set for the session by `CONNMARK'.
  337. If you want to compile it as a module, say M here and read
  338. <file:Documentation/modules.txt>. The module will be called
  339. ipt_connmark.o. If unsure, say `N'.
  340. config NETFILTER_XT_MATCH_CONNTRACK
  341. tristate '"conntrack" connection tracking match support'
  342. depends on NETFILTER_XTABLES
  343. depends on IP_NF_CONNTRACK || NF_CONNTRACK
  344. help
  345. This is a general conntrack match module, a superset of the state match.
  346. It allows matching on additional conntrack information, which is
  347. useful in complex configurations, such as NAT gateways with multiple
  348. internet links or tunnels.
  349. To compile it as a module, choose M here. If unsure, say N.
  350. config NETFILTER_XT_MATCH_DCCP
  351. tristate '"DCCP" protocol match support'
  352. depends on NETFILTER_XTABLES
  353. help
  354. With this option enabled, you will be able to use the iptables
  355. `dccp' match in order to match on DCCP source/destination ports
  356. and DCCP flags.
  357. If you want to compile it as a module, say M here and read
  358. <file:Documentation/modules.txt>. If unsure, say `N'.
  359. config NETFILTER_XT_MATCH_DSCP
  360. tristate '"DSCP" match support'
  361. depends on NETFILTER_XTABLES
  362. help
  363. This option adds a `DSCP' match, which allows you to match against
  364. the IPv4/IPv6 header DSCP field (differentiated services codepoint).
  365. The DSCP field can have any value between 0x0 and 0x3f inclusive.
  366. To compile it as a module, choose M here. If unsure, say N.
  367. config NETFILTER_XT_MATCH_ESP
  368. tristate '"ESP" match support'
  369. depends on NETFILTER_XTABLES
  370. help
  371. This match extension allows you to match a range of SPIs
  372. inside ESP header of IPSec packets.
  373. To compile it as a module, choose M here. If unsure, say N.
  374. config NETFILTER_XT_MATCH_HELPER
  375. tristate '"helper" match support'
  376. depends on NETFILTER_XTABLES
  377. depends on IP_NF_CONNTRACK || NF_CONNTRACK
  378. help
  379. Helper matching allows you to match packets in dynamic connections
  380. tracked by a conntrack-helper, ie. ip_conntrack_ftp
  381. To compile it as a module, choose M here. If unsure, say Y.
  382. config NETFILTER_XT_MATCH_LENGTH
  383. tristate '"length" match support'
  384. depends on NETFILTER_XTABLES
  385. help
  386. This option allows you to match the length of a packet against a
  387. specific value or range of values.
  388. To compile it as a module, choose M here. If unsure, say N.
  389. config NETFILTER_XT_MATCH_LIMIT
  390. tristate '"limit" match support'
  391. depends on NETFILTER_XTABLES
  392. help
  393. limit matching allows you to control the rate at which a rule can be
  394. matched: mainly useful in combination with the LOG target ("LOG
  395. target support", below) and to avoid some Denial of Service attacks.
  396. To compile it as a module, choose M here. If unsure, say N.
  397. config NETFILTER_XT_MATCH_MAC
  398. tristate '"mac" address match support'
  399. depends on NETFILTER_XTABLES
  400. help
  401. MAC matching allows you to match packets based on the source
  402. Ethernet address of the packet.
  403. To compile it as a module, choose M here. If unsure, say N.
  404. config NETFILTER_XT_MATCH_MARK
  405. tristate '"mark" match support'
  406. depends on NETFILTER_XTABLES
  407. help
  408. Netfilter mark matching allows you to match packets based on the
  409. `nfmark' value in the packet. This can be set by the MARK target
  410. (see below).
  411. To compile it as a module, choose M here. If unsure, say N.
  412. config NETFILTER_XT_MATCH_POLICY
  413. tristate 'IPsec "policy" match support'
  414. depends on NETFILTER_XTABLES && XFRM
  415. help
  416. Policy matching allows you to match packets based on the
  417. IPsec policy that was used during decapsulation/will
  418. be used during encapsulation.
  419. To compile it as a module, choose M here. If unsure, say N.
  420. config NETFILTER_XT_MATCH_MULTIPORT
  421. tristate "Multiple port match support"
  422. depends on NETFILTER_XTABLES
  423. help
  424. Multiport matching allows you to match TCP or UDP packets based on
  425. a series of source or destination ports: normally a rule can only
  426. match a single range of ports.
  427. To compile it as a module, choose M here. If unsure, say N.
  428. config NETFILTER_XT_MATCH_PHYSDEV
  429. tristate '"physdev" match support'
  430. depends on NETFILTER_XTABLES && BRIDGE && BRIDGE_NETFILTER
  431. help
  432. Physdev packet matching matches against the physical bridge ports
  433. the IP packet arrived on or will leave by.
  434. To compile it as a module, choose M here. If unsure, say N.
  435. config NETFILTER_XT_MATCH_PKTTYPE
  436. tristate '"pkttype" packet type match support'
  437. depends on NETFILTER_XTABLES
  438. help
  439. Packet type matching allows you to match a packet by
  440. its "class", eg. BROADCAST, MULTICAST, ...
  441. Typical usage:
  442. iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG
  443. To compile it as a module, choose M here. If unsure, say N.
  444. config NETFILTER_XT_MATCH_QUOTA
  445. tristate '"quota" match support'
  446. depends on NETFILTER_XTABLES
  447. help
  448. This option adds a `quota' match, which allows to match on a
  449. byte counter.
  450. If you want to compile it as a module, say M here and read
  451. <file:Documentation/modules.txt>. If unsure, say `N'.
  452. config NETFILTER_XT_MATCH_REALM
  453. tristate '"realm" match support'
  454. depends on NETFILTER_XTABLES
  455. select NET_CLS_ROUTE
  456. help
  457. This option adds a `realm' match, which allows you to use the realm
  458. key from the routing subsystem inside iptables.
  459. This match pretty much resembles the CONFIG_NET_CLS_ROUTE4 option
  460. in tc world.
  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_SCTP
  464. tristate '"sctp" protocol match support (EXPERIMENTAL)'
  465. depends on NETFILTER_XTABLES && EXPERIMENTAL
  466. help
  467. With this option enabled, you will be able to use the
  468. `sctp' match in order to match on SCTP source/destination ports
  469. and SCTP chunk types.
  470. If you want to compile it as a module, say M here and read
  471. <file:Documentation/modules.txt>. If unsure, say `N'.
  472. config NETFILTER_XT_MATCH_STATE
  473. tristate '"state" match support'
  474. depends on NETFILTER_XTABLES
  475. depends on IP_NF_CONNTRACK || NF_CONNTRACK
  476. help
  477. Connection state matching allows you to match packets based on their
  478. relationship to a tracked connection (ie. previous packets). This
  479. is a powerful tool for packet classification.
  480. To compile it as a module, choose M here. If unsure, say N.
  481. config NETFILTER_XT_MATCH_STATISTIC
  482. tristate '"statistic" match support'
  483. depends on NETFILTER_XTABLES
  484. help
  485. This option adds a `statistic' match, which allows you to match
  486. on packets periodically or randomly with a given percentage.
  487. To compile it as a module, choose M here. If unsure, say N.
  488. config NETFILTER_XT_MATCH_STRING
  489. tristate '"string" match support'
  490. depends on NETFILTER_XTABLES
  491. select TEXTSEARCH
  492. select TEXTSEARCH_KMP
  493. select TEXTSEARCH_BM
  494. select TEXTSEARCH_FSM
  495. help
  496. This option adds a `string' match, which allows you to look for
  497. pattern matchings in packets.
  498. To compile it as a module, choose M here. If unsure, say N.
  499. config NETFILTER_XT_MATCH_TCPMSS
  500. tristate '"tcpmss" match support'
  501. depends on NETFILTER_XTABLES
  502. help
  503. This option adds a `tcpmss' match, which allows you to examine the
  504. MSS value of TCP SYN packets, which control the maximum packet size
  505. for that connection.
  506. To compile it as a module, choose M here. If unsure, say N.
  507. config NETFILTER_XT_MATCH_HASHLIMIT
  508. tristate '"hashlimit" match support'
  509. depends on NETFILTER_XTABLES
  510. help
  511. This option adds a `hashlimit' match.
  512. As opposed to `limit', this match dynamically creates a hash table
  513. of limit buckets, based on your selection of source/destination
  514. addresses and/or ports.
  515. It enables you to express policies like `10kpps for any given
  516. destination address' or `500pps from any given source address'
  517. with a single rule.
  518. endmenu