Kconfig 23 KB

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