Kconfig 41 KB

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