comparison include/freeDiameter/libfdcore.h @ 1540:407e0a889c7e

SCTP ConnectPeer: sctp_bindx() to local endpoints When connecting to an SCTP peer using sctp_connectx() with local addresses configured with ListenOn, bind to the ListenOn addresses using sctp_bindx() so that the SCTP INIT only contains the configured local addresses, matching what is advertised in the CER, and disable SCTP_AUTO_ASCONF. If no local addresses are configured with ListenOn, the previous behaviour of sctp_connectx() and enable SCTP_AUTO_ASCONF is used.
author Luke Mewburn <luke@mewburn.net>
date Fri, 01 May 2020 18:20:33 +1000
parents b09f1b4c9fad
children 566bb46cc73f
comparison
equal deleted inserted replaced
1539:d25ce064c667 1540:407e0a889c7e
149 unsigned no_ip6 : 1; /* disable IPv6 */ 149 unsigned no_ip6 : 1; /* disable IPv6 */
150 unsigned no_tcp : 1; /* disable use of TCP */ 150 unsigned no_tcp : 1; /* disable use of TCP */
151 unsigned no_sctp: 1; /* disable the use of SCTP */ 151 unsigned no_sctp: 1; /* disable the use of SCTP */
152 unsigned pr_tcp : 1; /* prefer TCP over SCTP */ 152 unsigned pr_tcp : 1; /* prefer TCP over SCTP */
153 unsigned tls_alg: 1; /* TLS algorithm for initiated cnx. 0: separate port. 1: inband-security (old) */ 153 unsigned tls_alg: 1; /* TLS algorithm for initiated cnx. 0: separate port. 1: inband-security (old) */
154 unsigned no_bind: 1; /* disable client bind to cnf_endpoints if non configured (bind all) */
154 } cnf_flags; 155 } cnf_flags;
155 156
156 struct { 157 struct {
157 int tls_disabled; 158 int tls_disabled;
158 159
"Welcome to our mercurial repository"