Kconfig 28 KB

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