SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] problem while testing SUA implementation


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: Michal Piliszek <Michal.Piliszek AT centertel.pl>
  • Cc: SCTP discussion <discussion AT sctp.de>, Lode Coene <Lode.Coene AT siemens.com>
  • Subject: Re: [SCTP-Discussion] problem while testing SUA implementation
  • Date: Tue Aug 29 12:12:03 2006
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi Michal,

I've CCed Lode, who wrote the sualibrary and most likely can help you. If this
is a problem in the scptlib, we'll fix it. But let Lode figure out what the
problem is. Lode, if you need help, ping me.

Best regards
Michael

On Aug 29, 2006, at 11:38 AM, Michal Piliszek wrote:

Hi there,

I've been trying to test the SUA implementation supported on sigtran.org (sualibrary-0.1.4) with the test tool given with it (./ testup ...). There seems to be a problem with the length of the message. Could anybody tell me what could be the reason of this problem (and mayby of the other small problems which occur) and give me a reasonable sollution to it?

Here is what testup prints:

Number of local sua instance to register = 1

Register SUA(& SCTP) local instance nr 1, SSN = 8

SCTP instance name = 1

Associate remote SUA(& SCTP) instance nr 1 with local SUA(& SCTP) instance nr 1

SCTP association result = 1

sctp_registerUserCallback result = 2

Let Test User Part run free!!!!

Received Communication Up indication for association 1

Status CommunicationUpNotif = 2, number of addresses used = 1

Number of input streams = 2, number of output streams = 2

sua_distribution.c:should send ASPUP

01000301 00000008

SUA message size = 8

sua_asp_mgnt.c:result ASPUP sctp send = 0

Received a Network status change notification from SCTP for association 1

Received a Data notification from SCTP for association 1 : handle and distribute

01000602 00000004 00000001

SUA message size = 12

Error position = 4

Decoding : Invalid message length

Decoding error in received SUA message : Decoding : Invalid message length, index = 4

Received indication that communication with remote peer was lost for association 1

Status CommunicationLostNotif = 1

ASP down for SUA association 1

Received Communication Up indication for association 2

Status CommunicationUpNotif = 1, number of addresses used = 1

Number of input streams = 2, number of output streams = 2

association 2 is not present

SCTP association 2 result = 0

number of asoc = 1

same number of addresses

found same ip address

Associate remote SUA(& SCTP) instance nr 2 with local SUA(& SCTP) instance nr 1

sua_distribution.c:should send ASPUP

01000301 00000008

SUA message size = 8

sua_asp_mgnt.c:result ASPUP sctp send = 0

Received a Network status change notification from SCTP for association 2

Received a Data notification from SCTP for association 2 : handle and distribute

01000602 00000004 00000001

.... and so on...





Archive powered by MHonArc 2.6.19+.

Top of page