Kconfig 43 KB

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