projects/linux·blob master · refs

103 lines · 2.6 KiB

1# SPDX-License-Identifier: GPL-2.0-only
2#
3# RxRPC session sockets
4#
5
6config AF_RXRPC
7 tristate "RxRPC session sockets"
8 depends on INET
9 select CRYPTO
10 select CRYPTO_LIB_DES if RXKAD
11 select KEYS
12 select NET_UDP_TUNNEL
13 help
14 Say Y or M here to include support for RxRPC session sockets (just
15 the transport part, not the presentation part: (un)marshalling is
16 left to the application).
17
18 These are used for AFS kernel filesystem and userspace utilities.
19
20 This module at the moment only supports client operations and is
21 currently incomplete.
22
23 See Documentation/networking/rxrpc.rst.
24
25if AF_RXRPC
26
27config AF_RXRPC_IPV6
28 bool "IPv6 support for RxRPC"
29 depends on IPV6
30 help
31 Say Y here to allow AF_RXRPC to use IPV6 UDP as well as IPV4 UDP as
32 its network transport.
33
34config AF_RXRPC_INJECT_LOSS
35 bool "Inject packet loss into RxRPC packet stream"
36 help
37 Say Y here to inject packet loss by discarding some received and some
38 transmitted packets.
39
40config AF_RXRPC_INJECT_RX_DELAY
41 bool "Inject delay into packet reception"
42 depends on SYSCTL
43 help
44 Say Y here to inject a delay into packet reception, allowing an
45 extended RTT time to be modelled. The delay can be configured using
46 /proc/sys/net/rxrpc/rxrpc_inject_rx_delay, setting a number of
47 milliseconds up to 0.5s (note that the granularity is actually in
48 jiffies).
49
50config AF_RXRPC_DEBUG
51 bool "RxRPC dynamic debugging"
52 help
53 Say Y here to make runtime controllable debugging messages appear.
54
55 See Documentation/networking/rxrpc.rst.
56
57
58config RXKAD
59 bool "RxRPC Kerberos security"
60 help
61 Provide kerberos 4 and AFS kaserver security handling for AF_RXRPC
62 through the use of the key retention service.
63
64 See Documentation/networking/rxrpc.rst.
65
66config RXGK
67 bool "RxRPC GSSAPI security"
68 select CRYPTO_KRB5
69 select CRYPTO_MANAGER
70 select CRYPTO_KRB5ENC
71 select CRYPTO_AUTHENC
72 select CRYPTO_SKCIPHER
73 select CRYPTO_HASH_INFO
74 select CRYPTO_HMAC
75 select CRYPTO_CMAC
76 select CRYPTO_SHA1
77 select CRYPTO_SHA256
78 select CRYPTO_SHA512
79 select CRYPTO_CBC
80 select CRYPTO_CTS
81 select CRYPTO_AES
82 select CRYPTO_CAMELLIA
83 help
84 Provide the GSSAPI-based RxGK security class for AFS. Keys are added
85 with add_key().
86
87 See Documentation/networking/rxrpc.rst.
88
89config RXPERF
90 tristate "RxRPC test service"
91 help
92 Provide an rxperf service tester. This listens on UDP port 7009 for
93 incoming calls from the rxperf program (an example of which can be
94 found in OpenAFS).
95
96config AF_RXRPC_KUNIT_TEST
97 tristate "RxRPC crypto KUnit test" if !KUNIT_ALL_TESTS
98 depends on KUNIT && RXKAD
99 default KUNIT_ALL_TESTS
100 help
101 Enable the KUnit test suite for RxRPC's crypto routines.
102
103endif