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 33*bb33381dSDaniel Borkmann module will be called sctp. Debug messages are handeled by the 34*bb33381dSDaniel 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 52*bb33381dSDaniel Borkmannconfig SCTP_DBG_TSNS 53*bb33381dSDaniel Borkmann bool "SCTP: Debug transactions" 541da177e4SLinus Torvalds help 55*bb33381dSDaniel Borkmann If you say Y, this will enable transaction debugging, visible 56*bb33381dSDaniel Borkmann from the kernel's dynamic debugging framework. 571da177e4SLinus Torvalds 581da177e4SLinus Torvalds If unsure, say N. However, if you are running into problems, use 59*bb33381dSDaniel Borkmann this option to gather outqueue trace information. 601da177e4SLinus Torvalds 611da177e4SLinus Torvaldsconfig SCTP_DBG_OBJCNT 621da177e4SLinus Torvalds bool "SCTP: Debug object counts" 63c4e85f82SFlorian Westphal depends on PROC_FS 641da177e4SLinus Torvalds help 651da177e4SLinus Torvalds If you say Y, this will enable debugging support for counting the 661da177e4SLinus Torvalds type of objects that are currently allocated. This is useful for 67c4e85f82SFlorian Westphal identifying memory leaks. This debug information can be viewed by 681da177e4SLinus Torvalds 'cat /proc/net/sctp/sctp_dbg_objcnt' 691da177e4SLinus Torvalds 701da177e4SLinus Torvalds If unsure, say N 710d0863b0SNeil Hormanchoice 720d0863b0SNeil Horman prompt "Default SCTP cookie HMAC encoding" 7336a25de2SAlex Elder default SCTP_DEFAULT_COOKIE_HMAC_MD5 740d0863b0SNeil Horman help 750d0863b0SNeil Horman This option sets the default sctp cookie hmac algorithm 760d0863b0SNeil Horman when in doubt select 'md5' 770d0863b0SNeil Horman 780d0863b0SNeil Hormanconfig SCTP_DEFAULT_COOKIE_HMAC_MD5 790d0863b0SNeil Horman bool "Enable optional MD5 hmac cookie generation" 800d0863b0SNeil Horman help 810d0863b0SNeil Horman Enable optional MD5 hmac based SCTP cookie generation 820d0863b0SNeil Horman select SCTP_COOKIE_HMAC_MD5 830d0863b0SNeil Horman 840d0863b0SNeil Hormanconfig SCTP_DEFAULT_COOKIE_HMAC_SHA1 850d0863b0SNeil Horman bool "Enable optional SHA1 hmac cookie generation" 860d0863b0SNeil Horman help 870d0863b0SNeil Horman Enable optional SHA1 hmac based SCTP cookie generation 880d0863b0SNeil Horman select SCTP_COOKIE_HMAC_SHA1 890d0863b0SNeil Horman 900d0863b0SNeil Hormanconfig SCTP_DEFAULT_COOKIE_HMAC_NONE 910d0863b0SNeil Horman bool "Use no hmac alg in SCTP cookie generation" 920d0863b0SNeil Horman help 930d0863b0SNeil Horman Use no hmac algorithm in SCTP cookie generation 940d0863b0SNeil Horman 950d0863b0SNeil Hormanendchoice 961da177e4SLinus Torvalds 973c68198eSNeil Hormanconfig SCTP_COOKIE_HMAC_MD5 983c68198eSNeil Horman bool "Enable optional MD5 hmac cookie generation" 991da177e4SLinus Torvalds help 1003c68198eSNeil Horman Enable optional MD5 hmac based SCTP cookie generation 1013c68198eSNeil Horman select CRYPTO_HMAC if SCTP_COOKIE_HMAC_MD5 1023c68198eSNeil Horman select CRYPTO_MD5 if SCTP_COOKIE_HMAC_MD5 1031da177e4SLinus Torvalds 1043c68198eSNeil Hormanconfig SCTP_COOKIE_HMAC_SHA1 1053c68198eSNeil Horman bool "Enable optional SHA1 hmac cookie generation" 1061da177e4SLinus Torvalds help 1073c68198eSNeil Horman Enable optional SHA1 hmac based SCTP cookie generation 1083c68198eSNeil Horman select CRYPTO_HMAC if SCTP_COOKIE_HMAC_SHA1 1093c68198eSNeil Horman select CRYPTO_SHA1 if SCTP_COOKIE_HMAC_SHA1 1101da177e4SLinus Torvalds 11129e32ccdSJan Engelhardt 11229e32ccdSJan Engelhardtendif # IP_SCTP 113