Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # SCTP configuration |
| 3 | # |
| 4 | |
Jan Engelhardt | 29e32cc | 2007-05-23 14:48:57 -0700 | [diff] [blame] | 5 | menuconfig IP_SCTP |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | tristate "The SCTP Protocol (EXPERIMENTAL)" |
Jan Engelhardt | 29e32cc | 2007-05-23 14:48:57 -0700 | [diff] [blame] | 7 | depends on INET && EXPERIMENTAL |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | depends on IPV6 || IPV6=n |
| 9 | select CRYPTO if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5 |
| 10 | select CRYPTO_HMAC if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5 |
| 11 | select CRYPTO_SHA1 if SCTP_HMAC_SHA1 |
| 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 | |
Jan Engelhardt | 29e32cc | 2007-05-23 14:48:57 -0700 | [diff] [blame] | 37 | if IP_SCTP |
| 38 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | config SCTP_DBG_MSG |
| 40 | bool "SCTP: Debug messages" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 47 | config SCTP_DBG_OBJCNT |
| 48 | bool "SCTP: Debug object counts" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 58 | choice |
| 59 | prompt "SCTP: Cookie HMAC Algorithm" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 67 | config 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 | |
| 73 | config 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 | |
| 79 | config 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 | |
| 85 | endchoice |
Jan Engelhardt | 29e32cc | 2007-05-23 14:48:57 -0700 | [diff] [blame] | 86 | |
| 87 | endif # IP_SCTP |