]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - net/sctp/Kconfig
[PACKET]: Fix /proc/net/packet crash due to bogus private pointer
[mirror_ubuntu-bionic-kernel.git] / net / sctp / Kconfig
CommitLineData
1da177e4
LT
1#
2# SCTP configuration
3#
4
29e32ccd 5menuconfig IP_SCTP
1da177e4 6 tristate "The SCTP Protocol (EXPERIMENTAL)"
29e32ccd 7 depends on INET && EXPERIMENTAL
1da177e4 8 depends on IPV6 || IPV6=n
b7e0fe9f
VY
9 select CRYPTO
10 select CRYPTO_HMAC
11 select CRYPTO_SHA1
1da177e4
LT
12 select CRYPTO_MD5 if SCTP_HMAC_MD5
13 ---help---
14 Stream Control Transmission Protocol
15
16 From RFC 2960 <http://www.ietf.org/rfc/rfc2960.txt>.
17
18 "SCTP is a reliable transport protocol operating on top of a
19 connectionless packet network such as IP. It offers the following
20 services to its users:
21
22 -- acknowledged error-free non-duplicated transfer of user data,
23 -- data fragmentation to conform to discovered path MTU size,
24 -- sequenced delivery of user messages within multiple streams,
25 with an option for order-of-arrival delivery of individual user
26 messages,
27 -- optional bundling of multiple user messages into a single SCTP
28 packet, and
29 -- network-level fault tolerance through supporting of multi-
30 homing at either or both ends of an association."
31
32 To compile this protocol support as a module, choose M here: the
33 module will be called sctp.
34
35 If in doubt, say N.
36
29e32ccd
JE
37if IP_SCTP
38
1da177e4
LT
39config SCTP_DBG_MSG
40 bool "SCTP: Debug messages"
1da177e4
LT
41 help
42 If you say Y, this will enable verbose debugging messages.
43
44 If unsure, say N. However, if you are running into problems, use
45 this option to gather detailed trace information
46
47config SCTP_DBG_OBJCNT
48 bool "SCTP: Debug object counts"
1da177e4
LT
49 help
50 If you say Y, this will enable debugging support for counting the
51 type of objects that are currently allocated. This is useful for
52 identifying memory leaks. If the /proc filesystem is enabled this
53 debug information can be viewed by
54 'cat /proc/net/sctp/sctp_dbg_objcnt'
55
56 If unsure, say N
57
58choice
59 prompt "SCTP: Cookie HMAC Algorithm"
1da177e4
LT
60 default SCTP_HMAC_MD5
61 help
62 HMAC algorithm to be used during association initialization. It
63 is strongly recommended to use HMAC-SHA1 or HMAC-MD5. See
64 configuration for Cryptographic API and enable those algorithms
65 to make usable by SCTP.
66
67config SCTP_HMAC_NONE
68 bool "None"
69 help
70 Choosing this disables the use of an HMAC during association
71 establishment. It is advised to use either HMAC-MD5 or HMAC-SHA1.
72
73config SCTP_HMAC_SHA1
74 bool "HMAC-SHA1"
75 help
76 Enable the use of HMAC-SHA1 during association establishment. It
77 is advised to use either HMAC-MD5 or HMAC-SHA1.
78
79config SCTP_HMAC_MD5
80 bool "HMAC-MD5"
81 help
82 Enable the use of HMAC-MD5 during association establishment. It is
83 advised to use either HMAC-MD5 or HMAC-SHA1.
84
85endchoice
29e32ccd
JE
86
87endif # IP_SCTP