blob: 83f5617bae07eda1cdada10022c541d0b6d2d239 [file] [log] [blame]
Alexey Dobriyan9098c242009-01-22 11:11:56 +03001config SUNRPC
2 tristate
Iulia Manda28138932015-04-15 16:16:41 -07003 depends on MULTIUSER
Alexey Dobriyan9098c242009-01-22 11:11:56 +03004
5config SUNRPC_GSS
6 tristate
Chuck Leverf7832882013-03-16 15:54:52 -04007 select OID_REGISTRY
Iulia Manda28138932015-04-15 16:16:41 -07008 depends on MULTIUSER
Alexey Dobriyan9098c242009-01-22 11:11:56 +03009
Trond Myklebust9e00abc2011-07-13 19:20:49 -040010config SUNRPC_BACKCHANNEL
11 bool
12 depends on SUNRPC
13
Mel Gormana564b8f2012-07-31 16:45:12 -070014config SUNRPC_SWAP
15 bool
16 depends on SUNRPC
Mel Gormana564b8f2012-07-31 16:45:12 -070017
Alexey Dobriyan9098c242009-01-22 11:11:56 +030018config RPCSEC_GSS_KRB5
Trond Myklebuste3b28542011-04-15 12:58:56 -040019 tristate "Secure RPC: Kerberos V mechanism"
Trond Myklebustdf486a22010-08-17 17:42:45 -040020 depends on SUNRPC && CRYPTO
Trond Myklebuste3b28542011-04-15 12:58:56 -040021 depends on CRYPTO_MD5 && CRYPTO_DES && CRYPTO_CBC && CRYPTO_CTS
22 depends on CRYPTO_ECB && CRYPTO_HMAC && CRYPTO_SHA1 && CRYPTO_AES
23 depends on CRYPTO_ARC4
Trond Myklebustdf486a22010-08-17 17:42:45 -040024 default y
Alexey Dobriyan9098c242009-01-22 11:11:56 +030025 select SUNRPC_GSS
Alexey Dobriyan9098c242009-01-22 11:11:56 +030026 help
27 Choose Y here to enable Secure RPC using the Kerberos version 5
28 GSS-API mechanism (RFC 1964).
29
30 Secure RPC calls with Kerberos require an auxiliary user-space
31 daemon which may be found in the Linux nfs-utils package
32 available from http://linux-nfs.org/. In addition, user-space
33 Kerberos support should be installed.
34
Trond Myklebustdf486a22010-08-17 17:42:45 -040035 If unsure, say Y.
Trond Myklebuste27d3592012-03-18 14:07:42 -040036
Chuck Leverfe9a2702019-02-11 11:24:43 -050037config CONFIG_SUNRPC_DISABLE_INSECURE_ENCTYPES
38 bool "Secure RPC: Disable insecure Kerberos encryption types"
39 depends on RPCSEC_GSS_KRB5
40 default n
41 help
42 Choose Y here to disable the use of deprecated encryption types
43 with the Kerberos version 5 GSS-API mechanism (RFC 1964). The
44 deprecated encryption types include DES-CBC-MD5, DES-CBC-CRC,
45 and DES-CBC-MD4. These types were deprecated by RFC 6649 because
46 they were found to be insecure.
47
48 N is the default because many sites have deployed KDCs and
49 keytabs that contain only these deprecated encryption types.
50 Choosing Y prevents the use of known-insecure encryption types
51 but might result in compatibility problems.
52
Trond Myklebuste27d3592012-03-18 14:07:42 -040053config SUNRPC_DEBUG
54 bool "RPC: Enable dprintk debugging"
55 depends on SUNRPC && SYSCTL
Jeff Laytonb4b9d2c2014-11-26 14:44:43 -050056 select DEBUG_FS
Trond Myklebuste27d3592012-03-18 14:07:42 -040057 help
58 This option enables a sysctl-based debugging interface
59 that is be used by the 'rpcdebug' utility to turn on or off
60 logging of different aspects of the kernel RPC activity.
61
62 Disabling this option will make your kernel slightly smaller,
63 but makes troubleshooting NFS issues significantly harder.
64
65 If unsure, say Y.
Jeff Layton2e8c12e2014-03-18 19:45:47 -040066
Chuck Leverffe1f0d2015-06-04 11:21:42 -040067config SUNRPC_XPRT_RDMA
68 tristate "RPC-over-RDMA transport"
Arnd Bergmann533d1da2018-05-25 23:29:59 +020069 depends on SUNRPC && INFINIBAND && INFINIBAND_ADDR_TRANS
Jeff Layton2e8c12e2014-03-18 19:45:47 -040070 default SUNRPC && INFINIBAND
Chuck Leverf13193f2017-04-09 13:06:16 -040071 select SG_POOL
Jeff Layton2e8c12e2014-03-18 19:45:47 -040072 help
Chuck Leverffe1f0d2015-06-04 11:21:42 -040073 This option allows the NFS client and server to use RDMA
74 transports (InfiniBand, iWARP, or RoCE).
Jeff Layton2e8c12e2014-03-18 19:45:47 -040075
Chuck Leverffe1f0d2015-06-04 11:21:42 -040076 To compile this support as a module, choose M. The module
77 will be called rpcrdma.ko.
Jeff Layton2e8c12e2014-03-18 19:45:47 -040078
Chuck Leverffe1f0d2015-06-04 11:21:42 -040079 If unsure, or you know there is no RDMA capability on your
80 hardware platform, say N.