diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2007-10-24 17:24:26 -0400 |
---|---|---|
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | 2007-11-07 11:39:27 -0500 |
commit | 73d9c4fd1a6ec4950b2eac8135d35506bf400d6c (patch) | |
tree | b2d6fe707cdc790c9b42a2487d2892e97c6561ba /include/net/sctp | |
parent | 88799fe5ec65fad1d5cb1d4dc5d8f78edb949f1c (diff) |
SCTP: Allow ADD_IP to work with AUTH for backward compatibility.
This patch adds a tunable that will allow ADD_IP to work without
AUTH for backward compatibility. The default value is off since
the default value for ADD_IP is off as well. People who need
to use ADD-IP with older implementations take risks of connection
hijacking and should consider upgrading or turning this tunable on.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'include/net/sctp')
-rw-r--r-- | include/net/sctp/structs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 41f1039186dd..44f2672859e2 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -212,6 +212,7 @@ extern struct sctp_globals { | |||
212 | 212 | ||
213 | /* Flag to indicate if addip is enabled. */ | 213 | /* Flag to indicate if addip is enabled. */ |
214 | int addip_enable; | 214 | int addip_enable; |
215 | int addip_noauth_enable; | ||
215 | 216 | ||
216 | /* Flag to indicate if PR-SCTP is enabled. */ | 217 | /* Flag to indicate if PR-SCTP is enabled. */ |
217 | int prsctp_enable; | 218 | int prsctp_enable; |
@@ -249,6 +250,7 @@ extern struct sctp_globals { | |||
249 | #define sctp_local_addr_list (sctp_globals.local_addr_list) | 250 | #define sctp_local_addr_list (sctp_globals.local_addr_list) |
250 | #define sctp_local_addr_lock (sctp_globals.addr_list_lock) | 251 | #define sctp_local_addr_lock (sctp_globals.addr_list_lock) |
251 | #define sctp_addip_enable (sctp_globals.addip_enable) | 252 | #define sctp_addip_enable (sctp_globals.addip_enable) |
253 | #define sctp_addip_noauth (sctp_globals.addip_noauth_enable) | ||
252 | #define sctp_prsctp_enable (sctp_globals.prsctp_enable) | 254 | #define sctp_prsctp_enable (sctp_globals.prsctp_enable) |
253 | #define sctp_auth_enable (sctp_globals.auth_enable) | 255 | #define sctp_auth_enable (sctp_globals.auth_enable) |
254 | 256 | ||