Kconfig 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. #
  2. # Network configuration
  3. #
  4. menu "Networking"
  5. config NET
  6. bool "Networking support"
  7. ---help---
  8. Unless you really know what you are doing, you should say Y here.
  9. The reason is that some programs need kernel networking support even
  10. when running on a stand-alone machine that isn't connected to any
  11. other computer.
  12. If you are upgrading from an older kernel, you
  13. should consider updating your networking tools too because changes
  14. in the kernel and the tools often go hand in hand. The tools are
  15. contained in the package net-tools, the location and version number
  16. of which are given in <file:Documentation/Changes>.
  17. For a general introduction to Linux networking, it is highly
  18. recommended to read the NET-HOWTO, available from
  19. <http://www.tldp.org/docs.html#howto>.
  20. # Make sure that all config symbols are dependent on NET
  21. if NET
  22. menu "Networking options"
  23. config NET_NS
  24. bool "Network namespace support"
  25. default n
  26. depends on EXPERIMENTAL && !SYSFS
  27. help
  28. Allow user space to create what appear to be multiple instances
  29. of the network stack.
  30. source "net/packet/Kconfig"
  31. source "net/unix/Kconfig"
  32. source "net/xfrm/Kconfig"
  33. source "net/iucv/Kconfig"
  34. config INET
  35. bool "TCP/IP networking"
  36. ---help---
  37. These are the protocols used on the Internet and on most local
  38. Ethernets. It is highly recommended to say Y here (this will enlarge
  39. your kernel by about 144 KB), since some programs (e.g. the X window
  40. system) use TCP/IP even if your machine is not connected to any
  41. other computer. You will get the so-called loopback device which
  42. allows you to ping yourself (great fun, that!).
  43. For an excellent introduction to Linux networking, please read the
  44. Linux Networking HOWTO, available from
  45. <http://www.tldp.org/docs.html#howto>.
  46. If you say Y here and also to "/proc file system support" and
  47. "Sysctl support" below, you can change various aspects of the
  48. behavior of the TCP/IP code by writing to the (virtual) files in
  49. /proc/sys/net/ipv4/*; the options are explained in the file
  50. <file:Documentation/networking/ip-sysctl.txt>.
  51. Short answer: say Y.
  52. if INET
  53. source "net/ipv4/Kconfig"
  54. source "net/ipv6/Kconfig"
  55. source "net/netlabel/Kconfig"
  56. endif # if INET
  57. config NETWORK_SECMARK
  58. bool "Security Marking"
  59. help
  60. This enables security marking of network packets, similar
  61. to nfmark, but designated for security purposes.
  62. If you are unsure how to answer this question, answer N.
  63. menuconfig NETFILTER
  64. bool "Network packet filtering framework (Netfilter)"
  65. ---help---
  66. Netfilter is a framework for filtering and mangling network packets
  67. that pass through your Linux box.
  68. The most common use of packet filtering is to run your Linux box as
  69. a firewall protecting a local network from the Internet. The type of
  70. firewall provided by this kernel support is called a "packet
  71. filter", which means that it can reject individual network packets
  72. based on type, source, destination etc. The other kind of firewall,
  73. a "proxy-based" one, is more secure but more intrusive and more
  74. bothersome to set up; it inspects the network traffic much more
  75. closely, modifies it and has knowledge about the higher level
  76. protocols, which a packet filter lacks. Moreover, proxy-based
  77. firewalls often require changes to the programs running on the local
  78. clients. Proxy-based firewalls don't need support by the kernel, but
  79. they are often combined with a packet filter, which only works if
  80. you say Y here.
  81. You should also say Y here if you intend to use your Linux box as
  82. the gateway to the Internet for a local network of machines without
  83. globally valid IP addresses. This is called "masquerading": if one
  84. of the computers on your local network wants to send something to
  85. the outside, your box can "masquerade" as that computer, i.e. it
  86. forwards the traffic to the intended outside destination, but
  87. modifies the packets to make it look like they came from the
  88. firewall box itself. It works both ways: if the outside host
  89. replies, the Linux box will silently forward the traffic to the
  90. correct local computer. This way, the computers on your local net
  91. are completely invisible to the outside world, even though they can
  92. reach the outside and can receive replies. It is even possible to
  93. run globally visible servers from within a masqueraded local network
  94. using a mechanism called portforwarding. Masquerading is also often
  95. called NAT (Network Address Translation).
  96. Another use of Netfilter is in transparent proxying: if a machine on
  97. the local network tries to connect to an outside host, your Linux
  98. box can transparently forward the traffic to a local server,
  99. typically a caching proxy server.
  100. Yet another use of Netfilter is building a bridging firewall. Using
  101. a bridge with Network packet filtering enabled makes iptables "see"
  102. the bridged traffic. For filtering on the lower network and Ethernet
  103. protocols over the bridge, use ebtables (under bridge netfilter
  104. configuration).
  105. Various modules exist for netfilter which replace the previous
  106. masquerading (ipmasqadm), packet filtering (ipchains), transparent
  107. proxying, and portforwarding mechanisms. Please see
  108. <file:Documentation/Changes> under "iptables" for the location of
  109. these packages.
  110. Make sure to say N to "Fast switching" below if you intend to say Y
  111. here, as Fast switching currently bypasses netfilter.
  112. Chances are that you should say Y here if you compile a kernel which
  113. will run as a router and N for regular hosts. If unsure, say N.
  114. if NETFILTER
  115. config NETFILTER_DEBUG
  116. bool "Network packet filtering debugging"
  117. depends on NETFILTER
  118. help
  119. You can say Y here if you want to get additional messages useful in
  120. debugging the netfilter code.
  121. config BRIDGE_NETFILTER
  122. bool "Bridged IP/ARP packets filtering"
  123. depends on BRIDGE && NETFILTER && INET
  124. default y
  125. ---help---
  126. Enabling this option will let arptables resp. iptables see bridged
  127. ARP resp. IP traffic. If you want a bridging firewall, you probably
  128. want this option enabled.
  129. Enabling or disabling this option doesn't enable or disable
  130. ebtables.
  131. If unsure, say N.
  132. source "net/netfilter/Kconfig"
  133. source "net/ipv4/netfilter/Kconfig"
  134. source "net/ipv6/netfilter/Kconfig"
  135. source "net/decnet/netfilter/Kconfig"
  136. source "net/bridge/netfilter/Kconfig"
  137. endif
  138. source "net/dccp/Kconfig"
  139. source "net/sctp/Kconfig"
  140. source "net/tipc/Kconfig"
  141. source "net/atm/Kconfig"
  142. source "net/bridge/Kconfig"
  143. source "net/8021q/Kconfig"
  144. source "net/decnet/Kconfig"
  145. source "net/llc/Kconfig"
  146. source "net/ipx/Kconfig"
  147. source "drivers/net/appletalk/Kconfig"
  148. source "net/x25/Kconfig"
  149. source "net/lapb/Kconfig"
  150. source "net/econet/Kconfig"
  151. source "net/wanrouter/Kconfig"
  152. source "net/sched/Kconfig"
  153. menu "Network testing"
  154. config NET_PKTGEN
  155. tristate "Packet Generator (USE WITH CAUTION)"
  156. depends on PROC_FS
  157. ---help---
  158. This module will inject preconfigured packets, at a configurable
  159. rate, out of a given interface. It is used for network interface
  160. stress testing and performance analysis. If you don't understand
  161. what was just said, you don't need it: say N.
  162. Documentation on how to use the packet generator can be found
  163. at <file:Documentation/networking/pktgen.txt>.
  164. To compile this code as a module, choose M here: the
  165. module will be called pktgen.
  166. config NET_TCPPROBE
  167. tristate "TCP connection probing"
  168. depends on INET && EXPERIMENTAL && PROC_FS && KPROBES
  169. ---help---
  170. This module allows for capturing the changes to TCP connection
  171. state in response to incoming packets. It is used for debugging
  172. TCP congestion avoidance modules. If you don't understand
  173. what was just said, you don't need it: say N.
  174. Documentation on how to use TCP connection probing can be found
  175. at http://linux-net.osdl.org/index.php/TcpProbe
  176. To compile this code as a module, choose M here: the
  177. module will be called tcp_probe.
  178. endmenu
  179. endmenu
  180. source "net/ax25/Kconfig"
  181. source "net/irda/Kconfig"
  182. source "net/bluetooth/Kconfig"
  183. source "net/rxrpc/Kconfig"
  184. config FIB_RULES
  185. bool
  186. menu "Wireless"
  187. depends on !S390
  188. source "net/wireless/Kconfig"
  189. source "net/mac80211/Kconfig"
  190. source "net/ieee80211/Kconfig"
  191. endmenu
  192. source "net/rfkill/Kconfig"
  193. source "net/9p/Kconfig"
  194. endif # if NET
  195. endmenu # Networking