Kconfig 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Layer Two Tunneling Protocol (L2TP)
  4. #
  5. menuconfig L2TP
  6. tristate "Layer Two Tunneling Protocol (L2TP)"
  7. depends on (IPV6 || IPV6=n)
  8. depends on INET
  9. select NET_UDP_TUNNEL
  10. help
  11. Layer Two Tunneling Protocol
  12. From RFC 2661 <http://www.ietf.org/rfc/rfc2661.txt>.
  13. L2TP facilitates the tunneling of packets across an
  14. intervening network in a way that is as transparent as
  15. possible to both end-users and applications.
  16. L2TP is often used to tunnel PPP traffic over IP
  17. tunnels. One IP tunnel may carry thousands of individual PPP
  18. connections. L2TP is also used as a VPN protocol, popular
  19. with home workers to connect to their offices.
  20. L2TPv3 allows other protocols as well as PPP to be carried
  21. over L2TP tunnels. L2TPv3 is defined in RFC 3931
  22. <http://www.ietf.org/rfc/rfc3931.txt>.
  23. The kernel component handles only L2TP data packets: a
  24. userland daemon handles L2TP the control protocol (tunnel
  25. and session setup). One such daemon is OpenL2TP
  26. (http://openl2tp.org/).
  27. If you don't need L2TP, say N. To compile all L2TP code as
  28. modules, choose M here.
  29. config L2TP_DEBUGFS
  30. tristate "L2TP debugfs support"
  31. depends on L2TP && DEBUG_FS
  32. help
  33. Support for l2tp directory in debugfs filesystem. This may be
  34. used to dump internal state of the l2tp drivers for problem
  35. analysis.
  36. If unsure, say 'Y'.
  37. To compile this driver as a module, choose M here. The module
  38. will be called l2tp_debugfs.
  39. config L2TP_V3
  40. bool "L2TPv3 support"
  41. depends on L2TP
  42. help
  43. Layer Two Tunneling Protocol Version 3
  44. From RFC 3931 <http://www.ietf.org/rfc/rfc3931.txt>.
  45. The Layer Two Tunneling Protocol (L2TP) provides a dynamic
  46. mechanism for tunneling Layer 2 (L2) "circuits" across a
  47. packet-oriented data network (e.g., over IP). L2TP, as
  48. originally defined in RFC 2661, is a standard method for
  49. tunneling Point-to-Point Protocol (PPP) [RFC1661] sessions.
  50. L2TP has since been adopted for tunneling a number of other
  51. L2 protocols, including ATM, Frame Relay, HDLC and even raw
  52. ethernet frames.
  53. If you are connecting to L2TPv3 equipment, or you want to
  54. tunnel raw ethernet frames using L2TP, say Y here. If
  55. unsure, say N.
  56. config L2TP_IP
  57. tristate "L2TP IP encapsulation for L2TPv3"
  58. depends on L2TP_V3
  59. help
  60. Support for L2TP-over-IP socket family.
  61. The L2TPv3 protocol defines two possible encapsulations for
  62. L2TP frames, namely UDP and plain IP (without UDP). This
  63. driver provides a new L2TPIP socket family with which
  64. userspace L2TPv3 daemons may create L2TP/IP tunnel sockets
  65. when UDP encapsulation is not required. When L2TP is carried
  66. in IP packets, it used IP protocol number 115, so this port
  67. must be enabled in firewalls.
  68. To compile this driver as a module, choose M here. The module
  69. will be called l2tp_ip.
  70. config L2TP_ETH
  71. tristate "L2TP ethernet pseudowire support for L2TPv3"
  72. depends on L2TP_V3
  73. help
  74. Support for carrying raw ethernet frames over L2TPv3.
  75. From RFC 4719 <http://www.ietf.org/rfc/rfc4719.txt>.
  76. The Layer 2 Tunneling Protocol, Version 3 (L2TPv3) can be
  77. used as a control protocol and for data encapsulation to set
  78. up Pseudowires for transporting layer 2 Packet Data Units
  79. across an IP network [RFC3931].
  80. This driver provides an ethernet virtual interface for each
  81. L2TP ethernet pseudowire instance. Standard Linux tools may
  82. be used to assign an IP address to the local virtual
  83. interface, or add the interface to a bridge.
  84. If you are using L2TPv3, you will almost certainly want to
  85. enable this option.
  86. To compile this driver as a module, choose M here. The module
  87. will be called l2tp_eth.