Kconfig 25 KB

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