Kconfig 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253
  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. config NF_NAT_TFTP
  332. tristate
  333. depends on NF_CONNTRACK && NF_NAT
  334. default NF_NAT && NF_CONNTRACK_TFTP
  335. endif # NF_CONNTRACK
  336. # transparent proxy support
  337. config NETFILTER_TPROXY
  338. tristate "Transparent proxying support (EXPERIMENTAL)"
  339. depends on EXPERIMENTAL
  340. depends on IP_NF_MANGLE
  341. depends on NETFILTER_ADVANCED
  342. help
  343. This option enables transparent proxying support, that is,
  344. support for handling non-locally bound IPv4 TCP and UDP sockets.
  345. For it to work you will have to configure certain iptables rules
  346. and use policy routing. For more information on how to set it up
  347. see Documentation/networking/tproxy.txt.
  348. To compile it as a module, choose M here. If unsure, say N.
  349. config NETFILTER_XTABLES
  350. tristate "Netfilter Xtables support (required for ip_tables)"
  351. default m if NETFILTER_ADVANCED=n
  352. help
  353. This is required if you intend to use any of ip_tables,
  354. ip6_tables or arp_tables.
  355. if NETFILTER_XTABLES
  356. comment "Xtables combined modules"
  357. config NETFILTER_XT_MARK
  358. tristate 'nfmark target and match support'
  359. default m if NETFILTER_ADVANCED=n
  360. ---help---
  361. This option adds the "MARK" target and "mark" match.
  362. Netfilter mark matching allows you to match packets based on the
  363. "nfmark" value in the packet.
  364. The target allows you to create rules in the "mangle" table which alter
  365. the netfilter mark (nfmark) field associated with the packet.
  366. Prior to routing, the nfmark can influence the routing method (see
  367. "Use netfilter MARK value as routing key") and can also be used by
  368. other subsystems to change their behavior.
  369. config NETFILTER_XT_CONNMARK
  370. tristate 'ctmark target and match support'
  371. depends on NF_CONNTRACK
  372. depends on NETFILTER_ADVANCED
  373. select NF_CONNTRACK_MARK
  374. ---help---
  375. This option adds the "CONNMARK" target and "connmark" match.
  376. Netfilter allows you to store a mark value per connection (a.k.a.
  377. ctmark), similarly to the packet mark (nfmark). Using this
  378. target and match, you can set and match on this mark.
  379. config NETFILTER_XT_SET
  380. tristate 'set target and match support'
  381. depends on IP_SET
  382. depends on NETFILTER_ADVANCED
  383. help
  384. This option adds the "SET" target and "set" match.
  385. Using this target and match, you can add/delete and match
  386. elements in the sets created by ipset(8).
  387. To compile it as a module, choose M here. If unsure, say N.
  388. # alphabetically ordered list of targets
  389. comment "Xtables targets"
  390. config NETFILTER_XT_TARGET_AUDIT
  391. tristate "AUDIT target support"
  392. depends on AUDIT
  393. depends on NETFILTER_ADVANCED
  394. ---help---
  395. This option adds a 'AUDIT' target, which can be used to create
  396. audit records for packets dropped/accepted.
  397. To compileit as a module, choose M here. If unsure, say N.
  398. config NETFILTER_XT_TARGET_CHECKSUM
  399. tristate "CHECKSUM target support"
  400. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  401. depends on NETFILTER_ADVANCED
  402. ---help---
  403. This option adds a `CHECKSUM' target, which can be used in the iptables mangle
  404. table.
  405. You can use this target to compute and fill in the checksum in
  406. a packet that lacks a checksum. This is particularly useful,
  407. if you need to work around old applications such as dhcp clients,
  408. that do not work well with checksum offloads, but don't want to disable
  409. checksum offload in your device.
  410. To compile it as a module, choose M here. If unsure, say N.
  411. config NETFILTER_XT_TARGET_CLASSIFY
  412. tristate '"CLASSIFY" target support'
  413. depends on NETFILTER_ADVANCED
  414. help
  415. This option adds a `CLASSIFY' target, which enables the user to set
  416. the priority of a packet. Some qdiscs can use this value for
  417. classification, among these are:
  418. atm, cbq, dsmark, pfifo_fast, htb, prio
  419. To compile it as a module, choose M here. If unsure, say N.
  420. config NETFILTER_XT_TARGET_CONNMARK
  421. tristate '"CONNMARK" target support'
  422. depends on NF_CONNTRACK
  423. depends on NETFILTER_ADVANCED
  424. select NETFILTER_XT_CONNMARK
  425. ---help---
  426. This is a backwards-compat option for the user's convenience
  427. (e.g. when running oldconfig). It selects
  428. CONFIG_NETFILTER_XT_CONNMARK (combined connmark/CONNMARK module).
  429. config NETFILTER_XT_TARGET_CONNSECMARK
  430. tristate '"CONNSECMARK" target support'
  431. depends on NF_CONNTRACK && NF_CONNTRACK_SECMARK
  432. default m if NETFILTER_ADVANCED=n
  433. help
  434. The CONNSECMARK target copies security markings from packets
  435. to connections, and restores security markings from connections
  436. to packets (if the packets are not already marked). This would
  437. normally be used in conjunction with the SECMARK target.
  438. To compile it as a module, choose M here. If unsure, say N.
  439. config NETFILTER_XT_TARGET_CT
  440. tristate '"CT" target support'
  441. depends on NF_CONNTRACK
  442. depends on IP_NF_RAW || IP6_NF_RAW
  443. depends on NETFILTER_ADVANCED
  444. help
  445. This options adds a `CT' target, which allows to specify initial
  446. connection tracking parameters like events to be delivered and
  447. the helper to be used.
  448. To compile it as a module, choose M here. If unsure, say N.
  449. config NETFILTER_XT_TARGET_DSCP
  450. tristate '"DSCP" and "TOS" target support'
  451. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  452. depends on NETFILTER_ADVANCED
  453. help
  454. This option adds a `DSCP' target, which allows you to manipulate
  455. the IPv4/IPv6 header DSCP field (differentiated services codepoint).
  456. The DSCP field can have any value between 0x0 and 0x3f inclusive.
  457. It also adds the "TOS" target, which allows you to create rules in
  458. the "mangle" table which alter the Type Of Service field of an IPv4
  459. or the Priority field of an IPv6 packet, prior to routing.
  460. To compile it as a module, choose M here. If unsure, say N.
  461. config NETFILTER_XT_TARGET_HL
  462. tristate '"HL" hoplimit target support'
  463. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  464. depends on NETFILTER_ADVANCED
  465. ---help---
  466. This option adds the "HL" (for IPv6) and "TTL" (for IPv4)
  467. targets, which enable the user to change the
  468. hoplimit/time-to-live value of the IP header.
  469. While it is safe to decrement the hoplimit/TTL value, the
  470. modules also allow to increment and set the hoplimit value of
  471. the header to arbitrary values. This is EXTREMELY DANGEROUS
  472. since you can easily create immortal packets that loop
  473. forever on the network.
  474. config NETFILTER_XT_TARGET_HMARK
  475. tristate '"HMARK" target support'
  476. depends on (IP6_NF_IPTABLES || IP6_NF_IPTABLES=n)
  477. depends on NETFILTER_ADVANCED
  478. ---help---
  479. This option adds the "HMARK" target.
  480. The target allows you to create rules in the "raw" and "mangle" tables
  481. which set the skbuff mark by means of hash calculation within a given
  482. range. The nfmark can influence the routing method (see "Use netfilter
  483. MARK value as routing key") and can also be used by other subsystems to
  484. change their behaviour.
  485. To compile it as a module, choose M here. If unsure, say N.
  486. config NETFILTER_XT_TARGET_IDLETIMER
  487. tristate "IDLETIMER target support"
  488. depends on NETFILTER_ADVANCED
  489. help
  490. This option adds the `IDLETIMER' target. Each matching packet
  491. resets the timer associated with label specified when the rule is
  492. added. When the timer expires, it triggers a sysfs notification.
  493. The remaining time for expiration can be read via sysfs.
  494. To compile it as a module, choose M here. If unsure, say N.
  495. config NETFILTER_XT_TARGET_LED
  496. tristate '"LED" target support'
  497. depends on LEDS_CLASS && LEDS_TRIGGERS
  498. depends on NETFILTER_ADVANCED
  499. help
  500. This option adds a `LED' target, which allows you to blink LEDs in
  501. response to particular packets passing through your machine.
  502. This can be used to turn a spare LED into a network activity LED,
  503. which only flashes in response to FTP transfers, for example. Or
  504. you could have an LED which lights up for a minute or two every time
  505. somebody connects to your machine via SSH.
  506. You will need support for the "led" class to make this work.
  507. To create an LED trigger for incoming SSH traffic:
  508. iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000
  509. Then attach the new trigger to an LED on your system:
  510. echo netfilter-ssh > /sys/class/leds/<ledname>/trigger
  511. For more information on the LEDs available on your system, see
  512. Documentation/leds/leds-class.txt
  513. config NETFILTER_XT_TARGET_LOG
  514. tristate "LOG target support"
  515. default m if NETFILTER_ADVANCED=n
  516. help
  517. This option adds a `LOG' target, which allows you to create rules in
  518. any iptables table which records the packet header to the syslog.
  519. To compile it as a module, choose M here. If unsure, say N.
  520. config NETFILTER_XT_TARGET_MARK
  521. tristate '"MARK" target support'
  522. depends on NETFILTER_ADVANCED
  523. select NETFILTER_XT_MARK
  524. ---help---
  525. This is a backwards-compat option for the user's convenience
  526. (e.g. when running oldconfig). It selects
  527. CONFIG_NETFILTER_XT_MARK (combined mark/MARK module).
  528. config NETFILTER_XT_TARGET_NETMAP
  529. tristate '"NETMAP" target support'
  530. depends on NF_NAT
  531. ---help---
  532. NETMAP is an implementation of static 1:1 NAT mapping of network
  533. addresses. It maps the network address part, while keeping the host
  534. address part intact.
  535. To compile it as a module, choose M here. If unsure, say N.
  536. config NETFILTER_XT_TARGET_NFLOG
  537. tristate '"NFLOG" target support'
  538. default m if NETFILTER_ADVANCED=n
  539. select NETFILTER_NETLINK_LOG
  540. help
  541. This option enables the NFLOG target, which allows to LOG
  542. messages through nfnetlink_log.
  543. To compile it as a module, choose M here. If unsure, say N.
  544. config NETFILTER_XT_TARGET_NFQUEUE
  545. tristate '"NFQUEUE" target Support'
  546. depends on NETFILTER_ADVANCED
  547. select NETFILTER_NETLINK_QUEUE
  548. help
  549. This target replaced the old obsolete QUEUE target.
  550. As opposed to QUEUE, it supports 65535 different queues,
  551. not just one.
  552. To compile it as a module, choose M here. If unsure, say N.
  553. config NETFILTER_XT_TARGET_NOTRACK
  554. tristate '"NOTRACK" target support (DEPRECATED)'
  555. depends on NF_CONNTRACK
  556. depends on IP_NF_RAW || IP6_NF_RAW
  557. depends on NETFILTER_ADVANCED
  558. select NETFILTER_XT_TARGET_CT
  559. config NETFILTER_XT_TARGET_RATEEST
  560. tristate '"RATEEST" target support'
  561. depends on NETFILTER_ADVANCED
  562. help
  563. This option adds a `RATEEST' target, which allows to measure
  564. rates similar to TC estimators. The `rateest' match can be
  565. used to match on the measured rates.
  566. To compile it as a module, choose M here. If unsure, say N.
  567. config NETFILTER_XT_TARGET_REDIRECT
  568. tristate "REDIRECT target support"
  569. depends on NF_NAT
  570. ---help---
  571. REDIRECT is a special case of NAT: all incoming connections are
  572. mapped onto the incoming interface's address, causing the packets to
  573. come to the local machine instead of passing through. This is
  574. useful for transparent proxies.
  575. To compile it as a module, choose M here. If unsure, say N.
  576. config NETFILTER_XT_TARGET_TEE
  577. tristate '"TEE" - packet cloning to alternate destination'
  578. depends on NETFILTER_ADVANCED
  579. depends on (IPV6 || IPV6=n)
  580. depends on !NF_CONNTRACK || NF_CONNTRACK
  581. ---help---
  582. This option adds a "TEE" target with which a packet can be cloned and
  583. this clone be rerouted to another nexthop.
  584. config NETFILTER_XT_TARGET_TPROXY
  585. tristate '"TPROXY" target support (EXPERIMENTAL)'
  586. depends on EXPERIMENTAL
  587. depends on NETFILTER_TPROXY
  588. depends on NETFILTER_XTABLES
  589. depends on NETFILTER_ADVANCED
  590. select NF_DEFRAG_IPV4
  591. select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES
  592. help
  593. This option adds a `TPROXY' target, which is somewhat similar to
  594. REDIRECT. It can only be used in the mangle table and is useful
  595. to redirect traffic to a transparent proxy. It does _not_ depend
  596. on Netfilter connection tracking and NAT, unlike REDIRECT.
  597. To compile it as a module, choose M here. If unsure, say N.
  598. config NETFILTER_XT_TARGET_TRACE
  599. tristate '"TRACE" target support'
  600. depends on IP_NF_RAW || IP6_NF_RAW
  601. depends on NETFILTER_ADVANCED
  602. help
  603. The TRACE target allows you to mark packets so that the kernel
  604. will log every rule which match the packets as those traverse
  605. the tables, chains, rules.
  606. If you want to compile it as a module, say M here and read
  607. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  608. config NETFILTER_XT_TARGET_SECMARK
  609. tristate '"SECMARK" target support'
  610. depends on NETWORK_SECMARK
  611. default m if NETFILTER_ADVANCED=n
  612. help
  613. The SECMARK target allows security marking of network
  614. packets, for use with security subsystems.
  615. To compile it as a module, choose M here. If unsure, say N.
  616. config NETFILTER_XT_TARGET_TCPMSS
  617. tristate '"TCPMSS" target support'
  618. depends on (IPV6 || IPV6=n)
  619. default m if NETFILTER_ADVANCED=n
  620. ---help---
  621. This option adds a `TCPMSS' target, which allows you to alter the
  622. MSS value of TCP SYN packets, to control the maximum size for that
  623. connection (usually limiting it to your outgoing interface's MTU
  624. minus 40).
  625. This is used to overcome criminally braindead ISPs or servers which
  626. block ICMP Fragmentation Needed packets. The symptoms of this
  627. problem are that everything works fine from your Linux
  628. firewall/router, but machines behind it can never exchange large
  629. packets:
  630. 1) Web browsers connect, then hang with no data received.
  631. 2) Small mail works fine, but large emails hang.
  632. 3) ssh works fine, but scp hangs after initial handshaking.
  633. Workaround: activate this option and add a rule to your firewall
  634. configuration like:
  635. iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN \
  636. -j TCPMSS --clamp-mss-to-pmtu
  637. To compile it as a module, choose M here. If unsure, say N.
  638. config NETFILTER_XT_TARGET_TCPOPTSTRIP
  639. tristate '"TCPOPTSTRIP" target support (EXPERIMENTAL)'
  640. depends on EXPERIMENTAL
  641. depends on IP_NF_MANGLE || IP6_NF_MANGLE
  642. depends on NETFILTER_ADVANCED
  643. help
  644. This option adds a "TCPOPTSTRIP" target, which allows you to strip
  645. TCP options from TCP packets.
  646. # alphabetically ordered list of matches
  647. comment "Xtables matches"
  648. config NETFILTER_XT_MATCH_ADDRTYPE
  649. tristate '"addrtype" address type match support'
  650. depends on NETFILTER_ADVANCED
  651. ---help---
  652. This option allows you to match what routing thinks of an address,
  653. eg. UNICAST, LOCAL, BROADCAST, ...
  654. If you want to compile it as a module, say M here and read
  655. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  656. config NETFILTER_XT_MATCH_CLUSTER
  657. tristate '"cluster" match support'
  658. depends on NF_CONNTRACK
  659. depends on NETFILTER_ADVANCED
  660. ---help---
  661. This option allows you to build work-load-sharing clusters of
  662. network servers/stateful firewalls without having a dedicated
  663. load-balancing router/server/switch. Basically, this match returns
  664. true when the packet must be handled by this cluster node. Thus,
  665. all nodes see all packets and this match decides which node handles
  666. what packets. The work-load sharing algorithm is based on source
  667. address hashing.
  668. If you say Y or M here, try `iptables -m cluster --help` for
  669. more information.
  670. config NETFILTER_XT_MATCH_COMMENT
  671. tristate '"comment" match support'
  672. depends on NETFILTER_ADVANCED
  673. help
  674. This option adds a `comment' dummy-match, which allows you to put
  675. comments in your iptables ruleset.
  676. If you want to compile it as a module, say M here and read
  677. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  678. config NETFILTER_XT_MATCH_CONNBYTES
  679. tristate '"connbytes" per-connection counter match support'
  680. depends on NF_CONNTRACK
  681. depends on NETFILTER_ADVANCED
  682. help
  683. This option adds a `connbytes' match, which allows you to match the
  684. number of bytes and/or packets for each direction within a connection.
  685. If you want to compile it as a module, say M here and read
  686. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  687. config NETFILTER_XT_MATCH_CONNLIMIT
  688. tristate '"connlimit" match support"'
  689. depends on NF_CONNTRACK
  690. depends on NETFILTER_ADVANCED
  691. ---help---
  692. This match allows you to match against the number of parallel
  693. connections to a server per client IP address (or address block).
  694. config NETFILTER_XT_MATCH_CONNMARK
  695. tristate '"connmark" connection mark match support'
  696. depends on NF_CONNTRACK
  697. depends on NETFILTER_ADVANCED
  698. select NETFILTER_XT_CONNMARK
  699. ---help---
  700. This is a backwards-compat option for the user's convenience
  701. (e.g. when running oldconfig). It selects
  702. CONFIG_NETFILTER_XT_CONNMARK (combined connmark/CONNMARK module).
  703. config NETFILTER_XT_MATCH_CONNTRACK
  704. tristate '"conntrack" connection tracking match support'
  705. depends on NF_CONNTRACK
  706. default m if NETFILTER_ADVANCED=n
  707. help
  708. This is a general conntrack match module, a superset of the state match.
  709. It allows matching on additional conntrack information, which is
  710. useful in complex configurations, such as NAT gateways with multiple
  711. internet links or tunnels.
  712. To compile it as a module, choose M here. If unsure, say N.
  713. config NETFILTER_XT_MATCH_CPU
  714. tristate '"cpu" match support'
  715. depends on NETFILTER_ADVANCED
  716. help
  717. CPU matching allows you to match packets based on the CPU
  718. currently handling the packet.
  719. To compile it as a module, choose M here. If unsure, say N.
  720. config NETFILTER_XT_MATCH_DCCP
  721. tristate '"dccp" protocol match support'
  722. depends on NETFILTER_ADVANCED
  723. default IP_DCCP
  724. help
  725. With this option enabled, you will be able to use the iptables
  726. `dccp' match in order to match on DCCP source/destination ports
  727. and DCCP flags.
  728. If you want to compile it as a module, say M here and read
  729. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  730. config NETFILTER_XT_MATCH_DEVGROUP
  731. tristate '"devgroup" match support'
  732. depends on NETFILTER_ADVANCED
  733. help
  734. This options adds a `devgroup' match, which allows to match on the
  735. device group a network device is assigned to.
  736. To compile it as a module, choose M here. If unsure, say N.
  737. config NETFILTER_XT_MATCH_DSCP
  738. tristate '"dscp" and "tos" match support'
  739. depends on NETFILTER_ADVANCED
  740. help
  741. This option adds a `DSCP' match, which allows you to match against
  742. the IPv4/IPv6 header DSCP field (differentiated services codepoint).
  743. The DSCP field can have any value between 0x0 and 0x3f inclusive.
  744. It will also add a "tos" match, which allows you to match packets
  745. based on the Type Of Service fields of the IPv4 packet (which share
  746. the same bits as DSCP).
  747. To compile it as a module, choose M here. If unsure, say N.
  748. config NETFILTER_XT_MATCH_ECN
  749. tristate '"ecn" match support'
  750. depends on NETFILTER_ADVANCED
  751. ---help---
  752. This option adds an "ECN" match, which allows you to match against
  753. the IPv4 and TCP header ECN fields.
  754. To compile it as a module, choose M here. If unsure, say N.
  755. config NETFILTER_XT_MATCH_ESP
  756. tristate '"esp" match support'
  757. depends on NETFILTER_ADVANCED
  758. help
  759. This match extension allows you to match a range of SPIs
  760. inside ESP header of IPSec packets.
  761. To compile it as a module, choose M here. If unsure, say N.
  762. config NETFILTER_XT_MATCH_HASHLIMIT
  763. tristate '"hashlimit" match support'
  764. depends on (IP6_NF_IPTABLES || IP6_NF_IPTABLES=n)
  765. depends on NETFILTER_ADVANCED
  766. help
  767. This option adds a `hashlimit' match.
  768. As opposed to `limit', this match dynamically creates a hash table
  769. of limit buckets, based on your selection of source/destination
  770. addresses and/or ports.
  771. It enables you to express policies like `10kpps for any given
  772. destination address' or `500pps from any given source address'
  773. with a single rule.
  774. config NETFILTER_XT_MATCH_HELPER
  775. tristate '"helper" match support'
  776. depends on NF_CONNTRACK
  777. depends on NETFILTER_ADVANCED
  778. help
  779. Helper matching allows you to match packets in dynamic connections
  780. tracked by a conntrack-helper, ie. ip_conntrack_ftp
  781. To compile it as a module, choose M here. If unsure, say Y.
  782. config NETFILTER_XT_MATCH_HL
  783. tristate '"hl" hoplimit/TTL match support'
  784. depends on NETFILTER_ADVANCED
  785. ---help---
  786. HL matching allows you to match packets based on the hoplimit
  787. in the IPv6 header, or the time-to-live field in the IPv4
  788. header of the packet.
  789. config NETFILTER_XT_MATCH_IPRANGE
  790. tristate '"iprange" address range match support'
  791. depends on NETFILTER_ADVANCED
  792. ---help---
  793. This option adds a "iprange" match, which allows you to match based on
  794. an IP address range. (Normal iptables only matches on single addresses
  795. with an optional mask.)
  796. If unsure, say M.
  797. config NETFILTER_XT_MATCH_IPVS
  798. tristate '"ipvs" match support'
  799. depends on IP_VS
  800. depends on NETFILTER_ADVANCED
  801. depends on NF_CONNTRACK
  802. help
  803. This option allows you to match against IPVS properties of a packet.
  804. If unsure, say N.
  805. config NETFILTER_XT_MATCH_LENGTH
  806. tristate '"length" match support'
  807. depends on NETFILTER_ADVANCED
  808. help
  809. This option allows you to match the length of a packet against a
  810. specific value or range of values.
  811. To compile it as a module, choose M here. If unsure, say N.
  812. config NETFILTER_XT_MATCH_LIMIT
  813. tristate '"limit" match support'
  814. depends on NETFILTER_ADVANCED
  815. help
  816. limit matching allows you to control the rate at which a rule can be
  817. matched: mainly useful in combination with the LOG target ("LOG
  818. target support", below) and to avoid some Denial of Service attacks.
  819. To compile it as a module, choose M here. If unsure, say N.
  820. config NETFILTER_XT_MATCH_MAC
  821. tristate '"mac" address match support'
  822. depends on NETFILTER_ADVANCED
  823. help
  824. MAC matching allows you to match packets based on the source
  825. Ethernet address of the packet.
  826. To compile it as a module, choose M here. If unsure, say N.
  827. config NETFILTER_XT_MATCH_MARK
  828. tristate '"mark" match support'
  829. depends on NETFILTER_ADVANCED
  830. select NETFILTER_XT_MARK
  831. ---help---
  832. This is a backwards-compat option for the user's convenience
  833. (e.g. when running oldconfig). It selects
  834. CONFIG_NETFILTER_XT_MARK (combined mark/MARK module).
  835. config NETFILTER_XT_MATCH_MULTIPORT
  836. tristate '"multiport" Multiple port match support'
  837. depends on NETFILTER_ADVANCED
  838. help
  839. Multiport matching allows you to match TCP or UDP packets based on
  840. a series of source or destination ports: normally a rule can only
  841. match a single range of ports.
  842. To compile it as a module, choose M here. If unsure, say N.
  843. config NETFILTER_XT_MATCH_NFACCT
  844. tristate '"nfacct" match support'
  845. depends on NETFILTER_ADVANCED
  846. select NETFILTER_NETLINK_ACCT
  847. help
  848. This option allows you to use the extended accounting through
  849. nfnetlink_acct.
  850. To compile it as a module, choose M here. If unsure, say N.
  851. config NETFILTER_XT_MATCH_OSF
  852. tristate '"osf" Passive OS fingerprint match'
  853. depends on NETFILTER_ADVANCED && NETFILTER_NETLINK
  854. help
  855. This option selects the Passive OS Fingerprinting match module
  856. that allows to passively match the remote operating system by
  857. analyzing incoming TCP SYN packets.
  858. Rules and loading software can be downloaded from
  859. http://www.ioremap.net/projects/osf
  860. To compile it as a module, choose M here. If unsure, say N.
  861. config NETFILTER_XT_MATCH_OWNER
  862. tristate '"owner" match support'
  863. depends on NETFILTER_ADVANCED
  864. ---help---
  865. Socket owner matching allows you to match locally-generated packets
  866. based on who created the socket: the user or group. It is also
  867. possible to check whether a socket actually exists.
  868. config NETFILTER_XT_MATCH_POLICY
  869. tristate 'IPsec "policy" match support'
  870. depends on XFRM
  871. default m if NETFILTER_ADVANCED=n
  872. help
  873. Policy matching allows you to match packets based on the
  874. IPsec policy that was used during decapsulation/will
  875. be used during encapsulation.
  876. To compile it as a module, choose M here. If unsure, say N.
  877. config NETFILTER_XT_MATCH_PHYSDEV
  878. tristate '"physdev" match support'
  879. depends on BRIDGE && BRIDGE_NETFILTER
  880. depends on NETFILTER_ADVANCED
  881. help
  882. Physdev packet matching matches against the physical bridge ports
  883. the IP packet arrived on or will leave by.
  884. To compile it as a module, choose M here. If unsure, say N.
  885. config NETFILTER_XT_MATCH_PKTTYPE
  886. tristate '"pkttype" packet type match support'
  887. depends on NETFILTER_ADVANCED
  888. help
  889. Packet type matching allows you to match a packet by
  890. its "class", eg. BROADCAST, MULTICAST, ...
  891. Typical usage:
  892. iptables -A INPUT -m pkttype --pkt-type broadcast -j LOG
  893. To compile it as a module, choose M here. If unsure, say N.
  894. config NETFILTER_XT_MATCH_QUOTA
  895. tristate '"quota" match support'
  896. depends on NETFILTER_ADVANCED
  897. help
  898. This option adds a `quota' match, which allows to match on a
  899. byte counter.
  900. If you want to compile it as a module, say M here and read
  901. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  902. config NETFILTER_XT_MATCH_RATEEST
  903. tristate '"rateest" match support'
  904. depends on NETFILTER_ADVANCED
  905. select NETFILTER_XT_TARGET_RATEEST
  906. help
  907. This option adds a `rateest' match, which allows to match on the
  908. rate estimated by the RATEEST target.
  909. To compile it as a module, choose M here. If unsure, say N.
  910. config NETFILTER_XT_MATCH_REALM
  911. tristate '"realm" match support'
  912. depends on NETFILTER_ADVANCED
  913. select IP_ROUTE_CLASSID
  914. help
  915. This option adds a `realm' match, which allows you to use the realm
  916. key from the routing subsystem inside iptables.
  917. This match pretty much resembles the CONFIG_NET_CLS_ROUTE4 option
  918. in tc world.
  919. If you want to compile it as a module, say M here and read
  920. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  921. config NETFILTER_XT_MATCH_RECENT
  922. tristate '"recent" match support'
  923. depends on NETFILTER_ADVANCED
  924. ---help---
  925. This match is used for creating one or many lists of recently
  926. used addresses and then matching against that/those list(s).
  927. Short options are available by using 'iptables -m recent -h'
  928. Official Website: <http://snowman.net/projects/ipt_recent/>
  929. config NETFILTER_XT_MATCH_SCTP
  930. tristate '"sctp" protocol match support (EXPERIMENTAL)'
  931. depends on EXPERIMENTAL
  932. depends on NETFILTER_ADVANCED
  933. default IP_SCTP
  934. help
  935. With this option enabled, you will be able to use the
  936. `sctp' match in order to match on SCTP source/destination ports
  937. and SCTP chunk types.
  938. If you want to compile it as a module, say M here and read
  939. <file:Documentation/kbuild/modules.txt>. If unsure, say `N'.
  940. config NETFILTER_XT_MATCH_SOCKET
  941. tristate '"socket" match support (EXPERIMENTAL)'
  942. depends on EXPERIMENTAL
  943. depends on NETFILTER_TPROXY
  944. depends on NETFILTER_XTABLES
  945. depends on NETFILTER_ADVANCED
  946. depends on !NF_CONNTRACK || NF_CONNTRACK
  947. select NF_DEFRAG_IPV4
  948. select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES
  949. help
  950. This option adds a `socket' match, which can be used to match
  951. packets for which a TCP or UDP socket lookup finds a valid socket.
  952. It can be used in combination with the MARK target and policy
  953. routing to implement full featured non-locally bound sockets.
  954. To compile it as a module, choose M here. If unsure, say N.
  955. config NETFILTER_XT_MATCH_STATE
  956. tristate '"state" match support'
  957. depends on NF_CONNTRACK
  958. default m if NETFILTER_ADVANCED=n
  959. help
  960. Connection state matching allows you to match packets based on their
  961. relationship to a tracked connection (ie. previous packets). This
  962. is a powerful tool for packet classification.
  963. To compile it as a module, choose M here. If unsure, say N.
  964. config NETFILTER_XT_MATCH_STATISTIC
  965. tristate '"statistic" match support'
  966. depends on NETFILTER_ADVANCED
  967. help
  968. This option adds a `statistic' match, which allows you to match
  969. on packets periodically or randomly with a given percentage.
  970. To compile it as a module, choose M here. If unsure, say N.
  971. config NETFILTER_XT_MATCH_STRING
  972. tristate '"string" match support'
  973. depends on NETFILTER_ADVANCED
  974. select TEXTSEARCH
  975. select TEXTSEARCH_KMP
  976. select TEXTSEARCH_BM
  977. select TEXTSEARCH_FSM
  978. help
  979. This option adds a `string' match, which allows you to look for
  980. pattern matchings in packets.
  981. To compile it as a module, choose M here. If unsure, say N.
  982. config NETFILTER_XT_MATCH_TCPMSS
  983. tristate '"tcpmss" match support'
  984. depends on NETFILTER_ADVANCED
  985. help
  986. This option adds a `tcpmss' match, which allows you to examine the
  987. MSS value of TCP SYN packets, which control the maximum packet size
  988. for that connection.
  989. To compile it as a module, choose M here. If unsure, say N.
  990. config NETFILTER_XT_MATCH_TIME
  991. tristate '"time" match support'
  992. depends on NETFILTER_ADVANCED
  993. ---help---
  994. This option adds a "time" match, which allows you to match based on
  995. the packet arrival time (at the machine which netfilter is running)
  996. on) or departure time/date (for locally generated packets).
  997. If you say Y here, try `iptables -m time --help` for
  998. more information.
  999. If you want to compile it as a module, say M here.
  1000. If unsure, say N.
  1001. config NETFILTER_XT_MATCH_U32
  1002. tristate '"u32" match support'
  1003. depends on NETFILTER_ADVANCED
  1004. ---help---
  1005. u32 allows you to extract quantities of up to 4 bytes from a packet,
  1006. AND them with specified masks, shift them by specified amounts and
  1007. test whether the results are in any of a set of specified ranges.
  1008. The specification of what to extract is general enough to skip over
  1009. headers with lengths stored in the packet, as in IP or TCP header
  1010. lengths.
  1011. Details and examples are in the kernel module source.
  1012. endif # NETFILTER_XTABLES
  1013. endmenu
  1014. source "net/netfilter/ipset/Kconfig"
  1015. source "net/netfilter/ipvs/Kconfig"