After opening a one-to-one sctp connection between 2 FreeBSD 8.3 units using socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP) sctp_sendmsg/sctp_recvmsg works for about 5 seconds before returning Connection Reset by Peer.
If the connection is opened, but no messages are send, the connection is closed after about 48 seconds. A call to getsockopt(SCTP_AUTOCLOSE) returns 0, which means the connection should never auto close. Also auto close should not occur on a one-to-one connection.
Could the connection reset be caused by an address event or a heartbeat interval (although both should not be happening in a one-to-one connection)?
If the connection is opened, but no messages are send, the connection is closed after about 48 seconds. A call to getsockopt(SCTP_AUTOCLOSE) returns 0, which means the connection should never auto close. Also auto close should not occur on a one-to-one connection.
Could the connection reset be caused by an address event or a heartbeat interval (although both should not be happening in a one-to-one connection)?