Kconfig 42 KB

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