Kconfig 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273
  1. menu "Core Netfilter Configuration"
  2. depends on NET && INET && NETFILTER
  3. config NETFILTER_NETLINK
  4. tristate
  5. config NETFILTER_NETLINK_ACCT
  6. tristate "Netfilter NFACCT 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 extended accounting via NFNETLINK.
  12. config NETFILTER_NETLINK_QUEUE
  13. tristate "Netfilter NFQUEUE over NFNETLINK interface"
  14. depends on NETFILTER_ADVANCED
  15. select NETFILTER_NETLINK
  16. help
  17. If this option is enabled, the kernel will include support
  18. for queueing packets via NFNETLINK.
  19. config NETFILTER_NETLINK_LOG
  20. tristate "Netfilter LOG over NFNETLINK interface"
  21. default m if NETFILTER_ADVANCED=n
  22. select NETFILTER_NETLINK
  23. help
  24. If this option is enabled, the kernel will include support
  25. for logging packets via NFNETLINK.
  26. This obsoletes the existing ipt_ULOG and ebg_ulog mechanisms,
  27. and is also scheduled to replace the old syslog-based ipt_LOG
  28. and ip6t_LOG modules.
  29. config NF_CONNTRACK
  30. tristate "Netfilter connection tracking support"
  31. default m if NETFILTER_ADVANCED=n
  32. help
  33. Connection tracking keeps a record of what packets have passed
  34. through your machine, in order to figure out how they are related
  35. into connections.
  36. This is required to do Masquerading or other kinds of Network
  37. Address Translation. It can also be used to enhance packet
  38. filtering (see `Connection state match support' below).
  39. To compile it as a module, choose M here. If unsure, say N.
  40. if NF_CONNTRACK
  41. config NF_CONNTRACK_MARK
  42. bool 'Connection mark tracking support'
  43. depends on NETFILTER_ADVANCED
  44. help
  45. This option enables support for connection marks, used by the
  46. `CONNMARK' target and `connmark' match. Similar to the mark value
  47. of packets, but this mark value is kept in the conntrack session
  48. instead of the individual packets.
  49. config NF_CONNTRACK_SECMARK
  50. bool 'Connection tracking security mark support'
  51. depends on NETWORK_SECMARK
  52. default m if NETFILTER_ADVANCED=n
  53. help
  54. This option enables security markings to be applied to
  55. connections. Typically they are copied to connections from
  56. packets using the CONNSECMARK target and copied back from
  57. connections to packets with the same target, with the packets
  58. being originally labeled via SECMARK.
  59. If unsure, say 'N'.
  60. config NF_CONNTRACK_ZONES
  61. bool 'Connection tracking zones'
  62. depends on NETFILTER_ADVANCED
  63. depends on NETFILTER_XT_TARGET_CT
  64. help
  65. This option enables support for connection tracking zones.
  66. Normally, each connection needs to have a unique system wide
  67. identity. Connection tracking zones allow to have multiple
  68. connections using the same identity, as long as they are
  69. contained in different zones.
  70. If unsure, say `N'.
  71. config NF_CONNTRACK_PROCFS
  72. bool "Supply CT list in procfs (OBSOLETE)"
  73. default y
  74. depends on PROC_FS
  75. ---help---
  76. This option enables for the list of known conntrack entries
  77. to be shown in procfs under net/netfilter/nf_conntrack. This
  78. is considered obsolete in favor of using the conntrack(8)
  79. tool which uses Netlink.
  80. config NF_CONNTRACK_EVENTS
  81. bool "Connection tracking events"
  82. depends on NETFILTER_ADVANCED
  83. help
  84. If this option is enabled, the connection tracking code will
  85. provide a notifier chain that can be used by other kernel code
  86. to get notified about changes in the connection tracking state.
  87. If unsure, say `N'.
  88. config NF_CONNTRACK_TIMEOUT
  89. bool 'Connection tracking timeout'
  90. depends on NETFILTER_ADVANCED
  91. help
  92. This option enables support for connection tracking timeout
  93. extension. This allows you to attach timeout policies to flow
  94. via the CT target.
  95. If unsure, say `N'.
  96. config NF_CONNTRACK_TIMESTAMP
  97. bool 'Connection tracking timestamping'
  98. depends on NETFILTER_ADVANCED
  99. help
  100. This option enables support for connection tracking timestamping.
  101. This allows you to store the flow start-time and to obtain
  102. the flow-stop time (once it has been destroyed) via Connection
  103. tracking events.
  104. If unsure, say `N'.
  105. config NF_CONNTRACK_LABELS
  106. bool
  107. help
  108. This option enables support for assigning user-defined flag bits
  109. to connection tracking entries. It selected by the connlabel match.
  110. config NF_CT_PROTO_DCCP
  111. tristate 'DCCP protocol connection tracking support'
  112. depends on NETFILTER_ADVANCED
  113. default IP_DCCP
  114. help
  115. With this option enabled, the layer 3 independent connection
  116. tracking code will be able to do state tracking on DCCP connections.
  117. If unsure, say 'N'.
  118. config NF_CT_PROTO_GRE
  119. tristate
  120. config NF_CT_PROTO_SCTP
  121. tristate 'SCTP protocol connection tracking support'
  122. depends on NETFILTER_ADVANCED
  123. default IP_SCTP
  124. help
  125. With this option enabled, the layer 3 independent connection
  126. tracking code will be able to do state tracking on SCTP connections.
  127. If you want to compile it as a module, say M here and read
  128. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  129. config NF_CT_PROTO_UDPLITE
  130. tristate 'UDP-Lite protocol connection tracking support'
  131. depends on NETFILTER_ADVANCED
  132. help
  133. With this option enabled, the layer 3 independent connection
  134. tracking code will be able to do state tracking on UDP-Lite
  135. connections.
  136. To compile it as a module, choose M here. If unsure, say N.
  137. config NF_CONNTRACK_AMANDA
  138. tristate "Amanda backup protocol support"
  139. depends on NETFILTER_ADVANCED
  140. select TEXTSEARCH
  141. select TEXTSEARCH_KMP
  142. help
  143. If you are running the Amanda backup package <http://www.amanda.org/>
  144. on this machine or machines that will be MASQUERADED through this
  145. machine, then you may want to enable this feature. This allows the
  146. connection tracking and natting code to allow the sub-channels that
  147. Amanda requires for communication of the backup data, messages and
  148. index.
  149. To compile it as a module, choose M here. If unsure, say N.
  150. config NF_CONNTRACK_FTP
  151. tristate "FTP protocol support"
  152. default m if NETFILTER_ADVANCED=n
  153. help
  154. Tracking FTP connections is problematic: special helpers are
  155. required for tracking them, and doing masquerading and other forms
  156. of Network Address Translation on them.
  157. This is FTP support on Layer 3 independent connection tracking.
  158. Layer 3 independent connection tracking is experimental scheme
  159. which generalize ip_conntrack to support other layer 3 protocols.
  160. To compile it as a module, choose M here. If unsure, say N.
  161. config NF_CONNTRACK_H323
  162. tristate "H.323 protocol support"
  163. depends on (IPV6 || IPV6=n)
  164. depends on NETFILTER_ADVANCED
  165. help
  166. H.323 is a VoIP signalling protocol from ITU-T. As one of the most
  167. important VoIP protocols, it is widely used by voice hardware and
  168. software including voice gateways, IP phones, Netmeeting, OpenPhone,
  169. Gnomemeeting, etc.
  170. With this module you can support H.323 on a connection tracking/NAT
  171. firewall.
  172. This module supports RAS, Fast Start, H.245 Tunnelling, Call
  173. Forwarding, RTP/RTCP and T.120 based audio, video, fax, chat,
  174. whiteboard, file transfer, etc. For more information, please
  175. visit http://nath323.sourceforge.net/.
  176. To compile it as a module, choose M here. If unsure, say N.
  177. config NF_CONNTRACK_IRC
  178. tristate "IRC protocol support"
  179. default m if NETFILTER_ADVANCED=n
  180. help
  181. There is a commonly-used extension to IRC called
  182. Direct Client-to-Client Protocol (DCC). This enables users to send
  183. files to each other, and also chat to each other without the need
  184. of a server. DCC Sending is used anywhere you send files over IRC,
  185. and DCC Chat is most commonly used by Eggdrop bots. If you are
  186. using NAT, this extension will enable you to send files and initiate
  187. chats. Note that you do NOT need this extension to get files or
  188. have others initiate chats, or everything else in IRC.
  189. To compile it as a module, choose M here. If unsure, say N.
  190. config NF_CONNTRACK_BROADCAST
  191. tristate
  192. config NF_CONNTRACK_NETBIOS_NS
  193. tristate "NetBIOS name service protocol support"
  194. select NF_CONNTRACK_BROADCAST
  195. help
  196. NetBIOS name service requests are sent as broadcast messages from an
  197. unprivileged port and responded to with unicast messages to the
  198. same port. This make them hard to firewall properly because connection
  199. tracking doesn't deal with broadcasts. This helper tracks locally
  200. originating NetBIOS name service requests and the corresponding
  201. responses. It relies on correct IP address configuration, specifically
  202. netmask and broadcast address. When properly configured, the output
  203. of "ip address show" should look similar to this:
  204. $ ip -4 address show eth0
  205. 4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
  206. inet 172.16.2.252/24 brd 172.16.2.255 scope global eth0
  207. To compile it as a module, choose M here. If unsure, say N.
  208. config NF_CONNTRACK_SNMP
  209. tristate "SNMP service protocol support"
  210. depends on NETFILTER_ADVANCED
  211. select NF_CONNTRACK_BROADCAST
  212. help
  213. SNMP service requests are sent as broadcast messages from an
  214. unprivileged port and responded to with unicast messages to the
  215. same port. This make them hard to firewall properly because connection
  216. tracking doesn't deal with broadcasts. This helper tracks locally
  217. originating SNMP service requests and the corresponding
  218. responses. It relies on correct IP address configuration, specifically
  219. netmask and broadcast address.
  220. To compile it as a module, choose M here. If unsure, say N.
  221. config NF_CONNTRACK_PPTP
  222. tristate "PPtP protocol support"
  223. depends on NETFILTER_ADVANCED
  224. select NF_CT_PROTO_GRE
  225. help
  226. This module adds support for PPTP (Point to Point Tunnelling
  227. Protocol, RFC2637) connection tracking and NAT.
  228. If you are running PPTP sessions over a stateful firewall or NAT
  229. box, you may want to enable this feature.
  230. Please note that not all PPTP modes of operation are supported yet.
  231. Specifically these limitations exist:
  232. - Blindly assumes that control connections are always established
  233. in PNS->PAC direction. This is a violation of RFC2637.
  234. - Only supports a single call within each session
  235. To compile it as a module, choose M here. If unsure, say N.
  236. config NF_CONNTRACK_SANE
  237. tristate "SANE protocol support"
  238. depends on NETFILTER_ADVANCED
  239. help
  240. SANE is a protocol for remote access to scanners as implemented
  241. by the 'saned' daemon. Like FTP, it uses separate control and
  242. data connections.
  243. With this module you can support SANE on a connection tracking
  244. firewall.
  245. To compile it as a module, choose M here. If unsure, say N.
  246. config NF_CONNTRACK_SIP
  247. tristate "SIP protocol support"
  248. default m if NETFILTER_ADVANCED=n
  249. help
  250. SIP is an application-layer control protocol that can establish,
  251. modify, and terminate multimedia sessions (conferences) such as
  252. Internet telephony calls. With the ip_conntrack_sip and
  253. the nf_nat_sip modules you can support the protocol on a connection
  254. tracking/NATing firewall.
  255. To compile it as a module, choose M here. If unsure, say N.
  256. config NF_CONNTRACK_TFTP
  257. tristate "TFTP protocol support"
  258. depends on NETFILTER_ADVANCED
  259. help
  260. TFTP connection tracking helper, this is required depending
  261. on how restrictive your ruleset is.
  262. If you are using a tftp client behind -j SNAT or -j MASQUERADING
  263. you will need this.
  264. To compile it as a module, choose M here. If unsure, say N.
  265. config NF_CT_NETLINK
  266. tristate 'Connection tracking netlink interface'
  267. select NETFILTER_NETLINK
  268. default m if NETFILTER_ADVANCED=n
  269. help
  270. This option enables support for a netlink-based userspace interface
  271. config NF_CT_NETLINK_TIMEOUT
  272. tristate 'Connection tracking timeout tuning via Netlink'
  273. select NETFILTER_NETLINK
  274. depends on NETFILTER_ADVANCED
  275. help
  276. This option enables support for connection tracking timeout
  277. fine-grain tuning. This allows you to attach specific timeout
  278. policies to flows, instead of using the global timeout policy.
  279. If unsure, say `N'.
  280. config NF_CT_NETLINK_HELPER
  281. tristate 'Connection tracking helpers in user-space via Netlink'
  282. select NETFILTER_NETLINK
  283. depends on NF_CT_NETLINK
  284. depends on NETFILTER_NETLINK_QUEUE
  285. depends on NETFILTER_NETLINK_QUEUE_CT
  286. depends on NETFILTER_ADVANCED
  287. help
  288. This option enables the user-space connection tracking helpers
  289. infrastructure.
  290. If unsure, say `N'.
  291. config NETFILTER_NETLINK_QUEUE_CT
  292. bool "NFQUEUE integration with Connection Tracking"
  293. default n
  294. depends on NETFILTER_NETLINK_QUEUE
  295. help
  296. If this option is enabled, NFQUEUE can include Connection Tracking
  297. information together with the packet is the enqueued via NFNETLINK.
  298. config NF_NAT
  299. tristate
  300. config NF_NAT_NEEDED
  301. bool
  302. depends on NF_NAT
  303. default y
  304. config NF_NAT_PROTO_DCCP
  305. tristate
  306. depends on NF_NAT && NF_CT_PROTO_DCCP
  307. default NF_NAT && NF_CT_PROTO_DCCP
  308. config NF_NAT_PROTO_UDPLITE
  309. tristate
  310. depends on NF_NAT && NF_CT_PROTO_UDPLITE
  311. default NF_NAT && NF_CT_PROTO_UDPLITE
  312. config NF_NAT_PROTO_SCTP
  313. tristate
  314. default NF_NAT && NF_CT_PROTO_SCTP
  315. depends on NF_NAT && NF_CT_PROTO_SCTP
  316. select LIBCRC32C
  317. config NF_NAT_AMANDA
  318. tristate
  319. depends on NF_CONNTRACK && NF_NAT
  320. default NF_NAT && NF_CONNTRACK_AMANDA
  321. config NF_NAT_FTP
  322. tristate
  323. depends on NF_CONNTRACK && NF_NAT
  324. default NF_NAT && NF_CONNTRACK_FTP
  325. config NF_NAT_IRC
  326. tristate
  327. depends on NF_CONNTRACK && NF_NAT
  328. default NF_NAT && NF_CONNTRACK_IRC
  329. config NF_NAT_SIP
  330. tristate
  331. depends on NF_CONNTRACK && NF_NAT
  332. default NF_NAT && NF_CONNTRACK_SIP
  333. config NF_NAT_TFTP
  334. tristate
  335. depends on NF_CONNTRACK && NF_NAT
  336. default NF_NAT && NF_CONNTRACK_TFTP
  337. endif # NF_CONNTRACK
  338. # transparent proxy support
  339. config NETFILTER_TPROXY
  340. tristate "Transparent proxying support"
  341. depends on IP_NF_MANGLE
  342. depends on NETFILTER_ADVANCED
  343. help
  344. This option enables transparent proxying support, that is,
  345. support for handling non-locally bound IPv4 TCP and UDP sockets.
  346. For it to work you will have to configure certain iptables rules
  347. and use policy routing. For more information on how to set it up
  348. see Documentation/networking/tproxy.txt.
  349. To compile it as a module, choose M here. If unsure, say N.
  350. config NETFILTER_XTABLES
  351. tristate "Netfilter Xtables support (required for ip_tables)"
  352. default m if NETFILTER_ADVANCED=n
  353. help
  354. This is required if you intend to use any of ip_tables,
  355. ip6_tables or arp_tables.
  356. if NETFILTER_XTABLES
  357. comment "Xtables combined modules"
  358. config NETFILTER_XT_MARK
  359. tristate 'nfmark target and match support'
  360. default m if NETFILTER_ADVANCED=n
  361. ---help---
  362. This option adds the "MARK" target and "mark" match.
  363. Netfilter mark matching allows you to match packets based on the
  364. "nfmark" value in the packet.
  365. The target allows you to create rules in the "mangle" table which alter
  366. the netfilter mark (nfmark) field associated with the packet.
  367. Prior to routing, the nfmark can influence the routing method (see
  368. "Use netfilter MARK value as routing key") and can also be used by
  369. other subsystems to change their behavior.
  370. config NETFILTER_XT_CONNMARK
  371. tristate 'ctmark target and match support'
  372. depends on NF_CONNTRACK
  373. depends on NETFILTER_ADVANCED
  374. select NF_CONNTRACK_MARK
  375. ---help---
  376. This option adds the "CONNMARK" target and "connmark" match.
  377. Netfilter allows you to store a mark value per connection (a.k.a.
  378. ctmark), similarly to the packet mark (nfmark). Using this
  379. target and match, you can set and match on this mark.
  380. config NETFILTER_XT_SET
  381. tristate 'set target and match support'
  382. depends on IP_SET
  383. depends on NETFILTER_ADVANCED
  384. help
  385. This option adds the "SET" target and "set" match.
  386. Using this target and match, you can add/delete and match
  387. elements in the sets created by ipset(8).
  388. To compile it as a module, choose M here. If unsure, say N.
  389. # alphabetically ordered list of targets
  390. comment "Xtables targets"
  391. config NETFILTER_XT_TARGET_AUDIT
  392. tristate "AUDIT target support"
  393. depends on AUDIT
  394. depends on NETFILTER_ADVANCED
  395. ---help---
  396. This option adds a 'AUDIT' target, which can be used to create
  397. audit records for packets dropped/accepted.
  398. To compileit as a module, choose M here. If unsure, say N.
  399. config NETFILTER_XT_TARGET_CHECKSUM
  400. tristate "CHECKSUM target support"
  401. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  402. depends on NETFILTER_ADVANCED
  403. ---help---
  404. This option adds a `CHECKSUM' target, which can be used in the iptables mangle
  405. table.
  406. You can use this target to compute and fill in the checksum in
  407. a packet that lacks a checksum. This is particularly useful,
  408. if you need to work around old applications such as dhcp clients,
  409. that do not work well with checksum offloads, but don't want to disable
  410. checksum offload in your device.
  411. To compile it as a module, choose M here. If unsure, say N.
  412. config NETFILTER_XT_TARGET_CLASSIFY
  413. tristate '"CLASSIFY" target support'
  414. depends on NETFILTER_ADVANCED
  415. help
  416. This option adds a `CLASSIFY' target, which enables the user to set
  417. the priority of a packet. Some qdiscs can use this value for
  418. classification, among these are:
  419. atm, cbq, dsmark, pfifo_fast, htb, prio
  420. To compile it as a module, choose M here. If unsure, say N.
  421. config NETFILTER_XT_TARGET_CONNMARK
  422. tristate '"CONNMARK" target support'
  423. depends on NF_CONNTRACK
  424. depends on NETFILTER_ADVANCED
  425. select NETFILTER_XT_CONNMARK
  426. ---help---
  427. This is a backwards-compat option for the user's convenience
  428. (e.g. when running oldconfig). It selects
  429. CONFIG_NETFILTER_XT_CONNMARK (combined connmark/CONNMARK module).
  430. config NETFILTER_XT_TARGET_CONNSECMARK
  431. tristate '"CONNSECMARK" target support'
  432. depends on NF_CONNTRACK && NF_CONNTRACK_SECMARK
  433. default m if NETFILTER_ADVANCED=n
  434. help
  435. The CONNSECMARK target copies security markings from packets
  436. to connections, and restores security markings from connections
  437. to packets (if the packets are not already marked). This would
  438. normally be used in conjunction with the SECMARK target.
  439. To compile it as a module, choose M here. If unsure, say N.
  440. config NETFILTER_XT_TARGET_CT
  441. tristate '"CT" target support'
  442. depends on NF_CONNTRACK
  443. depends on IP_NF_RAW || IP6_NF_RAW
  444. depends on NETFILTER_ADVANCED
  445. help
  446. This options adds a `CT' target, which allows to specify initial
  447. connection tracking parameters like events to be delivered and
  448. the helper to be used.
  449. To compile it as a module, choose M here. If unsure, say N.
  450. config NETFILTER_XT_TARGET_DSCP
  451. tristate '"DSCP" and "TOS" target support'
  452. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  453. depends on NETFILTER_ADVANCED
  454. help
  455. This option adds a `DSCP' target, which allows you to manipulate
  456. the IPv4/IPv6 header DSCP field (differentiated services codepoint).
  457. The DSCP field can have any value between 0x0 and 0x3f inclusive.
  458. It also adds the "TOS" target, which allows you to create rules in
  459. the "mangle" table which alter the Type Of Service field of an IPv4
  460. or the Priority field of an IPv6 packet, prior to routing.
  461. To compile it as a module, choose M here. If unsure, say N.
  462. config NETFILTER_XT_TARGET_HL
  463. tristate '"HL" hoplimit target support'
  464. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  465. depends on NETFILTER_ADVANCED
  466. ---help---
  467. This option adds the "HL" (for IPv6) and "TTL" (for IPv4)
  468. targets, which enable the user to change the
  469. hoplimit/time-to-live value of the IP header.
  470. While it is safe to decrement the hoplimit/TTL value, the
  471. modules also allow to increment and set the hoplimit value of
  472. the header to arbitrary values. This is EXTREMELY DANGEROUS
  473. since you can easily create immortal packets that loop
  474. forever on the network.
  475. config NETFILTER_XT_TARGET_HMARK
  476. tristate '"HMARK" target support'
  477. depends on (IP6_NF_IPTABLES || IP6_NF_IPTABLES=n)
  478. depends on NETFILTER_ADVANCED
  479. ---help---
  480. This option adds the "HMARK" target.
  481. The target allows you to create rules in the "raw" and "mangle" tables
  482. which set the skbuff mark by means of hash calculation within a given
  483. range. The nfmark can influence the routing method (see "Use netfilter
  484. MARK value as routing key") and can also be used by other subsystems to
  485. change their behaviour.
  486. To compile it as a module, choose M here. If unsure, say N.
  487. config NETFILTER_XT_TARGET_IDLETIMER
  488. tristate "IDLETIMER target support"
  489. depends on NETFILTER_ADVANCED
  490. help
  491. This option adds the `IDLETIMER' target. Each matching packet
  492. resets the timer associated with label specified when the rule is
  493. added. When the timer expires, it triggers a sysfs notification.
  494. The remaining time for expiration can be read via sysfs.
  495. To compile it as a module, choose M here. If unsure, say N.
  496. config NETFILTER_XT_TARGET_LED
  497. tristate '"LED" target support'
  498. depends on LEDS_CLASS && LEDS_TRIGGERS
  499. depends on NETFILTER_ADVANCED
  500. help
  501. This option adds a `LED' target, which allows you to blink LEDs in
  502. response to particular packets passing through your machine.
  503. This can be used to turn a spare LED into a network activity LED,
  504. which only flashes in response to FTP transfers, for example. Or
  505. you could have an LED which lights up for a minute or two every time
  506. somebody connects to your machine via SSH.
  507. You will need support for the "led" class to make this work.
  508. To create an LED trigger for incoming SSH traffic:
  509. iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000
  510. Then attach the new trigger to an LED on your system:
  511. echo netfilter-ssh > /sys/class/leds/<ledname>/trigger
  512. For more information on the LEDs available on your system, see
  513. Documentation/leds/leds-class.txt
  514. config NETFILTER_XT_TARGET_LOG
  515. tristate "LOG target support"
  516. default m if NETFILTER_ADVANCED=n
  517. help
  518. This option adds a `LOG' target, which allows you to create rules in
  519. any iptables table which records the packet header to the syslog.
  520. To compile it as a module, choose M here. If unsure, say N.
  521. config NETFILTER_XT_TARGET_MARK
  522. tristate '"MARK" target support'
  523. depends on NETFILTER_ADVANCED
  524. select NETFILTER_XT_MARK
  525. ---help---
  526. This is a backwards-compat option for the user's convenience
  527. (e.g. when running oldconfig). It selects
  528. CONFIG_NETFILTER_XT_MARK (combined mark/MARK module).
  529. config NETFILTER_XT_TARGET_NETMAP
  530. tristate '"NETMAP" target support'
  531. depends on NF_NAT
  532. ---help---
  533. NETMAP is an implementation of static 1:1 NAT mapping of network
  534. addresses. It maps the network address part, while keeping the host
  535. address part intact.
  536. To compile it as a module, choose M here. If unsure, say N.
  537. config NETFILTER_XT_TARGET_NFLOG
  538. tristate '"NFLOG" target support'
  539. default m if NETFILTER_ADVANCED=n
  540. select NETFILTER_NETLINK_LOG
  541. help
  542. This option enables the NFLOG target, which allows to LOG
  543. messages through nfnetlink_log.
  544. To compile it as a module, choose M here. If unsure, say N.
  545. config NETFILTER_XT_TARGET_NFQUEUE
  546. tristate '"NFQUEUE" target Support'
  547. depends on NETFILTER_ADVANCED
  548. select NETFILTER_NETLINK_QUEUE
  549. help
  550. This target replaced the old obsolete QUEUE target.
  551. As opposed to QUEUE, it supports 65535 different queues,
  552. not just one.
  553. To compile it as a module, choose M here. If unsure, say N.
  554. config NETFILTER_XT_TARGET_NOTRACK
  555. tristate '"NOTRACK" target support (DEPRECATED)'
  556. depends on NF_CONNTRACK
  557. depends on IP_NF_RAW || IP6_NF_RAW
  558. depends on NETFILTER_ADVANCED
  559. select NETFILTER_XT_TARGET_CT
  560. config NETFILTER_XT_TARGET_RATEEST
  561. tristate '"RATEEST" target support'
  562. depends on NETFILTER_ADVANCED
  563. help
  564. This option adds a `RATEEST' target, which allows to measure
  565. rates similar to TC estimators. The `rateest' match can be
  566. used to match on the measured rates.
  567. To compile it as a module, choose M here. If unsure, say N.
  568. config NETFILTER_XT_TARGET_REDIRECT
  569. tristate "REDIRECT target support"
  570. depends on NF_NAT
  571. ---help---
  572. REDIRECT is a special case of NAT: all incoming connections are
  573. mapped onto the incoming interface's address, causing the packets to
  574. come to the local machine instead of passing through. This is
  575. useful for transparent proxies.
  576. To compile it as a module, choose M here. If unsure, say N.
  577. config NETFILTER_XT_TARGET_TEE
  578. tristate '"TEE" - packet cloning to alternate destination'
  579. depends on NETFILTER_ADVANCED
  580. depends on (IPV6 || IPV6=n)
  581. depends on !NF_CONNTRACK || NF_CONNTRACK
  582. ---help---
  583. This option adds a "TEE" target with which a packet can be cloned and
  584. this clone be rerouted to another nexthop.
  585. config NETFILTER_XT_TARGET_TPROXY
  586. tristate '"TPROXY" target support'
  587. depends on NETFILTER_TPROXY
  588. depends on NETFILTER_XTABLES
  589. depends on NETFILTER_ADVANCED
  590. select NF_DEFRAG_IPV4
  591. select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES
  592. help
  593. This option adds a `TPROXY' target, which is somewhat similar to
  594. REDIRECT. It can only be used in the mangle table and is useful
  595. to redirect traffic to a transparent proxy. It does _not_ depend
  596. on Netfilter connection tracking and NAT, unlike REDIRECT.
  597. To compile it as a module, choose M here. If unsure, say N.
  598. config NETFILTER_XT_TARGET_TRACE
  599. tristate '"TRACE" target support'
  600. depends on IP_NF_RAW || IP6_NF_RAW
  601. depends on NETFILTER_ADVANCED
  602. help
  603. The TRACE target allows you to mark packets so that the kernel
  604. will log every rule which match the packets as those traverse
  605. the tables, chains, rules.
  606. If you want to compile it as a module, say M here and read
  607. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  608. config NETFILTER_XT_TARGET_SECMARK
  609. tristate '"SECMARK" target support'
  610. depends on NETWORK_SECMARK
  611. default m if NETFILTER_ADVANCED=n
  612. help
  613. The SECMARK target allows security marking of network
  614. packets, for use with security subsystems.
  615. To compile it as a module, choose M here. If unsure, say N.
  616. config NETFILTER_XT_TARGET_TCPMSS
  617. tristate '"TCPMSS" target support'
  618. depends on (IPV6 || IPV6=n)
  619. default m if NETFILTER_ADVANCED=n
  620. ---help---
  621. This option adds a `TCPMSS' target, which allows you to alter the
  622. MSS value of TCP SYN packets, to control the maximum size for that
  623. connection (usually limiting it to your outgoing interface's MTU
  624. minus 40).
  625. This is used to overcome criminally braindead ISPs or servers which
  626. block ICMP Fragmentation Needed packets. The symptoms of this
  627. problem are that everything works fine from your Linux
  628. firewall/router, but machines behind it can never exchange large
  629. packets:
  630. 1) Web browsers connect, then hang with no data received.
  631. 2) Small mail works fine, but large emails hang.
  632. 3) ssh works fine, but scp hangs after initial handshaking.
  633. Workaround: activate this option and add a rule to your firewall
  634. configuration like:
  635. iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN \
  636. -j TCPMSS --clamp-mss-to-pmtu
  637. To compile it as a module, choose M here. If unsure, say N.
  638. config NETFILTER_XT_TARGET_TCPOPTSTRIP
  639. tristate '"TCPOPTSTRIP" target support'
  640. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  641. depends on NETFILTER_ADVANCED
  642. help
  643. This option adds a "TCPOPTSTRIP" target, which allows you to strip
  644. TCP options from TCP packets.
  645. # alphabetically ordered list of matches
  646. comment "Xtables matches"
  647. config NETFILTER_XT_MATCH_ADDRTYPE
  648. tristate '"addrtype" address type match support'
  649. depends on NETFILTER_ADVANCED
  650. ---help---
  651. This option allows you to match what routing thinks of an address,
  652. eg. UNICAST, LOCAL, BROADCAST, ...
  653. If you want to compile it as a module, say M here and read
  654. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  655. config NETFILTER_XT_MATCH_BPF
  656. tristate '"bpf" match support'
  657. depends on NETFILTER_ADVANCED
  658. help
  659. BPF matching applies a linux socket filter to each packet and
  660. accepts those for which the filter returns non-zero.
  661. To compile it as a module, choose M here. If unsure, say N.
  662. config NETFILTER_XT_MATCH_CLUSTER
  663. tristate '"cluster" match support'
  664. depends on NF_CONNTRACK
  665. depends on NETFILTER_ADVANCED
  666. ---help---
  667. This option allows you to build work-load-sharing clusters of
  668. network servers/stateful firewalls without having a dedicated
  669. load-balancing router/server/switch. Basically, this match returns
  670. true when the packet must be handled by this cluster node. Thus,
  671. all nodes see all packets and this match decides which node handles
  672. what packets. The work-load sharing algorithm is based on source
  673. address hashing.
  674. If you say Y or M here, try `iptables -m cluster --help` for
  675. more information.
  676. config NETFILTER_XT_MATCH_COMMENT
  677. tristate '"comment" match support'
  678. depends on NETFILTER_ADVANCED
  679. help
  680. This option adds a `comment' dummy-match, which allows you to put
  681. comments in your iptables ruleset.
  682. If you want to compile it as a module, say M here and read
  683. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  684. config NETFILTER_XT_MATCH_CONNBYTES
  685. tristate '"connbytes" per-connection counter match support'
  686. depends on NF_CONNTRACK
  687. depends on NETFILTER_ADVANCED
  688. help
  689. This option adds a `connbytes' match, which allows you to match the
  690. number of bytes and/or packets for each direction within a connection.
  691. If you want to compile it as a module, say M here and read
  692. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  693. config NETFILTER_XT_MATCH_CONNLABEL
  694. tristate '"connlabel" match support'
  695. select NF_CONNTRACK_LABELS
  696. depends on NF_CONNTRACK
  697. depends on NETFILTER_ADVANCED
  698. ---help---
  699. This match allows you to test and assign userspace-defined labels names
  700. to a connection. The kernel only stores bit values - mapping
  701. names to bits is done by userspace.
  702. Unlike connmark, more than 32 flag bits may be assigned to a
  703. connection simultaneously.
  704. config NETFILTER_XT_MATCH_CONNLIMIT
  705. tristate '"connlimit" match support"'
  706. depends on NF_CONNTRACK
  707. depends on NETFILTER_ADVANCED
  708. ---help---
  709. This match allows you to match against the number of parallel
  710. connections to a server per client IP address (or address block).
  711. config NETFILTER_XT_MATCH_CONNMARK
  712. tristate '"connmark" connection mark match support'
  713. depends on NF_CONNTRACK
  714. depends on NETFILTER_ADVANCED
  715. select NETFILTER_XT_CONNMARK
  716. ---help---
  717. This is a backwards-compat option for the user's convenience
  718. (e.g. when running oldconfig). It selects
  719. CONFIG_NETFILTER_XT_CONNMARK (combined connmark/CONNMARK module).
  720. config NETFILTER_XT_MATCH_CONNTRACK
  721. tristate '"conntrack" connection tracking match support'
  722. depends on NF_CONNTRACK
  723. default m if NETFILTER_ADVANCED=n
  724. help
  725. This is a general conntrack match module, a superset of the state match.
  726. It allows matching on additional conntrack information, which is
  727. useful in complex configurations, such as NAT gateways with multiple
  728. internet links or tunnels.
  729. To compile it as a module, choose M here. If unsure, say N.
  730. config NETFILTER_XT_MATCH_CPU
  731. tristate '"cpu" match support'
  732. depends on NETFILTER_ADVANCED
  733. help
  734. CPU matching allows you to match packets based on the CPU
  735. currently handling the packet.
  736. To compile it as a module, choose M here. If unsure, say N.
  737. config NETFILTER_XT_MATCH_DCCP
  738. tristate '"dccp" protocol match support'
  739. depends on NETFILTER_ADVANCED
  740. default IP_DCCP
  741. help
  742. With this option enabled, you will be able to use the iptables
  743. `dccp' match in order to match on DCCP source/destination ports
  744. and DCCP flags.
  745. If you want to compile it as a module, say M here and read
  746. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  747. config NETFILTER_XT_MATCH_DEVGROUP
  748. tristate '"devgroup" match support'
  749. depends on NETFILTER_ADVANCED
  750. help
  751. This options adds a `devgroup' match, which allows to match on the
  752. device group a network device is assigned to.
  753. To compile it as a module, choose M here. If unsure, say N.
  754. config NETFILTER_XT_MATCH_DSCP
  755. tristate '"dscp" and "tos" match support'
  756. depends on NETFILTER_ADVANCED
  757. help
  758. This option adds a `DSCP' match, which allows you to match against
  759. the IPv4/IPv6 header DSCP field (differentiated services codepoint).
  760. The DSCP field can have any value between 0x0 and 0x3f inclusive.
  761. It will also add a "tos" match, which allows you to match packets
  762. based on the Type Of Service fields of the IPv4 packet (which share
  763. the same bits as DSCP).
  764. To compile it as a module, choose M here. If unsure, say N.
  765. config NETFILTER_XT_MATCH_ECN
  766. tristate '"ecn" match support'
  767. depends on NETFILTER_ADVANCED
  768. ---help---
  769. This option adds an "ECN" match, which allows you to match against
  770. the IPv4 and TCP header ECN fields.
  771. To compile it as a module, choose M here. If unsure, say N.
  772. config NETFILTER_XT_MATCH_ESP
  773. tristate '"esp" match support'
  774. depends on NETFILTER_ADVANCED
  775. help
  776. This match extension allows you to match a range of SPIs
  777. inside ESP header of IPSec packets.
  778. To compile it as a module, choose M here. If unsure, say N.
  779. config NETFILTER_XT_MATCH_HASHLIMIT
  780. tristate '"hashlimit" match support'
  781. depends on (IP6_NF_IPTABLES || IP6_NF_IPTABLES=n)
  782. depends on NETFILTER_ADVANCED
  783. help
  784. This option adds a `hashlimit' match.
  785. As opposed to `limit', this match dynamically creates a hash table
  786. of limit buckets, based on your selection of source/destination
  787. addresses and/or ports.
  788. It enables you to express policies like `10kpps for any given
  789. destination address' or `500pps from any given source address'
  790. with a single rule.
  791. config NETFILTER_XT_MATCH_HELPER
  792. tristate '"helper" match support'
  793. depends on NF_CONNTRACK
  794. depends on NETFILTER_ADVANCED
  795. help
  796. Helper matching allows you to match packets in dynamic connections
  797. tracked by a conntrack-helper, ie. ip_conntrack_ftp
  798. To compile it as a module, choose M here. If unsure, say Y.
  799. config NETFILTER_XT_MATCH_HL
  800. tristate '"hl" hoplimit/TTL match support'
  801. depends on NETFILTER_ADVANCED
  802. ---help---
  803. HL matching allows you to match packets based on the hoplimit
  804. in the IPv6 header, or the time-to-live field in the IPv4
  805. header of the packet.
  806. config NETFILTER_XT_MATCH_IPRANGE
  807. tristate '"iprange" address range match support'
  808. depends on NETFILTER_ADVANCED
  809. ---help---
  810. This option adds a "iprange" match, which allows you to match based on
  811. an IP address range. (Normal iptables only matches on single addresses
  812. with an optional mask.)
  813. If unsure, say M.
  814. config NETFILTER_XT_MATCH_IPVS
  815. tristate '"ipvs" match support'
  816. depends on IP_VS
  817. depends on NETFILTER_ADVANCED
  818. depends on NF_CONNTRACK
  819. help
  820. This option allows you to match against IPVS properties of a packet.
  821. If unsure, say N.
  822. config NETFILTER_XT_MATCH_LENGTH
  823. tristate '"length" match support'
  824. depends on NETFILTER_ADVANCED
  825. help
  826. This option allows you to match the length of a packet against a
  827. specific value or range of values.
  828. To compile it as a module, choose M here. If unsure, say N.
  829. config NETFILTER_XT_MATCH_LIMIT
  830. tristate '"limit" match support'
  831. depends on NETFILTER_ADVANCED
  832. help
  833. limit matching allows you to control the rate at which a rule can be
  834. matched: mainly useful in combination with the LOG target ("LOG
  835. target support", below) and to avoid some Denial of Service attacks.
  836. To compile it as a module, choose M here. If unsure, say N.
  837. config NETFILTER_XT_MATCH_MAC
  838. tristate '"mac" address match support'
  839. depends on NETFILTER_ADVANCED
  840. help
  841. MAC matching allows you to match packets based on the source
  842. Ethernet address of the packet.
  843. To compile it as a module, choose M here. If unsure, say N.
  844. config NETFILTER_XT_MATCH_MARK
  845. tristate '"mark" match support'
  846. depends on NETFILTER_ADVANCED
  847. select NETFILTER_XT_MARK
  848. ---help---
  849. This is a backwards-compat option for the user's convenience
  850. (e.g. when running oldconfig). It selects
  851. CONFIG_NETFILTER_XT_MARK (combined mark/MARK module).
  852. config NETFILTER_XT_MATCH_MULTIPORT
  853. tristate '"multiport" Multiple port match support'
  854. depends on NETFILTER_ADVANCED
  855. help
  856. Multiport matching allows you to match TCP or UDP packets based on
  857. a series of source or destination ports: normally a rule can only
  858. match a single range of ports.
  859. To compile it as a module, choose M here. If unsure, say N.
  860. config NETFILTER_XT_MATCH_NFACCT
  861. tristate '"nfacct" match support'
  862. depends on NETFILTER_ADVANCED
  863. select NETFILTER_NETLINK_ACCT
  864. help
  865. This option allows you to use the extended accounting through
  866. nfnetlink_acct.
  867. To compile it as a module, choose M here. If unsure, say N.
  868. config NETFILTER_XT_MATCH_OSF
  869. tristate '"osf" Passive OS fingerprint match'
  870. depends on NETFILTER_ADVANCED && NETFILTER_NETLINK
  871. help
  872. This option selects the Passive OS Fingerprinting match module
  873. that allows to passively match the remote operating system by
  874. analyzing incoming TCP SYN packets.
  875. Rules and loading software can be downloaded from
  876. http://www.ioremap.net/projects/osf
  877. To compile it as a module, choose M here. If unsure, say N.
  878. config NETFILTER_XT_MATCH_OWNER
  879. tristate '"owner" match support'
  880. depends on NETFILTER_ADVANCED
  881. ---help---
  882. Socket owner matching allows you to match locally-generated packets
  883. based on who created the socket: the user or group. It is also
  884. possible to check whether a socket actually exists.
  885. config NETFILTER_XT_MATCH_POLICY
  886. tristate 'IPsec "policy" match support'
  887. depends on XFRM
  888. default m if NETFILTER_ADVANCED=n
  889. help
  890. Policy matching allows you to match packets based on the
  891. IPsec policy that was used during decapsulation/will
  892. be used during encapsulation.
  893. To compile it as a module, choose M here. If unsure, say N.
  894. config NETFILTER_XT_MATCH_PHYSDEV
  895. tristate '"physdev" match support'
  896. depends on BRIDGE && BRIDGE_NETFILTER
  897. depends on NETFILTER_ADVANCED
  898. help
  899. Physdev packet matching matches against the physical bridge ports
  900. the IP packet arrived on or will leave by.
  901. To compile it as a module, choose M here. If unsure, say N.
  902. config NETFILTER_XT_MATCH_PKTTYPE
  903. tristate '"pkttype" packet type match support'
  904. depends on NETFILTER_ADVANCED
  905. help
  906. Packet type matching allows you to match a packet by
  907. its "class", eg. BROADCAST, MULTICAST, ...
  908. Typical usage:
  909. iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG
  910. To compile it as a module, choose M here. If unsure, say N.
  911. config NETFILTER_XT_MATCH_QUOTA
  912. tristate '"quota" match support'
  913. depends on NETFILTER_ADVANCED
  914. help
  915. This option adds a `quota' match, which allows to match on a
  916. byte counter.
  917. If you want to compile it as a module, say M here and read
  918. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  919. config NETFILTER_XT_MATCH_RATEEST
  920. tristate '"rateest" match support'
  921. depends on NETFILTER_ADVANCED
  922. select NETFILTER_XT_TARGET_RATEEST
  923. help
  924. This option adds a `rateest' match, which allows to match on the
  925. rate estimated by the RATEEST target.
  926. To compile it as a module, choose M here. If unsure, say N.
  927. config NETFILTER_XT_MATCH_REALM
  928. tristate '"realm" match support'
  929. depends on NETFILTER_ADVANCED
  930. select IP_ROUTE_CLASSID
  931. help
  932. This option adds a `realm' match, which allows you to use the realm
  933. key from the routing subsystem inside iptables.
  934. This match pretty much resembles the CONFIG_NET_CLS_ROUTE4 option
  935. in tc world.
  936. If you want to compile it as a module, say M here and read
  937. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  938. config NETFILTER_XT_MATCH_RECENT
  939. tristate '"recent" match support'
  940. depends on NETFILTER_ADVANCED
  941. ---help---
  942. This match is used for creating one or many lists of recently
  943. used addresses and then matching against that/those list(s).
  944. Short options are available by using 'iptables -m recent -h'
  945. Official Website: <http://snowman.net/projects/ipt_recent/>
  946. config NETFILTER_XT_MATCH_SCTP
  947. tristate '"sctp" protocol match support'
  948. depends on NETFILTER_ADVANCED
  949. default IP_SCTP
  950. help
  951. With this option enabled, you will be able to use the
  952. `sctp' match in order to match on SCTP source/destination ports
  953. and SCTP chunk types.
  954. If you want to compile it as a module, say M here and read
  955. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  956. config NETFILTER_XT_MATCH_SOCKET
  957. tristate '"socket" match support'
  958. depends on NETFILTER_TPROXY
  959. depends on NETFILTER_XTABLES
  960. depends on NETFILTER_ADVANCED
  961. depends on !NF_CONNTRACK || NF_CONNTRACK
  962. select NF_DEFRAG_IPV4
  963. select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES
  964. help
  965. This option adds a `socket' match, which can be used to match
  966. packets for which a TCP or UDP socket lookup finds a valid socket.
  967. It can be used in combination with the MARK target and policy
  968. routing to implement full featured non-locally bound sockets.
  969. To compile it as a module, choose M here. If unsure, say N.
  970. config NETFILTER_XT_MATCH_STATE
  971. tristate '"state" match support'
  972. depends on NF_CONNTRACK
  973. default m if NETFILTER_ADVANCED=n
  974. help
  975. Connection state matching allows you to match packets based on their
  976. relationship to a tracked connection (ie. previous packets). This
  977. is a powerful tool for packet classification.
  978. To compile it as a module, choose M here. If unsure, say N.
  979. config NETFILTER_XT_MATCH_STATISTIC
  980. tristate '"statistic" match support'
  981. depends on NETFILTER_ADVANCED
  982. help
  983. This option adds a `statistic' match, which allows you to match
  984. on packets periodically or randomly with a given percentage.
  985. To compile it as a module, choose M here. If unsure, say N.
  986. config NETFILTER_XT_MATCH_STRING
  987. tristate '"string" match support'
  988. depends on NETFILTER_ADVANCED
  989. select TEXTSEARCH
  990. select TEXTSEARCH_KMP
  991. select TEXTSEARCH_BM
  992. select TEXTSEARCH_FSM
  993. help
  994. This option adds a `string' match, which allows you to look for
  995. pattern matchings in packets.
  996. To compile it as a module, choose M here. If unsure, say N.
  997. config NETFILTER_XT_MATCH_TCPMSS
  998. tristate '"tcpmss" match support'
  999. depends on NETFILTER_ADVANCED
  1000. help
  1001. This option adds a `tcpmss' match, which allows you to examine the
  1002. MSS value of TCP SYN packets, which control the maximum packet size
  1003. for that connection.
  1004. To compile it as a module, choose M here. If unsure, say N.
  1005. config NETFILTER_XT_MATCH_TIME
  1006. tristate '"time" match support'
  1007. depends on NETFILTER_ADVANCED
  1008. ---help---
  1009. This option adds a "time" match, which allows you to match based on
  1010. the packet arrival time (at the machine which netfilter is running)
  1011. on) or departure time/date (for locally generated packets).
  1012. If you say Y here, try `iptables -m time --help` for
  1013. more information.
  1014. If you want to compile it as a module, say M here.
  1015. If unsure, say N.
  1016. config NETFILTER_XT_MATCH_U32
  1017. tristate '"u32" match support'
  1018. depends on NETFILTER_ADVANCED
  1019. ---help---
  1020. u32 allows you to extract quantities of up to 4 bytes from a packet,
  1021. AND them with specified masks, shift them by specified amounts and
  1022. test whether the results are in any of a set of specified ranges.
  1023. The specification of what to extract is general enough to skip over
  1024. headers with lengths stored in the packet, as in IP or TCP header
  1025. lengths.
  1026. Details and examples are in the kernel module source.
  1027. endif # NETFILTER_XTABLES
  1028. endmenu
  1029. source "net/netfilter/ipset/Kconfig"
  1030. source "net/netfilter/ipvs/Kconfig"