11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# SCTP configuration 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds 529e32ccdSJan Engelhardtmenuconfig IP_SCTP 63bdb1a44SKees Cook tristate "The SCTP Protocol" 73bdb1a44SKees Cook depends on INET 81da177e4SLinus Torvalds depends on IPV6 || IPV6=n 9b7e0fe9fSVlad Yasevich select CRYPTO 10b7e0fe9fSVlad Yasevich select CRYPTO_HMAC 11b7e0fe9fSVlad Yasevich select CRYPTO_SHA1 129ad0977fSVlad Yasevich select LIBCRC32C 131da177e4SLinus Torvalds ---help--- 141da177e4SLinus Torvalds Stream Control Transmission Protocol 151da177e4SLinus Torvalds 161da177e4SLinus Torvalds From RFC 2960 <http://www.ietf.org/rfc/rfc2960.txt>. 171da177e4SLinus Torvalds 181da177e4SLinus Torvalds "SCTP is a reliable transport protocol operating on top of a 191da177e4SLinus Torvalds connectionless packet network such as IP. It offers the following 201da177e4SLinus Torvalds services to its users: 211da177e4SLinus Torvalds 221da177e4SLinus Torvalds -- acknowledged error-free non-duplicated transfer of user data, 231da177e4SLinus Torvalds -- data fragmentation to conform to discovered path MTU size, 241da177e4SLinus Torvalds -- sequenced delivery of user messages within multiple streams, 251da177e4SLinus Torvalds with an option for order-of-arrival delivery of individual user 261da177e4SLinus Torvalds messages, 271da177e4SLinus Torvalds -- optional bundling of multiple user messages into a single SCTP 281da177e4SLinus Torvalds packet, and 291da177e4SLinus Torvalds -- network-level fault tolerance through supporting of multi- 301da177e4SLinus Torvalds homing at either or both ends of an association." 311da177e4SLinus Torvalds 321da177e4SLinus Torvalds To compile this protocol support as a module, choose M here: the 33bb33381dSDaniel Borkmann module will be called sctp. Debug messages are handeled by the 34bb33381dSDaniel Borkmann kernel's dynamic debugging framework. 351da177e4SLinus Torvalds 361da177e4SLinus Torvalds If in doubt, say N. 371da177e4SLinus Torvalds 3829e32ccdSJan Engelhardtif IP_SCTP 3929e32ccdSJan Engelhardt 40787a51a0SWei Yongjunconfig NET_SCTPPROBE 41787a51a0SWei Yongjun tristate "SCTP: Association probing" 42787a51a0SWei Yongjun depends on PROC_FS && KPROBES 43787a51a0SWei Yongjun ---help--- 44787a51a0SWei Yongjun This module allows for capturing the changes to SCTP association 45787a51a0SWei Yongjun state in response to incoming packets. It is used for debugging 46787a51a0SWei Yongjun SCTP congestion control algorithms. If you don't understand 47787a51a0SWei Yongjun what was just said, you don't need it: say N. 48787a51a0SWei Yongjun 49787a51a0SWei Yongjun To compile this code as a module, choose M here: the 50787a51a0SWei Yongjun module will be called sctp_probe. 51787a51a0SWei Yongjun 521da177e4SLinus Torvaldsconfig SCTP_DBG_OBJCNT 531da177e4SLinus Torvalds bool "SCTP: Debug object counts" 54c4e85f82SFlorian Westphal depends on PROC_FS 551da177e4SLinus Torvalds help 561da177e4SLinus Torvalds If you say Y, this will enable debugging support for counting the 571da177e4SLinus Torvalds type of objects that are currently allocated. This is useful for 58c4e85f82SFlorian Westphal identifying memory leaks. This debug information can be viewed by 591da177e4SLinus Torvalds 'cat /proc/net/sctp/sctp_dbg_objcnt' 601da177e4SLinus Torvalds 611da177e4SLinus Torvalds If unsure, say N 620d0863b0SNeil Hormanchoice 630d0863b0SNeil Horman prompt "Default SCTP cookie HMAC encoding" 6436a25de2SAlex Elder default SCTP_DEFAULT_COOKIE_HMAC_MD5 650d0863b0SNeil Horman help 660d0863b0SNeil Horman This option sets the default sctp cookie hmac algorithm 670d0863b0SNeil Horman when in doubt select 'md5' 680d0863b0SNeil Horman 690d0863b0SNeil Hormanconfig SCTP_DEFAULT_COOKIE_HMAC_MD5 700d0863b0SNeil Horman bool "Enable optional MD5 hmac cookie generation" 710d0863b0SNeil Horman help 720d0863b0SNeil Horman Enable optional MD5 hmac based SCTP cookie generation 730d0863b0SNeil Horman select SCTP_COOKIE_HMAC_MD5 740d0863b0SNeil Horman 750d0863b0SNeil Hormanconfig SCTP_DEFAULT_COOKIE_HMAC_SHA1 760d0863b0SNeil Horman bool "Enable optional SHA1 hmac cookie generation" 770d0863b0SNeil Horman help 780d0863b0SNeil Horman Enable optional SHA1 hmac based SCTP cookie generation 790d0863b0SNeil Horman select SCTP_COOKIE_HMAC_SHA1 800d0863b0SNeil Horman 810d0863b0SNeil Hormanconfig SCTP_DEFAULT_COOKIE_HMAC_NONE 820d0863b0SNeil Horman bool "Use no hmac alg in SCTP cookie generation" 830d0863b0SNeil Horman help 840d0863b0SNeil Horman Use no hmac algorithm in SCTP cookie generation 850d0863b0SNeil Horman 860d0863b0SNeil Hormanendchoice 871da177e4SLinus Torvalds 883c68198eSNeil Hormanconfig SCTP_COOKIE_HMAC_MD5 893c68198eSNeil Horman bool "Enable optional MD5 hmac cookie generation" 901da177e4SLinus Torvalds help 913c68198eSNeil Horman Enable optional MD5 hmac based SCTP cookie generation 923c68198eSNeil Horman select CRYPTO_HMAC if SCTP_COOKIE_HMAC_MD5 933c68198eSNeil Horman select CRYPTO_MD5 if SCTP_COOKIE_HMAC_MD5 941da177e4SLinus Torvalds 953c68198eSNeil Hormanconfig SCTP_COOKIE_HMAC_SHA1 963c68198eSNeil Horman bool "Enable optional SHA1 hmac cookie generation" 971da177e4SLinus Torvalds help 983c68198eSNeil Horman Enable optional SHA1 hmac based SCTP cookie generation 993c68198eSNeil Horman select CRYPTO_HMAC if SCTP_COOKIE_HMAC_SHA1 1003c68198eSNeil Horman select CRYPTO_SHA1 if SCTP_COOKIE_HMAC_SHA1 1011da177e4SLinus Torvalds 1028f840e47SXin Longconfig INET_SCTP_DIAG 1038f840e47SXin Long depends on INET_DIAG 1048f840e47SXin Long def_tristate INET_DIAG 1058f840e47SXin Long 10629e32ccdSJan Engelhardt 10729e32ccdSJan Engelhardtendif # IP_SCTP 108